[Python-ideas] Making it easy to prepare for PEP479

Greg Ewing greg.ewing at canterbury.ac.nz
Mon May 18 14:07:55 CEST 2015


Chris Angelico wrote:
> However, it ought to be possible to simply run your tests with
> generator_stop active, even if that means using exec instead of
> regular imports.

Would it be possible for site.py to monkey-patch
something into the __future__ module, to make
importing it a no-op?

-- 
Greg


More information about the Python-ideas mailing list