-
-
Notifications
You must be signed in to change notification settings - Fork 31.9k
gh-87115: catch exception #106501
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
gh-87115: catch exception #106501
Conversation
DrStrangepork
commented
Jul 7, 2023
•
edited by bedevere-bot
Loading
edited by bedevere-bot
- catch BaseException
- minor linting
- Issue: pdb & multiprocessing.Pool: AttributeError: module '__main__' has no attribute '__spec__' #87115
Most changes to Python require a NEWS entry. Please add it using the blurb_it web app or the blurb command-line tool. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do we need to catch BaseException? Can we just another try: except AttributeError
around specifically the __spec__
attribute access?
I can change it, but that leaves the issue for every other error type. |
What is the status of this pull request? Is anything else required of me? |
The accepted fix is #116141: |