Message7965
The codeop.Compile class doesn't expose the compiler flags
as expected (as a "flags" attribute). The flags seem to be
properly implemented in the com.python.core.CompilerFlags
class, but aren't exposed -- they're exposed as _cflags, but
this is a instance of org.python.core.CompilerFlags.
For instance, IPython tries to enable the PyCF_ONLY_AST flag
for it's caching compiler subclass by or-ing it to an expected
`flags` attribute.
The bit values of the constants implemented in com.python.core.CompilerFlags seem to match the CPython
implementation at a first glance. |
|
Date |
User |
Action |
Args |
2013-03-23 12:08:44 | seletz | set | recipients:
+ seletz |
2013-03-23 12:08:44 | seletz | set | messageid: <1364040524.44.0.0759019752016.issue2029@psf.upfronthosting.co.za> |
2013-03-23 12:08:44 | seletz | link | issue2029 messages |
2013-03-23 12:08:44 | seletz | create | |
|