By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
462,142 Members | 792 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 462,142 IT Pros & Developers. It's quick & easy.

Problems developing a python asynchronous interface

P: 1
Hello, everybody.

I'm developing an asynchronous interface for python on the "picoev" event-library, a tiny event library (epoll, kqueue and select).

I've created a source repository on google code here.

In the test directory you can find a test i'm doing with a webserver (very simple) to test the interface capabilities.
The server runs but doesn't work as expected: the rw_callback doesn't send back to the client any response until the TIMEOUT event (that closes the client socket).
On another request the server crashes with the following error: Exception socket.error: error(9, 'Bad file descriptor') in <refcnt 0 at 0xb77d3e9c> ignored
Segmentation fault
(i write it with PyErr_WriteUnraisable).

The methods of the Loop type are definied all in this file.

Can you help me?
I don't know what happens.
And if you are interested to help me with the project we could discuss about it and work togheter.

Thank you.
Jun 1 '10 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.