History log of /external/python/cpython2/Lib/code.py
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
ccd640525b4e54a56b343f0eb9f6fbfc837d6a91 13-Nov-2009 Benjamin Peterson <benjamin@python.org> this main is much more useful
/external/python/cpython2/Lib/code.py
74022ab0130c84ca3bbe567dccffaf4cd4cb0452 07-Aug-2008 Antoine Pitrou <solipsis@pitrou.net> #1288615: Python code.interact() and non-ASCII input
/external/python/cpython2/Lib/code.py
4b499dd3fb49181efbd99f87e45ff923146cba8a 13-Feb-2003 Guido van Rossum <guido@python.org> - Finally fixed the bug in compile() and exec where a string ending
with an indented code block but no newline would raise SyntaxError.
This would have been a four-line change in parsetok.c... Except
codeop.py depends on this behavior, so a compilation flag had to be
invented that causes the tokenizer to revert to the old behavior;
this required extra changes to 2 .h files, 2 .c files, and 2 .py
files. (Fixes SF bug #501622.)
/external/python/cpython2/Lib/code.py
bc0e9108261693b6278687f4fb4709ff76c2e543 05-Apr-2002 Tim Peters <tim.peters@gmail.com> Convert a pile of obvious "yes/no" functions to return bool.
/external/python/cpython2/Lib/code.py
acb29aed679cfcf97becb3b54a993046b2eeca65 25-Mar-2002 Skip Montanaro <skip@pobox.com> make default banner match what the real interpreter displays
/external/python/cpython2/Lib/code.py
0679a73c0ec3ddf46f42b8c7d09d97730bd386cd 25-Mar-2002 Skip Montanaro <skip@pobox.com> remove unqualified excepts - catch ImportError when trying to import
readline and get rid of string exception fallback when showing syntax
errors.
see bug 411881
/external/python/cpython2/Lib/code.py
555d12f986bbf422a98e9083fae266f5ec3550a7 18-Sep-2001 Guido van Rossum <guido@python.org> softspace(): be prepared to catch AttributeError as well as TypeError
upon attempted attribute assignment. Caught by MWH, SF bug #462522.
/external/python/cpython2/Lib/code.py
6cd6a82db93fa37a13d0b5312ce6510c4d6967de 18-Aug-2001 Tim Peters <tim.peters@gmail.com> A fiddled version of the rest of Michael Hudson's SF patch
#449043 supporting __future__ in simulated shells
which implements PEP 264.
/external/python/cpython2/Lib/code.py
c7745d4b54f020e60ad3b56efd6e775d9d4873d4 03-May-2001 Fred Drake <fdrake@acm.org> InteractiveInterpreter.showsyntaxerror():
When replacing the exception object, be sure we stuff the new value
in sys.last_value (which we already did for the original value).
/external/python/cpython2/Lib/code.py
6b71e747b19c41e0665ee14eb755c924a40dd774 09-Feb-2001 Eric S. Raymond <esr@thyrsus.com> String method conversion.
/external/python/cpython2/Lib/code.py
e99d5ea25ba994491c773d9b5872332334ccd1c5 20-Jan-2001 Skip Montanaro <skip@pobox.com> added __all__ lists to a number of Python modules
added test script and expected output file as well
this closes patch 103297.
__all__ attributes will be added to other modules without first submitting
a patch, just adding the necessary line to the test script to verify
more-or-less correct implementation.
/external/python/cpython2/Lib/code.py
48450cf0a94765c010eddfbbfc5c85380e6a9a15 15-Jan-2001 Guido van Rossum <guido@python.org> mwh@sourceforge found that UnicodeError can be raised by compiling.
Its base class ValueError can be raised too, so catch that.
/external/python/cpython2/Lib/code.py
c5f15b088fd30157fb587079d47086295b7ed52b 15-Jan-2001 Guido van Rossum <guido@python.org> Make the copyright message the same as for the "real" interpreter.
/external/python/cpython2/Lib/code.py
4ec59c75e30e31e9b3e9b90f66d86d8a08a1f846 13-Jan-2001 Guido van Rossum <guido@python.org> SF Patch #103227 by mwh: make code.py appreciate softspace
/external/python/cpython2/Lib/code.py
7dd06966cb657bb690924ae4aa946114b04db7c3 27-Dec-2000 Guido van Rossum <guido@python.org> Make Traceback header conform to new traceback ("innermost last" ->
"most recent call last").
/external/python/cpython2/Lib/code.py
98d9fd3e68075ce6fe7642ed8793c1abee69edf6 28-Feb-2000 Guido van Rossum <guido@python.org> Simple changes by Gerrit Holl - move author acknowledgements out of
docstrings into comments.
/external/python/cpython2/Lib/code.py
5d42b5b74d6d9745e35c7cae13ce9147e1616784 22-Oct-1998 Guido van Rossum <guido@python.org> Moved compile_command() to a file of its own (codeop.py).
/external/python/cpython2/Lib/code.py
d90ae19b92b6172f5b1aceb34c5c18ca28144ca7 19-Oct-1998 Guido van Rossum <guido@python.org> Rename 'locals' argument to top-level interact() function to 'local'
for b/w compatibility with 1.5.1.
/external/python/cpython2/Lib/code.py
5227f0fdcd99d90acdd712f96ea5cd2d7331c53f 22-Sep-1998 Guido van Rossum <guido@python.org> Reworked it quite a bit. There are now two classes: a base class,
InteractiveInterpreter, which handles parsing and interpreter state
but doesn't know deal with buffering or prompting or input file
naming. And a derived class, InteractiveConsole, which adds buffering
and prompting and supports setting the filename once. Also tweak the
algorithm in compile_command() a bit so that input consisting of all
blank lines or comments always succeeds immediately, and note the fact
that apart from SyntaxError it can also raise OverflowError.
/external/python/cpython2/Lib/code.py
a93b848e330fca3fd04edbfdda6eae4ed5b3097d 23-Jun-1998 Guido van Rossum <guido@python.org> Subsume the interact() function in a class. This should make it
possible to use this in PythonWin, and to replace Fredrik Lundh's
PythonInterpreter class. Fredrik is credited with the class' API.
/external/python/cpython2/Lib/code.py
45e2fbc2e70ef28b1f0327207f33dab3a4e825c5 26-Mar-1998 Guido van Rossum <guido@python.org> Mass check-in after untabifying all files that need it.
/external/python/cpython2/Lib/code.py
8687164426da64ec03762c0e73daac91fba17927 14-Jan-1998 Guido van Rossum <guido@python.org> Seems I've found a way to fix this.
/external/python/cpython2/Lib/code.py
90981e0e70450bfb58f0d83d4e4d00a4a7d4d5d9 07-Oct-1997 Guido van Rossum <guido@python.org> Add Jeff Epler's interact() function. Note that it is broken.
(It should probably be withdrawn :-( )
/external/python/cpython2/Lib/code.py
1557a7314c52c5e8b5b026ec21aeaad137c9cd69 18-Jul-1997 Guido van Rossum <guido@python.org> Checking in new module code.py -- utilities dealing with code objects.
Currently, contains one function: compile_command(), which helps
determining whether a source string is complete, incomplete or in
error. This is useful when writing your own version of the Python
read-eval-print loop.
/external/python/cpython2/Lib/code.py