Message266311
| 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:48 | leewz | set | recipients: + leewz, docs@python |
| 2016-05-25 06:42:47 | leewz | set | messageid: <1464158567.97.0.0204496298527.issue27119@psf.upfronthosting.co.za> |
| 2016-05-25 06:42:47 | leewz | link | issue27119 messages |
| 2016-05-25 06:42:47 | leewz | create | |