[Patches] [ python-Patches-850789 ] call com_set_lineno more often

SourceForge.net noreply at sourceforge.net
Fri Nov 28 10:55:48 EST 2003


Patches item #850789, was opened at 2003-11-28 15:55
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=850789&group_id=5470

Category: Parser/Compiler
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Submitted By: Michael Hudson (mwh)
Assigned to: Nobody/Anonymous (nobody)
Summary: call com_set_lineno more often

Initial Comment:
This patch makes Python/compile.c:com_node call
com_set_lineno unconditionally, and removes all the
other calls to the function, exploiting the fact that
com_set_lineno is now a noop when unnecessary.

I can't help feeling this is too easy.  What have I missed?

Resulting python passes make test, but that's not
really news.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=850789&group_id=5470



More information about the Patches mailing list