New submission from Ofer Schwarz: When creating kwargs to construct the ImportError, if PyDict_SetItemString fails the function returns without decref'ing the already-created locals.
---------- components: Interpreter Core files: importerrorcleanup.patch keywords: patch messages: 241052 nosy: blackfawn, gregory.p.smith priority: normal severity: normal status: open title: PyErr_SetImportError doesn't clean up on some errors type: behavior versions: Python 3.5 Added file: http://bugs.python.org/file39023/importerrorcleanup.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue23960> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com