Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Why Operators Are Useful. Parent comment
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.
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