[issue17327] Add PyDict_GetItemSetDefault() as C-API for dict.setdefault()

Stefan Behnel report at bugs.python.org
Fri Mar 8 00:27:25 CET 2013


Stefan Behnel added the comment:

Ok (shrug), since everyone seems to agree, PyDict_SetDefault() it is. I wouldn't be surprised if the same kind of discussion lead to the original naming of dict.setdefault()...

----------
Added file: http://bugs.python.org/file29345/pydict_setitemdefault.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17327>
_______________________________________


More information about the Python-bugs-list mailing list