[issue17327] Add PyDict_GetItemSetDefault() as C-API for dict.setdefault()
Stefan Behnel
report at bugs.python.org
Fri Mar 8 08:00:27 CET 2013
Stefan Behnel added the comment:
If you decide to refactor a well tested patch, you might want to give it another test run before committing it.
Objects/dictobject.c: In function 'dict_setdefault':
Objects/dictobject.c:2266:5: warning: passing argument 1 of 'PyDict_SetDefault' from incompatible pointer type [enabled by default]
Objects/dictobject.c:2215:1: note: expected 'struct PyObject *' but argument is of type 'struct PyDictObject *'
----------
resolution: fixed ->
status: closed -> open
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17327>
_______________________________________
More information about the Python-bugs-list
mailing list