[pypy-dev] Needs some guidance in writing the kqueue part of select

Leonardo Santagada santagada at gmail.com
Sun Nov 21 00:54:32 CET 2010


here is the latest version of the code http://paste.pocoo.org/show/294079/

Things apear to be working except that when I run the tests
http://paste.pocoo.org/show/294087/ the kevent one fails. Supposedly
it should give me back the event setting kevent.data to how much you
can read on the file and it is returning 0 to me.

Maybe I did something dumb while declaring kevent_array or in
kevent_struct, but I'm kind of lost. Python 3.1 show the expected
behavior (of course, using its much more high level interface).

Any tips?


-- 
Leonardo Santagada



More information about the Pypy-dev mailing list