[Python-Dev] Backporting PEP 414

Vinay Sajip vinay_sajip at yahoo.co.uk
Wed Feb 29 01:22:02 CET 2012


Nick Coghlan <ncoghlan <at> gmail.com> writes:

> Also, I think there may be some confusion about Armin's plan to handle
> 3.2 - he aims to write an *import hook* that accepts the u/U prefixes
> during tokenisation, not a source-to-source transform like 2to3. It's

I must confess, I thought it was a source-to-source transform, because he called
it an installation-time hook (which of course makes you think of 2to3) and not
an import hook. That will have a much better chance of acceptable performance,
since it'll only touch changed stuff automatically.

I feel better about the prospects for 3.2 support :-)

Regards,

Vinay Sajip



More information about the Python-Dev mailing list