Re: CorePost - a tiny Flask-style REST microframework for twisted.web

[email protected]
Newsgroups gmane.comp.python.twisted.web
Message-ID <20110906142311.1808.499455706.divmod.xquotient.297@localhost.localdomain>
On 01:55 pm, [email protected] 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.

Jean-Paul
>It would allow to pit Twisted directly against node.js (and others) and 
>not
>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 
>solves
>this.
>
>Jacek
>
>On Tue, Sep 6, 2011 at 9:44 AM, Thijs Triemstra <[email protected]> 
>wrote:
>>On 09/06/2011 03:28 PM, Jacek Furmankiewicz wrote:
>> > Fortunately enough the code change was minor. The biggest challenge 
>>was
>> > 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:
>> >
>>http://stackoverflow.com/questions/5126039/how-to-install- 
>>twisted-10-2-0-with-pypy-1-4-1
>> >
>> > The solution seems pretty trivial (see last comment).
>> >
>> > Getting Twisted to install under PyPy would be a major boom. Right 
>>now
>> > all the PyPy guys have to do PYTHONPATH hacks.
>> >
>> > My initial perf tests with PyPy/Twisted were the reason I chose 
>>Twisted
>> > over let's say Node.js.
>> > I just like Python more and the inline callback support is 
>>brilliant.
>> >
>> > Is there a Twisted bug for the PyPy installation issue?
>> >
>> > Jacek
>>
>>That's ticket #5158: http://twistedmatrix.com/trac/ticket/5158
>>
>>Cheers,
>>
>>Thijs
>>
>>_______________________________________________
>>Twisted-web mailing list
>>[email protected]
>>http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.