Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32k
Open
Description
Bug report
Bug description:
Python's new REPL seems to eat exit codes and instead return 1:
¶ pythonPython 3.13.0 (main, Oct 19 2024, 04:14:02) [GCC 12.2.0] on linuxType "help", "copyright", "credits" or "license" for more information.>>> exit(42)👉 1 ¶ PYTHON_BASIC_REPL=1 pythonPython 3.13.0 (main, Oct 19 2024, 04:14:02) [GCC 12.2.0] on linuxType "help", "copyright", "credits" or "license" for more information.>>> exit(42)👉 42 ¶ python -m _pyrepl>>> exit(42)👉 42
CPython versions tested on:
3.13
Operating systems tested on:
Linux