Hi again,

On Wed, 26 Feb 2020 at 14:28, Armin Rigo <armin.r...@gmail.com> wrote:
> In particular the first escaped character \Ufffff44f really should be
> two characters, '\x92O', and there is similar mangling later.  Also
> the first of the two unicodes is much shorter on CPython3.  Finally,
> the very last character is rendered as '\x39' but I have no clue why
> it is even rendered as '\x39' instead of just the ascii '9'.
>
> So yes, we have more than one bug here.

Uh, in fact time.tzname[0] == time.tzname[1] and if I print separately
time.tzname[0] and time.tzname[1] I get twice the same thing:

'Europe de l\Ufffff44fuest (heure d\Ufffff4e9t\u79c0'

But if I print the tuple, or manually (time.tzname[0], time.tzname[1])
or even (time.tzname[0], time.tzname[0]), then I see the result above
where the second item is repr'ed differently from the first one.




Armin
_______________________________________________
pypy-dev mailing list
pypy-dev@python.org
https://mail.python.org/mailman/listinfo/pypy-dev

Reply via email to