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

exarkun at twistedmatrix.com exarkun at twistedmatrix.com
Fri Sep 30 12:52:32 EDT 2011

On 04:30 pm, jacek99 at gmail.com wrote:
>Is there an option to separate the Twisted core (i.e. the part everyone 
>on PyPy with the PYTHONPATH hack )
>from the part with embedded C extensions?
>At least allow a trouble-free PyPy install for the core functionality?

There isn't now.  Given what I know about distutils, it doesn't seem 
like an easy thing to implement.  If anyone has ideas about how it could 
be done, we could discuss it (or feel free to just implement it ;).

>On Fri, Sep 30, 2011 at 12:25 PM, <exarkun at twistedmatrix.com> wrote:
>>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
>> >>>blog
>> >>>entries about this together with PyPy benchmarks...so that people
>> >>>don't
>> >>>think
>> >>>Javascript / Node.js is your only option when it comes to async I/O
>> >>>web
>> >>>frameworks :-)
>> >>>
>> >>>BTW, is there any progress on getting Twisted to install under PyPy
>> >>>in
>> >>>the
>> >>>near future? I know you guys have been looking into it....
>> >>
>> >>http://twistedmatrix.com/trac/ticket/5158 is resolved now.  If there
>> >>are
>> >>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
>> >[snip]
>> >twisted/runner/portmap.c:10:20: error: Python.h: No such file or
>> >directory
>> >[snip]
>> >
>> >I have PyPy 1.6 with cpyext.
>>Notice the "Python.h" error message here.  I think that some of the 
>>binary distributions are broken, missing all of the header files for
>>I filed a ticket about this for Windows in the PyPy issue tracker 
>>I just observed the issue there.  I didn't realize it affected other
>>platforms as well.
>> >[snip]
>> >
>> >Extracting Twisted-11.0.0_r32705-py2.7-macosx-10.6-i386.egg to
>> >/opt/local/lib/pypy/site-packages
>> >error: /opt/local/lib/pypy/site-
>> >packages/Twisted-11.0.0_r32705-py2.7-macosx-10.6-i386.egg/twisted/enterprise/row.pyc:
>> >Too many open files
>> >
>> >This error is known to PyPy guys, they, however, insist that 
>> >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 
>>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.
>>Twisted-web mailing list
>>Twisted-web at twistedmatrix.com

More information about the Twisted-web mailing list