Lars Buitinck added the comment: Oops, forgot to save changes to Doc/c-api/object.rst.
PyObject_CallMethodObjArgs takes a PyObject*, mustn't that be non-const for reference counting to work? PyDict_GetItemString already has const, just not in refcounts.dat. Fixed. ---------- Added file: http://bugs.python.org/file28656/constness.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue9369> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com