Content-Length: 280141 | pFad | https://github.com/python/cpython/pull/125111

4B [3.13] gh-125096: Don't import _pyrepl in site if PYTHON_BASIC_REPL (#125097) by vstinner · Pull Request #125111 · python/cpython · GitHub
Skip to content

[3.13] gh-125096: Don't import _pyrepl in site if PYTHON_BASIC_REPL (#125097)#125111

Merged
vstinner merged 1 commit intopython:3.13from
vstinner:site_pyrepl13
Oct 8, 2024
Merged

[3.13] gh-125096: Don't import _pyrepl in site if PYTHON_BASIC_REPL (#125097)#125111
vstinner merged 1 commit intopython:3.13from
vstinner:site_pyrepl13

Conversation

@vstinner
Copy link
Member

@vstinner vstinner commented Oct 8, 2024

If the PYTHON_BASIC_REPL environment variable is set, the site module no longer imports the _pyrepl module.

Moreover, the site module now respects -E and -I command line options: ignore PYTHON_BASIC_REPL in this case.

(cherry picked from commit 65ce228)

…ython#125097)

If the PYTHON_BASIC_REPL environment variable is set, the site module
no longer imports the _pyrepl module.

Moreover, the site module now respects -E and -I command line
options: ignore PYTHON_BASIC_REPL in this case.

(cherry picked from commit 65ce228)
@vstinner vstinner enabled auto-merge (squash) October 8, 2024 13:50
@bedevere-app bedevere-app bot added the topic-repl Related to the interactive shell label Oct 8, 2024
@vstinner vstinner merged commit 5df6a75 into python:3.13 Oct 8, 2024
@vstinner vstinner deleted the site_pyrepl13 branch October 8, 2024 14:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

topic-repl Related to the interactive shell

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant









ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/python/cpython/pull/125111

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy