Message81056
> Victor, I'm not sure whether you are proposing that
> display_hook_ascii.patch is included into Python. IIUC, this patch
> breaks PEP3138, so it clearly must be rejected.
>
> Overall, I fail to see the bug in this report. Python 3.0 works as
> designed as shown here.
The idea is to avoid unicode error (by replacing not printable characters by
their code in hexadecimal) when the display hook tries to display a message
which is not printable in the terminal charset.
It's just to make Python3 interpreter a little bit more "user friendly" on
Windows.
Problem: use different (encoding) rule for the display hook and for print()
may disturb new users (Why does ">>> chr(...)" work whereas ">>>
print(chr(...))" fails?). |
|
| Date |
User |
Action |
Args |
| 2009-02-03 13:48:15 | vstinner | set | recipients:
+ vstinner, loewis, giampaolo.rodola, ezio.melotti |
| 2009-02-03 13:48:14 | vstinner | link | issue5110 messages |
| 2009-02-03 13:48:13 | vstinner | create | |
|