INADA Naoki added the comment: Thanks for finishing my draft patch, Victor.
callmetohd2.patch is same trick for PyObject_CallMethod* APIs in abstract.c. It fixes segv in callmethod.patch. And APIs receiving format string can do same trick when format is empty too. As I grepping "PyObject_CallMethod", there are many format=NULL callers. ---------- Added file: http://bugs.python.org/file46615/callmethod2.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue29507> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com