Commit Graph

9 Commits

Author SHA1 Message Date
Walter Dörwald 4df306879b Fix typo fix. 2003-11-20 13:38:01 +00:00
Walter Dörwald fb4d0e0cea Fix typos. 2003-11-19 13:35:49 +00:00
Guido van Rossum 993bc3a708 Don't replace an empty line with "pass" when symbol == "eval", where
"pass" isn't valid syntax.  Reported by Samuele Pedroni on python-dev
(May 12, 2003).
2003-05-16 01:24:30 +00:00
Guido van Rossum 4b499dd3fb - 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.)
2003-02-13 22:07:59 +00:00
Tim Peters 6cd6a82db9 A fiddled version of the rest of Michael Hudson's SF patch
#449043 supporting __future__ in simulated shells
which implements PEP 264.
2001-08-17 22:11:27 +00:00
Tim Peters cfc21fcf48 Remove useless imports, as reported by PyChecker. 2001-04-08 00:43:13 +00:00
Eric S. Raymond 6b71e747b1 String method conversion. 2001-02-09 08:56:30 +00:00
Skip Montanaro e99d5ea25b 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.
2001-01-20 19:54:20 +00:00
Guido van Rossum c41c1a984e Moved compile_command() here from code.py, so JPython can provide its
own version.
1998-10-22 21:56:15 +00:00