New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
shelve.Shelf.__del__ throws exceptions #42527
Comments
Python calls an object's __del__ method, even if the Because of this, if there is an error while attempting Here is an example script which should reproduce the error. ===Begin test.py====l For me, the above script produces the message: Exception exceptions.AttributeError: "DbfilenameShelf I can reproduce this using either Python 2.4.1 or |
Logged In: YES Is this a bug? As exceptions in __del__ are ignored, this |
Logged In: YES Exceptions thrown in __del__ are not quite complete ignored, The bug in question results in spurious, confusing messages |
Logged In: YES Fixed in rev. 46946, 46947 (2.4). |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: