gh-119102: Fix REPL for dumb terminal#119332
Conversation
The site module gets the __main__ module to get _pyrepl.__main__.
lysnikolaou
left a comment
There was a problem hiding this comment.
LGTM!
Sorry, something went wrong.
|
@vstinner I took a crack at it here when I noticed the first PR that had the mypy fix reverted the bug fix: #119328. Do you have a preference of approach? Happy to close that one out or try to get that test properly working in that PR and just try to get that merged in instead 🙂 |
Sorry, something went wrong.
danielhollas
left a comment
There was a problem hiding this comment.
Works for me!
Sorry, something went wrong.
|
Thanks for the review and testing! |
Sorry, something went wrong.
|
Thanks @vstinner for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13. |
Sorry, something went wrong.
The site module gets the __main__ module to get _pyrepl.__main__. (cherry picked from commit de8f530) Co-authored-by: Victor Stinner <vstinner@python.org>
The site module gets the __main__ module to get _pyrepl.__main__.
The site module gets the main module to get _pyrepl.main.