News for hackers. Stuff that matters.
Re:Why Operators Are Useful by raverbashing on Saturday March 16, 2019 @03:25PM (#19409670)
No. That's the absolutely worse way of solving the problem.

1) I either want them to be overridden or not. The current .update can do both, you just put the dict you don't want to override as its argument

2) finding common keys is a different problem, which can be solved in a different way

So no, throwing an exception is just completely useless and won't make any of the common cases easier

There are no comments on this comment yet.