cpython/Parser
Jeremy Hylton 2f327c14eb Add lineno, col_offset to excephandler to enable future fix for
tracing/line number table in except blocks.

Reflow long lines introduced by col_offset changes.  Update test_ast
to handle new fields in excepthandler.

As note in Python.asdl says, we might want to rethink how attributes
are handled.  Perhaps they should be the same as other fields, with
the primary difference being how they are defined for all types within
a sum.

Also fix asdl_c so that constructors with int fields don't fail when
passed a zero value.
2006-04-04 04:00:23 +00:00
..
Python.asdl Add lineno, col_offset to excephandler to enable future fix for 2006-04-04 04:00:23 +00:00
acceler.c [Patch #974633] Check PyObject_MALLOC return for error 2004-06-29 14:03:04 +00:00
asdl.py Patch #1440601: Add col_offset attribute to AST nodes. 2006-03-01 22:49:05 +00:00
asdl_c.py Add lineno, col_offset to excephandler to enable future fix for 2006-04-04 04:00:23 +00:00
bitset.c REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
firstsets.c SF #1444030: Fix several potential defects found by Coverity. 2006-03-07 15:39:21 +00:00
grammar.c Fix SF bug #1072182, problems with signed characters. 2005-12-19 06:05:18 +00:00
grammar.mak Merge ast-branch to head 2005-10-20 19:59:25 +00:00
grammar1.c PyGrammar_LabelRepr(): sprintf -> PyOS_snprintf. 2001-12-04 03:36:01 +00:00
intrcheck.c Patch #975056 - fixes for restartable signals on *BSD. In addition, 2004-10-13 14:48:50 +00:00
listnode.c REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
metagrammar.c Changes from Jonathan Riehl to allow his pgen extension (PEP 269) to 2003-04-17 14:55:42 +00:00
myreadline.c In a threads-disabled build, typing Ctrl-C into a raw_input() crashed, 2005-04-07 10:11:19 +00:00
node.c Patch #1440601: Add col_offset attribute to AST nodes. 2006-03-01 22:49:05 +00:00
parser.c Patch #1440601: Add col_offset attribute to AST nodes. 2006-03-01 22:49:05 +00:00
parser.h Patch #1440601: Add col_offset attribute to AST nodes. 2006-03-01 22:49:05 +00:00
parsetok.c Patch #1440601: Add col_offset attribute to AST nodes. 2006-03-01 22:49:05 +00:00
pgen.c Revert previous checkin, the check is for <, not ==. i is unsed in non-debug builds, but is used in debug builds 2006-01-08 02:06:01 +00:00
pgenmain.c - Fix segfault with invalid coding. 2005-10-02 01:48:49 +00:00
printgrammar.c REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
spark.py Whitespace normalization. 2005-12-25 23:18:31 +00:00
tokenizer.c Years in the making. 2006-03-26 23:27:58 +00:00
tokenizer.h Patch #1440601: Add col_offset attribute to AST nodes. 2006-03-01 22:49:05 +00:00
tokenizer_pgen.c Patch #534304: Implement phase 1 of PEP 263. 2002-08-04 17:29:52 +00:00