-
-
Notifications
You must be signed in to change notification settings - Fork 30.1k
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-86291: linecache: get module name from __spec__ if available #22908
gh-86291: linecache: get module name from __spec__ if available #22908
Conversation
Hello, and thanks for your contribution! I'm a bot set up to make sure that the project can legally accept this contribution by verifying everyone involved has signed the PSF contributor agreement (CLA). Recognized GitHub usernameWe couldn't find a bugs.python.org (b.p.o) account corresponding to the following GitHub usernames: This might be simply due to a missing "GitHub Name" entry in one's b.p.o account settings. This is necessary for legal reasons before we can look at this contribution. Please follow the steps outlined in the CPython devguide to rectify this issue. You can check yourself to see if the CLA has been received. Thanks again for the contribution, we look forward to reviewing it! |
This PR is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 5 days |
43f2aec
to
d5ada2d
Compare
Resolved conflicts with the latest master. |
d5ada2d
to
883b65d
Compare
f82077b
to
96fcdf3
Compare
This allows getting source code for the __main__ module when a custom loader is used.
96fcdf3
to
15a4344
Compare
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.
LGTM.
Thanks @eltoder for the PR, and @serhiy-storchaka for merging it 🌮🎉.. I'm working now to backport this PR to: 3.11, 3.12. |
…pythonGH-22908) This allows getting source code for the __main__ module when a custom loader is used. (cherry picked from commit e976bab) Co-authored-by: Eugene Toder <eltoder@users.noreply.github.com>
GH-115731 is a backport of this pull request to the 3.12 branch. |
…pythonGH-22908) This allows getting source code for the __main__ module when a custom loader is used. (cherry picked from commit e976bab) Co-authored-by: Eugene Toder <eltoder@users.noreply.github.com>
GH-115732 is a backport of this pull request to the 3.11 branch. |
…pythonGH-22908) This allows getting source code for the __main__ module when a custom loader is used.
…pythonGH-22908) This allows getting source code for the __main__ module when a custom loader is used.
This allows getting source code for the
__main__
module when a customloader is used.
https://bugs.python.org/issue42125