Tian Gao
e6eb8cafca
GH-102895 Add an option local_exit in code.interact to block exit() from terminating the whole process (GH-102896)
2023-10-18 11:36:43 -07:00
Hai Shi
bb0424b122
bpo-40275: Use new test.support helper submodules in tests (GH-21451)
2020-08-03 18:47:42 +02:00
Terry Jan Reedy
5a4bbcd479
bpo-31836: Test_code_module now passes with sys.ps1, ps2 set ( #4070 )
2017-10-27 21:45:19 -04:00
Steven D'Aprano
6877ed3560
Issue #27573 make the exit message configurable.
2016-08-24 01:42:15 +10:00
Steven D'Aprano
dd51d16b48
Issue27573 code.interact prints a message when exiting.
2016-08-15 04:14:33 +10:00
Zachary Ware
38c707e7e0
Issue #21741 : Update 147 test modules to use test discovery.
...
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.
2015-04-13 15:00:43 -05:00
R David Murray
c31e6227f9
#17442 : Add chained traceback support to InteractiveInterpreter.
...
Patch by Claudiu Popa.
2014-09-29 11:25:00 -04:00
doko@ubuntu.com
15bec9cb3f
- Issue #17756 : Fix test_code test when run from the installed location.
2014-05-13 11:28:12 +02:00
Georg Brandl
fbc3c3c2be
Closes #17730 : in code.interact(), when banner="", do not print anything.
...
Also adds tests for banner printing.
2013-10-13 21:49:06 +02:00
Nick Coghlan
8bd24fe9ff
Issue #12643 : Respect sys.excepthook in code.InteractiveConsole
2012-08-20 23:02:28 +10:00