FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-119102: Fix REPL for dumb terminal by vstinner · Pull Request #119332 · python/cpython · GitHub

/ cpython Public

gh-119102: Fix REPL for dumb terminal - #119332

Merged
vstinner merged 2 commits into
python:mainfrom
vstinner:pyrepl_dumb2
May 21, 2024
Merged

gh-119102: Fix REPL for dumb terminal#119332
vstinner merged 2 commits into
python:mainfrom
vstinner:pyrepl_dumb2

Conversation

vstinner commented May 21, 2024
edited by bedevere-app Bot
Loading

Copy link
Copy Markdown
Member

The site module gets the main module to get _pyrepl.main.

The site module gets the __main__ module to get _pyrepl.__main__.
Comment thread Lib/site.py Outdated
lysnikolaou added skip news topic-repl Related to the interactive shell labels May 21, 2024

lysnikolaou left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

LGTM!

eugenetriguba commented May 21, 2024
edited
Loading

Copy link
Copy Markdown
Contributor

@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 🙂

danielhollas left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Works for me!

vstinner enabled auto-merge (squash) May 21, 2024 18:55

Copy link
Copy Markdown
Member Author

Thanks for the review and testing!

vstinner merged commit de8f530 into python:main May 21, 2024
vstinner deleted the pyrepl_dumb2 branch May 21, 2024 20:33

Copy link
Copy Markdown

Thanks @vstinner for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request May 21, 2024
The site module gets the __main__ module to get _pyrepl.__main__.
(cherry picked from commit de8f530)

Co-authored-by: Victor Stinner <vstinner@python.org>

bedevere-app Bot commented May 21, 2024

Copy link
Copy Markdown

GH-119359 is a backport of this pull request to the 3.13 branch.

bedevere-app Bot removed the needs backport to 3.13 bugs and security fixes label May 21, 2024
lysnikolaou pushed a commit that referenced this pull request May 22, 2024
The site module gets the __main__ module to get _pyrepl.__main__.
(cherry picked from commit de8f530)

Co-authored-by: Victor Stinner <vstinner@python.org>
estyxx pushed a commit to estyxx/cpython that referenced this pull request Jul 17, 2024
The site module gets the __main__ module to get _pyrepl.__main__.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip news topic-repl Related to the interactive shell

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants


Back | FazBrowse Home | New Git URL