Patches item #1184418, was opened at 2005-04-16 17:01
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=1184418&group_id=5470

Category: None
Group: AST
Status: Open
Resolution: None
Priority: 5
Submitted By: logistix (logistix)
Assigned to: Nobody/Anonymous (nobody)
Summary: [ast] fix for 1183468: return/yield in class

Initial Comment:
I've got a patch that may or may not be acceptable.  I've 
added a 'u_flags' field to the compiler_unit structure to 
track what sort of block we are in.

This doesn't seem much different that it is in the current 
compiler, there is a boolean  field called 'isfunction' that 
checks for this.

There is a 'block_type' tracked by the symbol table 
entries, but I can't figure out how to harvest it.

Fell free to accept or reject.

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1184418&group_id=5470
_______________________________________________
Patches mailing list
[email protected]
http://mail.python.org/mailman/listinfo/patches

Reply via email to