Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b094ce commit c20b4d8Copy full SHA for c20b4d8
1 file changed
Modules/zipimport.c
@@ -958,8 +958,10 @@ safely_reopen_archive(ZipImporter *self)
958
}
959
Py_XDECREF(self->files); /* free the old value. */
960
self->files = files;
961
+ } else {
962
+ /* No problem, discard the new stat data. */
963
+ Py_DECREF(stat_now);
964
- Py_DECREF(stat_now);
965
} /* stat succeeded */
966
967
return fp;
0 commit comments