[Python-Dev] Proposal: from __future__ import unicode_string_literals

"Martin v. Löwis" martin at v.loewis.de
Mon Mar 24 17:45:13 CET 2008


> For example, if I'm using the (real source) py2.6 code, and I create a
> patch that works for me, it is ready for testing and submission.  If
> I'm using the (generated) py3 code, then I first have to get a copy of
> the (source) 2.6, figure out how I *would* have written it there, then
> keep tweaking it so that the generator eventually puts out ... what I
> had originally written by hand.

Yes, that's tedious. In that case, it is easier to edit the original
source, and then rerun 2to3, rather than editing the compiler output.

Regards,
Martin


More information about the Python-Dev mailing list