-
-
Notifications
You must be signed in to change notification settings - Fork 30.6k
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
inspect.getfile error names module instead of passed class #81354
Comments
Currently, inspect.getfile(str) will report nonsense: >>> inspect.getfile(str)
TypeError: <module 'builtins' (built-in)> is a built-in class |
flying-sheep
mannequin
added
3.7 (EOL)
end of life
3.8 (EOL)
end of life
3.9
only security fixes
stdlib
Python modules in the Lib dir
labels
Jun 6, 2019
The correct message would be We do not backport exception message changes unless 'buggy enough'. I asked on core-mentorship whether this fix qualifies. |
I think landing the fix to 3.8 only is just fine |
Right, 3.8 not being released yet makes it different. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: