Raymond Hettinger added the comment: +1 for PyDict_SetDefault. Any other name is confusing. ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue17327> _______________________________________