summaryrefslogtreecommitdiffstats
path: root/Lib/codeop.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix typo fix.Walter Dörwald2003-11-201-4/+4
|
* Fix typos.Walter Dörwald2003-11-191-4/+4
|
* Don't replace an empty line with "pass" when symbol == "eval", whereGuido van Rossum2003-05-161-1/+2
| | | | | "pass" isn't valid syntax. Reported by Samuele Pedroni on python-dev (May 12, 2003).
* - Finally fixed the bug in compile() and exec where a string endingGuido van Rossum2003-02-131-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.)
* A fiddled version of the rest of Michael Hudson's SF patchTim Peters2001-08-171-36/+122
| | | | | #449043 supporting __future__ in simulated shells which implements PEP 264.
* Remove useless imports, as reported by PyChecker.Tim Peters2001-04-081-3/+0
|
* String method conversion.Eric S. Raymond2001-02-091-3/+2
|
* added __all__ lists to a number of Python modulesSkip Montanaro2001-01-201-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.
* Moved compile_command() here from code.py, so JPython can provide itsGuido van Rossum1998-10-221-0/+86
own version.