Serhiy Storchaka added the comment: And here is a patch which replaces "Py_XDECREF(identifier); identifier = NULL;" to "Py_CLEAR(identifier);" (10 replaces in 7 files). It doesn't fix any bug (unless identifier is global variable), but makes a code a little cleaner. Compilers should generate equivalent code for both writing. It would be good to commit it too.
---------- Added file: http://bugs.python.org/file33799/py_xdecref_clear-3.4.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue20437> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com