from __future__ import ... within an RExec?
Michael Hudson
mwh at python.net
Mon Aug 19 06:02:41 EDT 2002
jepler at unpythonic.net writes:
> I'm not sure how to track the flags value you should pass to
> compile,
Read PEP 264.
> and it's a pain to wrap with compile(), but this shows it's
> possible to do what you want.
If you can leverage code.py and codeop.py in the standard library,
your life will be easier. Not sure they apply here, though.
Cheers,
M.
--
Not only does the English Language borrow words from other
languages, it sometimes chases them down dark alleys, hits
them over the head, and goes through their pockets. -- Eddy Peters
More information about the Python-list
mailing list