]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
zipimporter_load_module() doesn't destroy mod on error
authorVictor Stinner <victor.stinner@haypocalc.com>
Mon, 18 Oct 2010 12:03:25 +0000 (12:03 +0000)
committerVictor Stinner <victor.stinner@haypocalc.com>
Mon, 18 Oct 2010 12:03:25 +0000 (12:03 +0000)
commit26fabe13698addebe83e1a57daa8f180c9ad8e1d
treef8b328686b188a48fdc6f9d20c5eb37b9e623f98
parent72f767e601651f3cedb169491ab3b141eb559d53
zipimporter_load_module() doesn't destroy mod on error

PyImport_AddModule() returns a borrowed reference. Don't display "import ... #
loaded from Zip ..." on error.
Modules/zipimport.c