cpython/Lib/compiler
Jeremy Hylton accb62b28e SF patch [ 597919 ] compiler package and SET_LINENO
A variety of changes from Michael Hudson to get the compiler working
with 2.3.  The primary change is the handling of SET_LINENO:

# The set_lineno() function and the explicit emit() calls for
# SET_LINENO below are only used to generate the line number table.
# As of Python 2.3, the interpreter does not have a SET_LINENO
# instruction.  pyassem treats SET_LINENO opcodes as a special case.

A few other small changes:
 - Remove unused code from pycodegen and pyassem.
 - Fix error handling in parsermodule.  When PyParser_SimplerParseString()
   fails, it sets an exception with detailed info.  The parsermodule
   was clobbering that exception and replacing it was a generic
   "could not parse string" exception.  Keep the original exception.
2002-12-31 18:17:44 +00:00
..
__init__.py
ast.py Patch #521714: fix pychecker warnings in ast.py. 2002-02-23 22:35:33 +00:00
consts.py
future.py
misc.py
pyassem.py SF patch [ 597919 ] compiler package and SET_LINENO 2002-12-31 18:17:44 +00:00
pycodegen.py SF patch [ 597919 ] compiler package and SET_LINENO 2002-12-31 18:17:44 +00:00
symbols.py SF patch [ 597919 ] compiler package and SET_LINENO 2002-12-31 18:17:44 +00:00
syntax.py
transformer.py SF patch [ 597919 ] compiler package and SET_LINENO 2002-12-31 18:17:44 +00:00
visitor.py Remove more out-of-date comments and clarify explanation of visit(). 2002-04-18 16:26:40 +00:00