[New-bugs-announce] [issue6744] calling kevent repr raises a TypeError
Jessica McKellar
report at bugs.python.org
Thu Aug 20 22:41:29 CEST 2009
New submission from Jessica McKellar <jessica.mckellar at gmail.com>:
kqueue_event_repr uses PyBytes_FromString when every other repr uses
PyUnicode_FromString, and this gets you a "TypeError: __repr__ returned
non-string (type bytes)". The patch swaps in PyUnicode_FromString and
adds a very simple unittest to test_kqueue.
----------
components: Extension Modules
files: kqueue-event-repr.patch
keywords: patch
messages: 91782
nosy: jesstess
severity: normal
status: open
title: calling kevent repr raises a TypeError
type: behavior
versions: Python 3.1, Python 3.2
Added file: http://bugs.python.org/file14749/kqueue-event-repr.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6744>
_______________________________________
More information about the New-bugs-announce
mailing list