Message150337
The current docstring for compile suggests that the flags are strictly for selecting future statements. These are not the only flags.
It also suggests that the source must be source code and the result will be bytecode, which isn't quite true.
I suggest changing:
"The flags argument, if present, controls which future statements influence the compilation of the code."
to:
"The flags argument, if present, largely controls which future
statements influence the compilation of the code. (Additional
flags are documented in the AST module.)" |
|
Date |
User |
Action |
Args |
2011-12-29 17:49:23 | Jim.Jewett | set | recipients:
+ Jim.Jewett, docs@python |
2011-12-29 17:49:23 | Jim.Jewett | set | messageid: <1325180963.04.0.479072583529.issue13677@psf.upfronthosting.co.za> |
2011-12-29 17:49:22 | Jim.Jewett | link | issue13677 messages |
2011-12-29 17:49:22 | Jim.Jewett | create | |
|