[Twisted-web] CorePost - a tiny Flask-style REST microframework for twisted.web

exarkun at twistedmatrix.com exarkun at twistedmatrix.com
Tue Sep 6 10:23:11 EDT 2011

On 01:55 pm, jacek99 at gmail.com wrote:
>Do you guys have any ETA on this? The discussion within the ticket 
>makes it
>seem much more complex
>than the simple fix someone suggested on StackOverflow.

The "fix" suggested on StackOverflow is to disable building all 
extension modules all the time.  I love PyPy, but degrading 
functionality on CPython isn't an acceptable resolution to this problem 
at this time.

To make progress, I suppose we can just say that we'll fix PyPy+cpyext 
for now, and worry about PyPy-cpyext later (or never).

That means updating the build configuration so we actually have 
PyPy+cpyext and verifying the issue is really resolved.  Then the branch 
can probably be merged.

>It would allow to pit Twisted directly against node.js (and others) and 
>suffer from CPython perf limitations.
>There is a lot of complaints in the node.js blogs about the type of
>spaghetti code async nested callbacks create...
>...a chance to show how elegantly Twisted inline callback support 
>On Tue, Sep 6, 2011 at 9:44 AM, Thijs Triemstra <lists at collab.nl> 
>>On 09/06/2011 03:28 PM, Jacek Furmankiewicz wrote:
>> > Fortunately enough the code change was minor. The biggest challenge 
>> > getting the decorator function and the class instance to communicate
>> > somehow...past that point it was simple.
>> >
>> > I would rather focus on my current problem (beside CorePost
>> > enhancements) of Twisted not installing under PyPy.
>> > PyPy does wonders for Twisted.
>> >
>> > Some of the issues are documented here:
>> >
>> >
>> > The solution seems pretty trivial (see last comment).
>> >
>> > Getting Twisted to install under PyPy would be a major boom. Right 
>> > all the PyPy guys have to do PYTHONPATH hacks.
>> >
>> > My initial perf tests with PyPy/Twisted were the reason I chose 
>> > over let's say Node.js.
>> > I just like Python more and the inline callback support is 
>> >
>> > Is there a Twisted bug for the PyPy installation issue?
>> >
>> > Jacek
>>That's ticket #5158: http://twistedmatrix.com/trac/ticket/5158
>>Twisted-web mailing list
>>Twisted-web at twistedmatrix.com

More information about the Twisted-web mailing list