[issue6744] calling kevent repr raises a TypeError

2012-12-02 Thread Antoine Pitrou

Antoine Pitrou added the comment:

Thank you, Berker. I'm now closing the issue.

--
assignee: christian.heimes -> 
nosy: +pitrou
resolution:  -> out of date
stage:  -> committed/rejected
status: open -> closed
superseder:  -> select module - kevent ident field 64 bit issue

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue6744] calling kevent repr raises a TypeError

2012-11-25 Thread Berker Peksag

Berker Peksag added the comment:

The bug has been fixed in issue 7211.

Related changeset: http://hg.python.org/cpython/rev/f89a93a778a8#l4.63

See the output of kevent-repr-test.py(tested in 3.2.3 and 3.3.0):



I think this can be closed as out of date.

--
nosy: +berker.peksag

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue6744] calling kevent repr raises a TypeError

2009-08-25 Thread Benjamin Peterson

Changes by Benjamin Peterson :


--
assignee:  -> christian.heimes
nosy: +christian.heimes

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue6744] calling kevent repr raises a TypeError

2009-08-24 Thread Jessica McKellar

Jessica McKellar  added the comment:

Added a tiny example to generate the error, repeated here. Just:

from select import kevent

if __name__ == '__main__':
ev = kevent(1)
print(repr(ev))

--
Added file: http://bugs.python.org/file14781/kevent-repr-test.py

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue6744] calling kevent repr raises a TypeError

2009-08-20 Thread Jessica McKellar

New submission from Jessica McKellar :

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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com