New submission from Jessica McKellar <jessica.mckel...@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 <rep...@bugs.python.org> <http://bugs.python.org/issue6744> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com