[issue5910] kqueue for more than one event is broken.

2009-05-02 Thread Erik Gorset

New submission from Erik Gorset :

The kqueue code doesn't increment the index when building the changelist.

The patch should work for both py26 and py30.

--
components: Extension Modules
files: kqueue.patch
keywords: patch
messages: 86984
nosy: Erik Gorset
severity: normal
status: open
title: kqueue for more than one event is broken.
type: behavior
versions: Python 2.6, Python 2.7, Python 3.0, Python 3.1
Added file: http://bugs.python.org/file13844/kqueue.patch

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



[issue1657] [patch] epoll and kqueue wrappers for the select module

2009-06-21 Thread Erik Gorset

Erik Gorset  added the comment:

The kqueue implementation is not working. It has a silly bug:

-   chl[i] = ((kqueue_event_Object *)ei)->e;
+   chl[i++] = ((kqueue_event_Object *)ei)->e;

I've created issue 5910 and included a patch, which also adds another test 
case. Anything else I need to do to get the patch accepted?

------
nosy: +Erik Gorset

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