Brandt Bucher <[email protected]> added the comment:
It looks like the idiom of calling PyModule_AddObject without Py_DECREF'ing on the error condition (or even checking for it at all) has spread quite a bit since this first reported. I'm preparing a PR to fix the other call sites. ---------- nosy: +brandtbucher _______________________________________ Python tracker <[email protected]> <https://bugs.python.org/issue26868> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
