[New-bugs-announce] [issue37695] Incorrect error message for `unget_wch(bytes_object)`

Anthony Sottile report at bugs.python.org
Sat Jul 27 23:14:58 EDT 2019


New submission from Anthony Sottile <asottile at umich.edu>:

For example:

    curses.unget_wch(b'x')
TypeError: expect bytes or str of length 1, or int, got bytes

----------
components: Extension Modules
messages: 348570
nosy: Anthony Sottile
priority: normal
severity: normal
status: open
title: Incorrect error message for `unget_wch(bytes_object)`
versions: Python 3.7, Python 3.8, Python 3.9

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37695>
_______________________________________


More information about the New-bugs-announce mailing list