Message353932
Mostly fixed by PR 16545 (see issue13153). The original example is now passed.
>>> raise Exception('\U0001f603')
Traceback (most recent call last):
File "<pyshell#1>", line 1, in <module>
raise Exception('\U0001f603')
Exception: 😃
>>>
But you can still cause a restart of the shell by using surrogate characters:
>>> raise Exception('\ud800')
Traceback (most recent call last):
File "<pyshell#0>", line 1, in <module>
raise Exception('\ud800')
Traceback (most recent call last):
File "<pyshell#0>", line 1, in <module>
raise Exception('\ud800')
================================ RESTART: Shell ================================
>>> |
|
Date |
User |
Action |
Args |
2019-10-04 12:00:21 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, terry.reedy, TheMathsGod |
2019-10-04 12:00:20 | serhiy.storchaka | set | messageid: <1570190420.99.0.258940205621.issue36698@roundup.psfhosted.org> |
2019-10-04 12:00:20 | serhiy.storchaka | link | issue36698 messages |
2019-10-04 12:00:20 | serhiy.storchaka | create | |
|