
Aug. 27, 2005
2:08 p.m.
Wolfgang Lipp wrote:
Just because you don't read the documentation and guessed wrong d.get() needs to be removed?!?
no, not removed... never said that.
Fair enough, you proposed to remove the behavior. Not sure how that's all that much less bad, though...
implied). the reason of being for d.get() -- to me -- is simply so you get a chance to pass a default value, which is syntactically well-nigh impossible with d['x'].
Close, but the main reason to add d.get() was to avoid the exception. The need to specify a default value followed from that. Just