This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: compiler module loses docstrings
Type: Stage:
Components: Interpreter Core Versions:
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: georg.brandl, mwh
Priority: normal Keywords:

Created on 2006-03-02 00:52 by mwh, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg27639 - (view) Author: Michael Hudson (mwh) (Python committer) Date: 2006-03-02 00:52
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.
msg27640 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2006-07-29 09:34
Logged In: YES 
user_id=849994

The bug was transformer._doc_nodes missing or_test.
Fixed in rev. 50924, including test.
History
Date User Action Args
2022-04-11 14:56:15adminsetgithub: 42962
2006-03-02 00:52:49mwhcreate