-
-
Notifications
You must be signed in to change notification settings - Fork 34.6k
The asyncio REPL reaches for PYTHONSTARTUP in isolated mode #140648
Copy link
Copy link
Closed
Labels
3.13bugs and security fixesbugs and security fixes3.14bugs and security fixesbugs and security fixes3.15pre-release feature fixes, bugs and security fixespre-release feature fixes, bugs and security fixesstdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytopic-asynciotopic-replRelated to the interactive shellRelated to the interactive shelltype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Metadata
Metadata
Assignees
Labels
3.13bugs and security fixesbugs and security fixes3.14bugs and security fixesbugs and security fixes3.15pre-release feature fixes, bugs and security fixespre-release feature fixes, bugs and security fixesstdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytopic-asynciotopic-replRelated to the interactive shellRelated to the interactive shelltype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Projects
Status
Done
Bug report
Bug description:
https://docs.python.org/3/using/cmdline.html#cmdoption-I
Current:
Expected:
$ PYTHONSTARTUP=<(echo 'print("you should not be seeing this!")') ./python -Iqm asyncio >>> import asyncio >>>CPython versions tested on:
CPython main branch
Operating systems tested on:
Linux
Linked PRs
-Iflag (isolated mode) #143045-Iflag (isolated mode) (GH-143045) #143383-Iflag (isolated mode) (GH-143045) #143384