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.

Author leewz
Recipients docs@python, leewz
Date 2016-05-25.06:42:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1464158567.97.0.0204496298527.issue27119@psf.upfronthosting.co.za>
In-reply-to
Content
From `compile`'s doc:
    "Compile the source into a code or AST object."

The docs don't say how to compile into an AST object with `compile`, though. As it says later:
    "If you want to parse Python code into its AST representation, see ast.parse()."

I checked 3.4-3.2, 3.0, 2.7, and 2.6. Versions before 3.4, and version 2.6, are missing the `ast.parse` line, but still have the first line.
History
Date User Action Args
2016-05-25 06:42:48leewzsetrecipients: + leewz, docs@python
2016-05-25 06:42:47leewzsetmessageid: <1464158567.97.0.0204496298527.issue27119@psf.upfronthosting.co.za>
2016-05-25 06:42:47leewzlinkissue27119 messages
2016-05-25 06:42:47leewzcreate