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 <rep...@bugs.python.org> <http://bugs.python.org/issue17327> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com