[Python-Dev] Changing the Division Operator -- PEP 238, rev 1.12

Guido van Rossum guido@zope.com
Mon, 30 Jul 2001 16:15:09 -0400

> > Does codeop currently work in Jython?  The solution should continue to
> > work in Jython then. 
> We have our interface compatible version of codeop that works.

Ah, good.

> > Does Jython support the same flag bit values as
> > CPython?  If not, Paul Prescod's suggestion to use keyword arguments
> > becomes very relevant.
> we support a subset of the co_flags, CO_NESTED e.g. is there with the same
> value.


> But the embedding API is very different, my implementation of nested
> scopes does not define any Py_CF... flags, we have an internal CompilerFlags
> object but is more similar to PyFutureFeatures ...

That's fine.  We may end up rearchitecting that (rather baroque IMO)
part of the CPython compiler anyway -- if we can get away with
changing the C API.

--Guido van Rossum (home page: http://www.python.org/~guido/)