Tin mới

Fix documentation in code.py (GH-17988)
bpo-30166: Import command-line parsing modules only when needed. (#1293)

Issue #27573 make the exit message configurable.

Issue27573 code.interact prints a message when exiting.
#17442: Add chained traceback support to InteractiveInterpreter.
Issue #21966: Respect -q command-line option when code module is ran.
Closes #17730: in code.interact(), when banner="", do not print anything.
Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a)
Issue #18200: Update the stdlib (except tests) to use
Issue #12643: Respect sys.excepthook in code.InteractiveConsole
Fix issue #1707. When raw_input() was removed, it was incorrectly replaced
Merged revisions 56492-56752 via svnmerge from
Kill off softspace completely (except in formatter.py which seems to have
Fix most trivially-findable print statements.
Patch #1550800: make exec a function.
Get rid of a bunch more raw_input references
- Finally fixed the bug in compile() and exec where a string ending
Convert a pile of obvious "yes/no" functions to return bool.

make default banner match what the real interpreter displays

remove unqualified excepts - catch ImportError when trying to import
softspace(): be prepared to catch AttributeError as well as TypeError
A fiddled version of the rest of Michael Hudson's SF patch
InteractiveInterpreter.showsyntaxerror():
added __all__ lists to a number of Python modules
mwh@sourceforge found that UnicodeError can be raised by compiling.
Make the copyright message the same as for the "real" interpreter.
SF Patch #103227 by mwh: make code.py appreciate softspace
Make Traceback header conform to new traceback ("innermost last" ->
Simple changes by Gerrit Holl - move author acknowledgements out of
Moved compile_command() to a file of its own (codeop.py).
Rename 'locals' argument to top-level interact() function to 'local'
Reworked it quite a bit. There are now two classes: a base class,