[Solved] Python 2.7 – clean syntax for lvalue modification

I feel like we’ve given the search for pre-existing solutions its due diligence. Given that “<=” is assignment in some languages (e.g., Verilog) we can quite intuitively introduce: value_struct_instance<<=’field’, value as the Pythonic form of value_struct_instance.field = value Here is an updated example for instructive purposes: # Python doesn’t support copy-on-assignment, so we must use … Read more