-
-
Notifications
You must be signed in to change notification settings - Fork 30k
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
bpo-44808: fixes test for interactive inspect getsource of a class #27571
bpo-44808: fixes test for interactive inspect getsource of a class #27571
Conversation
…t-getsource-for-class2
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.
This is a very elegant improvement. Consider making it more like the REPL by not having a __file__
attribute at all.
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
The test failure seems to be unrelated asyncio test:
|
Sorry, @akulakov and @ambv, I could not cleanly backport this to |
GH-27578 is a backport of this pull request to the 3.10 branch. |
…ythonGH-27571) Co-authored-by: Łukasz Langa <lukasz@langa.pl> (cherry picked from commit 5832597) Co-authored-by: andrei kulakov <andrei.avk@gmail.com>
Oops, we don't want a 3.9 backport actually. |
Fixes unsafe test that was added in #27171
https://bugs.python.org/issue44808