Serhiy Storchaka added the comment: > PyObject_CallMethodObjArgs takes a PyObject*, mustn't that be non-const for > reference counting to work?
Then refcounts.dat wrong. > PyDict_GetItemString already has const, just not in refcounts.dat. Fixed. There are a lot of char* arguments in refcounts.dat. If refcounts.dat differs from actual function signature, this is a bug, and fix must be applied to other versions too. If they conform, perhaps this argument can be enhanced to "const char*" in 3.4. Therefore two issues are needed, one for the new feature, and one for the bugfixing. ---------- _______________________________________ 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