On Wed, Dec 4, 2013 at 11:15 AM, Hans-Peter Jansen <h...@urpla.net> wrote:
> Given the amount of special unicode handling code, that is necessary to keep
> Python 2 happy, makes proceeding with it no real fun on a longer term..
>
> And the biggest proponent for hacking in Python IS the fun part of it. Then
> productivity, elegance, ..., you name it.

Yeah. I think Py2 is improved significantly by turning it as much as
possible into Py3 (which means, in this case, unicode_literals and
then basically working everywhere with Unicode), but of course, that
sometimes just moves the breakage - as you found here, with repr()
insisting on returning a str. The breakage created by Py3 is so worth
taking, it's just a matter of when you move.

ChrisA
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to