New submission from Jim Fasarakis-Hilliard:
Specifically, in both Lib/async/proactor_events.py and asynchat.py there's a
comma where a % should be thereby not formatting the value correctly:
TypeError('data argument must be byte-ish (%r)', type(data))
TypeError('data argument must be byte-ish (%r)', type(data))
proposed fix is to change them to:
TypeError('data argument must be a bytes-like object, not %r' %
type(data).__name__)
TypeError('data argument must be a bytes-like object, not %r' %
type(data).__name__)
----------
components: Library (Lib)
messages: 290499
nosy: Jim Fasarakis-Hilliard
priority: normal
severity: normal
status: open
title: TypeErrors not formatting values correctly
type: behavior
versions: Python 3.7
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue29905>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com