Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | gh-130660: Restore sys.ps1 and sys.ps2 after code.interact (#130661) | Tian Gao | 2025-02-28 |
| | |||
* | Fix a typo in code module test (#130530) | Tian Gao | 2025-02-25 |
| | |||
* | gh-128595: Add test class helper to force no terminal colour (#128687) | Hugo van Kemenade | 2025-01-13 |
| | | | | Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com> | ||
* | gh-122478: Remove internal frames from tracebacks in REPL (GH-122528) | Serhiy Storchaka | 2024-08-07 |
| | | | | | | | | Frames of methods in code and codeop modules was show with non-default sys.excepthook. Save correct tracebacks in sys.last_traceback and update __traceback__ attribute of sys.last_value and sys.last_exc. | ||
* | gh-87320: In the code module, handle exceptions raised in sys.excepthook ↵ | CF Bolz-Tereick | 2024-07-31 |
| | | | | | | | (GH-122456) Before, the exception caused by calling non-default sys.excepthook in code.InteractiveInterpreter bubbled up to the caller, ending the REPL. | ||
* | gh-114099: Add test exclusions to support running the test suite on iOS ↵ | Russell Keith-Magee | 2024-02-05 |
| | | | | | | | | | | | | | (#114889) Add test annotations required to run the test suite on iOS (PEP 730). The majority of the change involve annotating tests that use subprocess, but are skipped on Emscripten/WASI for other reasons, and including iOS/tvOS/watchOS under the same umbrella as macOS/darwin checks. `is_apple` and `is_apple_mobile` test helpers have been added to identify *any* Apple platform, and "any Apple platform except macOS", respectively. | ||
* | GH-102895 Add an option local_exit in code.interact to block exit() from ↵ | Tian Gao | 2023-10-18 |
| | | | | terminating the whole process (GH-102896) | ||
* | bpo-40275: Use new test.support helper submodules in tests (GH-21451) | Hai Shi | 2020-08-03 |
| | |||
* | bpo-31836: Test_code_module now passes with sys.ps1, ps2 set (#4070) | Terry Jan Reedy | 2017-10-27 |
| | |||
* | Issue #27573 make the exit message configurable. | Steven D'Aprano | 2016-08-24 |
| | |||
* | Issue27573 code.interact prints a message when exiting. | Steven D'Aprano | 2016-08-15 |
| | |||
* | Issue #21741: Update 147 test modules to use test discovery. | Zachary Ware | 2015-04-13 |
| | | | | | | | I have compared output between pre- and post-patch runs of these tests to make sure there's nothing missing and nothing broken, on both Windows and Linux. The only differences I found were actually tests that were previously *not* run. | ||
* | #17442: Add chained traceback support to InteractiveInterpreter. | R David Murray | 2014-09-29 |
| | | | | Patch by Claudiu Popa. | ||
* | - Issue #17756: Fix test_code test when run from the installed location. | doko@ubuntu.com | 2014-05-13 |
| | |||
* | Closes #17730: in code.interact(), when banner="", do not print anything. | Georg Brandl | 2013-10-13 |
| | | | | Also adds tests for banner printing. | ||
* | Issue #12643: Respect sys.excepthook in code.InteractiveConsole | Nick Coghlan | 2012-08-20 |