Closed doudou closed 1 year ago
The current method was modifying the object in place, which would cause the following awkward situation:
obj = from_state.something obj.bla # Now, `obj` points to State.something.bla
Which is already bad in general, but also means that any wrong code that would call a method missing could modify some unrelated default argument.
The current method was modifying the object in place, which would cause the following awkward situation:
Which is already bad in general, but also means that any wrong code that would call a method missing could modify some unrelated default argument.