[issue36698] Shell restart when error message contains non-BMP characters

2019-10-08 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue36698] Shell restart when error message contains non-BMP characters

2019-10-08 Thread miss-islington
miss-islington added the comment: New changeset 4f962ecfa1aadc45facc250841208f6dd2ce690f by Miss Islington (bot) in branch '3.7': bpo-36698: IDLE no longer fails when write non-encodable characters to stderr. (GH-16583)

[issue36698] Shell restart when error message contains non-BMP characters

2019-10-08 Thread miss-islington
miss-islington added the comment: New changeset a1f45008f190b0d340ec0eac623f05ef98e6b4c9 by Miss Islington (bot) in branch '3.8': bpo-36698: IDLE no longer fails when write non-encodable characters to stderr. (GH-16583)

[issue36698] Shell restart when error message contains non-BMP characters

2019-10-08 Thread miss-islington
Change by miss-islington : -- pull_requests: +16232 pull_request: https://github.com/python/cpython/pull/16649 ___ Python tracker ___

[issue36698] Shell restart when error message contains non-BMP characters

2019-10-08 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset b690a2759e62d9ee0b6ea1b20e8f7e4b2cdbf8bb by Serhiy Storchaka in branch 'master': bpo-36698: IDLE no longer fails when write non-encodable characters to stderr. (GH-16583)

[issue36698] Shell restart when error message contains non-BMP characters

2019-10-08 Thread miss-islington
Change by miss-islington : -- pull_requests: +16233 pull_request: https://github.com/python/cpython/pull/16650 ___ Python tracker ___

[issue36698] Shell restart when error message contains non-BMP characters

2019-10-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: As with #22742, the problem, without PR 16583, only occurs with *nix. On Windows, the traceback ends with "Exception: �" and a prompt is printed. -- versions: +Python 3.9 ___ Python tracker

[issue36698] Shell restart when error message contains non-BMP characters

2019-10-04 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +16174 stage: -> patch review pull_request: https://github.com/python/cpython/pull/16583 ___ Python tracker

[issue36698] Shell restart when error message contains non-BMP characters

2019-10-04 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Mostly fixed by PR 16545 (see issue13153). The original example is now passed. >>> raise Exception('\U0001f603') Traceback (most recent call last): File "", line 1, in raise Exception('\U0001f603') Exception:  >>> But you can still cause a restart

[issue36698] Shell restart when error message contains non-BMP characters

2019-04-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: You are correct about reason. This is essentially a duplicate of #22742, but I am leaving it open for now because the behavior is worse and there is additional information in the tracebacks. The lines for IDLE internals are normally removed, but the

[issue36698] Shell restart when error message contains non-BMP characters

2019-04-22 Thread TheMathsGod
New submission from TheMathsGod : When attempting to raise an error with a message containing non-BMP characters (Unicode ordinals above U+0x), the python shell displays a long traceback including several UnicodeEncodeErrors and then restarts. Example: >>> raise Exception('\U0001f603')