Nick Coghlan added the comment:

Marking this as Won't Fix.

I'd suggest looking at the _ast module
(http://docs.python.org/dev/library/_ast.html) as a reference rather
than the compiler module. The maintenance on the latter has been sketchy
at best, and as you note, it is scheduled for a well earned retirement
in 3.0.

Passing _ast.PyCF_ONLY_AST as a flag to the builtin function compile()
will let you get an AST using the actual runtime compiler, so any odd
nodes you find in there are likely to be there for a reason (e.g. None
is implicitly inserted into most function namespaces due to the implied
'return None' at the end of the function).

----------
resolution:  -> wont fix
status: open -> closed

__________________________________
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue2011>
__________________________________
_______________________________________________
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to