This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Incorrect error message for `unget_wch(bytes_object)`
Type: Stage: resolved
Components: Extension Modules Versions: Python 3.9, Python 3.8, Python 3.7
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: Anthony Sottile, miss-islington, serhiy.storchaka
Priority: normal Keywords: patch

Created on 2019-07-28 03:14 by Anthony Sottile, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 14986 merged Anthony Sottile, 2019-07-28 03:21
PR 15053 merged miss-islington, 2019-07-31 12:11
PR 15061 merged miss-islington, 2019-07-31 20:24
Messages (4)
msg348570 - (view) Author: Anthony Sottile (Anthony Sottile) * Date: 2019-07-28 03:14
For example:

    curses.unget_wch(b'x')
TypeError: expect bytes or str of length 1, or int, got bytes
msg348800 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2019-07-31 12:11
New changeset c9345e382c630ddcc2b148b30954640e0e435c8a by Serhiy Storchaka (Anthony Sottile) in branch 'master':
bpo-37695: Correct unget_wch error message. (GH-14986)
https://github.com/python/cpython/commit/c9345e382c630ddcc2b148b30954640e0e435c8a
msg348825 - (view) Author: miss-islington (miss-islington) Date: 2019-07-31 20:25
New changeset 35d9c37e271c35b87d64cc7422600e573f3ee244 by Miss Islington (bot) in branch '3.7':
bpo-37695: Correct unget_wch error message. (GH-14986)
https://github.com/python/cpython/commit/35d9c37e271c35b87d64cc7422600e573f3ee244
msg348826 - (view) Author: miss-islington (miss-islington) Date: 2019-07-31 20:45
New changeset 462f07040b39b778aa782d0f62050b70416dec7b by Miss Islington (bot) in branch '3.8':
bpo-37695: Correct unget_wch error message. (GH-14986)
https://github.com/python/cpython/commit/462f07040b39b778aa782d0f62050b70416dec7b
History
Date User Action Args
2022-04-11 14:59:18adminsetgithub: 81876
2020-03-16 17:48:16Anthony Sottilesetstatus: open -> closed
resolution: fixed
stage: patch review -> resolved
2019-07-31 20:45:18miss-islingtonsetmessages: + msg348826
2019-07-31 20:25:55miss-islingtonsetnosy: + miss-islington
messages: + msg348825
2019-07-31 20:24:43miss-islingtonsetpull_requests: + pull_request14810
2019-07-31 12:11:47serhiy.storchakasetnosy: + serhiy.storchaka
messages: + msg348800
2019-07-31 12:11:40miss-islingtonsetpull_requests: + pull_request14803
2019-07-28 03:21:40Anthony Sottilesetkeywords: + patch
stage: patch review
pull_requests: + pull_request14754
2019-07-28 03:14:58Anthony Sottilecreate