summaryrefslogtreecommitdiff
path: root/Lib/codeop.py
AgeCommit message (Collapse)AuthorLines
2006-05-27Conversion of exceptions over from faked-up classes to new-style C types.Richard Jones-9/+1
2003-11-20Fix typo fix.Walter Dörwald-4/+4
2003-11-19Fix typos.Walter Dörwald-4/+4
2003-05-16Don't replace an empty line with "pass" when symbol == "eval", whereGuido van Rossum-1/+2
"pass" isn't valid syntax. Reported by Samuele Pedroni on python-dev (May 12, 2003).
2003-02-13- Finally fixed the bug in compile() and exec where a string endingGuido van Rossum-2/+7
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.)
2001-08-17A fiddled version of the rest of Michael Hudson's SF patchTim Peters-36/+122
#449043 supporting __future__ in simulated shells which implements PEP 264.
2001-04-08Remove useless imports, as reported by PyChecker.Tim Peters-3/+0
2001-02-09String method conversion.Eric S. Raymond-3/+2
2001-01-20added __all__ lists to a number of Python modulesSkip Montanaro-0/+2
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.
1998-10-22Moved compile_command() here from code.py, so JPython can provide itsGuido van Rossum-0/+86
own version.