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

Jacek Furmankiewicz jacek99 at gmail.com
Fri Sep 30 12:30:01 EDT 2011


Is there an option to separate the Twisted core (i.e. the part everyone runs
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?

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 PyPy
> binary distributions are broken, missing all of the header files for
> cpyext.
>
> 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.
>
> https://bugs.pypy.org/issue889
> >[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 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.
>
> Jean-Paul
>
> _______________________________________________
> Twisted-web mailing list
> Twisted-web at twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://twistedmatrix.com/pipermail/twisted-web/attachments/20110930/3891c6b0/attachment.htm 


More information about the Twisted-web mailing list