History for Lib/code.py - python/cpython · GitHub

github.com

Tin mới

Fix documentation in code.py (GH-17988)

Fix documentation in code.py (GH-17988)

bpo-30166: Import command-line parsing modules only when needed. (#1293)

bpo-30166: Import command-line parsing modules only when needed. (#1293)

Issue #27573 make the exit message configurable.

Issue #27573 make the exit message configurable.

Issue27573 code.interact prints a message when exiting.

Issue27573 code.interact prints a message when exiting.

Remaining fallout from 17911

Remaining fallout from 17911

#17442: Add chained traceback support to InteractiveInterpreter.

#17442: Add chained traceback support to InteractiveInterpreter.

Issue #21966: Respect -q command-line option when code module is ran.

Issue #21966: Respect -q command-line option when code module is ran.

Closes #17730: in code.interact(), when banner="", do not print anything.

Closes #17730: in code.interact(), when banner="", do not print anything.

Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a)

Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a)

Issue #18200: Update the stdlib (except tests) to use

Issue #18200: Update the stdlib (except tests) to use

Issue #12643: Respect sys.excepthook in code.InteractiveConsole

Issue #12643: Respect sys.excepthook in code.InteractiveConsole

Merged revisions 75264,75268,75293,75318,75391-75392,75436,75478,75971,76003,76058,76140-76141,76231,76380,76428-76429 via svnmerge from

Merged revisions 75264,75268,75293,75318,75391-75392,75436,75478,75971,76003,76058,76140-76141,76231,76380,76428-76429 via svnmerge from

Fix issue #1707. When raw_input() was removed, it was incorrectly replaced

Fix issue #1707. When raw_input() was removed, it was incorrectly replaced

Merged revisions 56492-56752 via svnmerge from

Merged revisions 56492-56752 via svnmerge from

Kill off softspace completely (except in formatter.py which seems to have

Kill off softspace completely (except in formatter.py which seems to have

Fix most trivially-findable print statements.

Fix most trivially-findable print statements.

Patch #1550800: make exec a function.

Patch #1550800: make exec a function.

Get rid of a bunch more raw_input references

Get rid of a bunch more raw_input references

- Finally fixed the bug in compile() and exec where a string ending

- Finally fixed the bug in compile() and exec where a string ending

Convert a pile of obvious "yes/no" functions to return bool.

Convert a pile of obvious "yes/no" functions to return bool.

make default banner match what the real interpreter displays

make default banner match what the real interpreter displays

remove unqualified excepts - catch ImportError when trying to import

remove unqualified excepts - catch ImportError when trying to import

softspace(): be prepared to catch AttributeError as well as TypeError

softspace(): be prepared to catch AttributeError as well as TypeError

A fiddled version of the rest of Michael Hudson's SF patch

A fiddled version of the rest of Michael Hudson's SF patch

InteractiveInterpreter.showsyntaxerror():

String method conversion.

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,