[ python-Bugs-1441397 ] compiler module loses docstrings

SourceForge.net noreply at sourceforge.net
Thu Mar 2 02:26:05 CET 2006


Bugs item #1441397, was opened at 2006-03-02 00:52
Message generated for change (Settings changed) made by mwh
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1441397&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
>Category: Parser/Compiler
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Michael Hudson (mwh)
Assigned to: Nobody/Anonymous (nobody)
Summary: compiler module loses docstrings

Initial Comment:
this is svn head:

>>> import compiler
>>> compiler.transformer.parse("'doc'")
Module(None, Stmt([Discard(Const('doc'))]))

this is 2.4:

>>> import compiler
>>> compiler.transformer.parse("'doc'")
Module('doc', Stmt([]))

I think the problem may be rooted in the parser module rather than the 
compiler module itself.

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

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


More information about the Python-bugs-list mailing list