Stefan Behnel added the comment: The problem with 'default' is that it is a reserved word in C. I changed it to "defaultobj", except for the docs page, where "default" should work. I also removed the "register" declaration from the "mp" argument because it is most likely useless and just takes up screen real estate.
---------- Added file: http://bugs.python.org/file29339/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