Raymond Hettinger <raymond.hettin...@gmail.com> added the comment:

Option 2 seems perfectly reasonable here as a way of preventing bugs (working, 
correct code wouldn't be using the existing default of None).

Option 1 is problematic because of the variance from Mutable Mapping, because 
breaking symmetry with get(), and because the change in behavior is implicit.

----------
nosy: +rhettinger

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue33385>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to