[issue44638] zipfile.ZipFile is closed when zipfile.Path is closed

Jack DeVries report at bugs.python.org
Wed Jul 14 20:43:44 EDT 2021


Jack DeVries <jdevries3133 at gmail.com> added the comment:

I'm not able to reproduce this on my machine; the script runs without any issue.

> the `TestClass` instance is being closed

What do you mean by this statement? You aren't doing anything to TestClass or its instance ("test") in this script. They remain in scope, so they will always be referenced.

----------
nosy: +jack__d

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44638>
_______________________________________


More information about the Python-bugs-list mailing list