Message7965

Author seletz
Recipients seletz
Date 2013-03-23.12:08:44
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1364040524.44.0.0759019752016.issue2029@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2013-03-23 12:08:44seletzsetrecipients: + seletz
2013-03-23 12:08:44seletzsetmessageid: <1364040524.44.0.0759019752016.issue2029@psf.upfronthosting.co.za>
2013-03-23 12:08:44seletzlinkissue2029 messages
2013-03-23 12:08:44seletzcreate