473,396 Members | 1,754 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Problems developing a python asynchronous interface

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
0 887

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

Similar topics

2
by: Graeme Matthew | last post by:
Hi all, I have hit a serious snag ... I am writing an app server. I am happy with pythons threading etc however I am totally confused with handling large request on a socket. For example I can...
0
by: JiggaHertz | last post by:
I'm trying to build the python interface to fuse and this is my first time using python. I'm getting the following errors # python setup.py build running build running build_py running...
0
by: les | last post by:
A Python Rexx Interface is now available to allow Python scripting to access REXX libraries and utilities. See http://www.lestec.com.au for details Regards, Les
1
by: scott.manton | last post by:
I'm a new user of the Python C interface. I would like to know if it is possible to put items on a standard python Queue object in C, and pop them from Python. Does the Python/C interface...
0
by: Vladimir Sukhoy | last post by:
This Python library is created to support asynchronous I/O (Input/Output) operations. Unlike most platform-independent asynch I/O libraries, pyasynchio is simple. You do not have to know much about...
0
by: Francesc Guim Bernat | last post by:
Dear Colleagues, we developed a huge application based on Visual Studio C++ 6.0 windows forms, basically this application is one component that belongs to one distributed system, and it's...
1
by: irfanhab | last post by:
Hey guys! I am having some serious problems integrating Python and C, and it's strange. Putting it simple, Just as I include Python.h in my C programe (without any further python interfacing...
5
by: paw | last post by:
I have ran the MSI installer for Python 2.5 several times attempting to install to C: Python, however all of the files are placed in C:\ . The installer is told to only install files for me,...
1
by: saintlyav | last post by:
I recently made a python module which calls functions from a c program. I used SWIG to generate the wrapper code from an interface file, and compiled the module into a dll which i can import in...
13
cpiyush
by: cpiyush | last post by:
Hello, When I am trying to install any MySQLDB or Oracle API on python2.4, I am getting this error & the setup got aborted everytime, the error msg is:- error: The .NET Framework SDK needs to...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.