[Twisted-web] CorePost 0.0.7 - all about content types

exarkun at twistedmatrix.com exarkun at twistedmatrix.com
Fri Sep 30 12:25:44 EDT 2011

On 03:55 pm, jaroslaw.fedewicz at gmail.com wrote:
>On Sep 30, 2011, at 16:55 , exarkun at twistedmatrix.com wrote:
>>On 01:18 pm, jacek99 at gmail.com wrote:
>>>And once I reach 0.1 with all of these features, I will post some 
>>>entries about this together with PyPy benchmarks...so that people 
>>>Javascript / Node.js is your only option when it comes to async I/O 
>>>frameworks :-)
>>>BTW, is there any progress on getting Twisted to install under PyPy 
>>>near future? I know you guys have been looking into it....
>>http://twistedmatrix.com/trac/ticket/5158 is resolved now.  If there 
>>still problems with Twisted trunk at HEAD on PyPy, please let us know. :)
>There are in fact some problems.

>$ sudo pypy-c ./setup.py install
>twisted/runner/portmap.c:10:20: error: Python.h: No such file or 
>I have PyPy 1.6 with cpyext.

Notice the "Python.h" error message here.  I think that some of the PyPy 
binary distributions are broken, missing all of the header files for 

I filed a ticket about this for Windows in the PyPy issue tracker since 
I just observed the issue there.  I didn't realize it affected other 
platforms as well.

>Extracting Twisted-11.0.0_r32705-py2.7-macosx-10.6-i386.egg to 
>error: /opt/local/lib/pypy/site- 
>Too many open files
>This error is known to PyPy guys, they, however, insist that setuptools 
>are wrong and not them. Which sounds totally wrong to me, but again, 
>who am I to judge.

Another way to look at it is that they are not going to implement 
reference counting for file objects.  So whether they are wrong or not, 
the problem has to be fixed somewhere else.  Hopefully it can be fixed 
in the "distribute" project, which is supposed to be a drop-in 
replacement for setuptools, but with fewer bugs.


More information about the Twisted-web mailing list