Re: [pypy-dev] Stacklets

2011-09-28 Thread Andrew Francis
Hello Richard: From: Richard Tew richard.m@gmail.com To: Andrew Francis andrewfr_...@yahoo.com Cc: Carl Friedrich Bolz cfb...@gmx.de; pypy-dev@python.org pypy-dev@python.org Sent: Tuesday, September 27, 2011 7:57 PM Subject: Re: [pypy-dev] Stacklets Can't

Re: [pypy-dev] Stacklets

2011-09-27 Thread Andrew Francis
Hello Richard: From: Richard Tew richard.m@gmail.com To: Andrew Francis andrewfr_...@yahoo.com Cc: Armin Rigo ar...@tunes.org; pypy-dev@python.org pypy-dev@python.org Sent: Monday, September 26, 2011 7:50 PM Subject: Re: [pypy-dev] Stacklets On Tue, Sep 27

Re: [pypy-dev] Stacklets

2011-09-27 Thread Carl Friedrich Bolz
On 09/27/2011 05:03 PM, Andrew Francis wrote: Sounds like a good idea to me. As long as any new or altered features do not make it into what is labelled as an implementation of the Stackless API without also being accepted into Stackless itself. Richard, in the long run, people will use

Re: [pypy-dev] Stacklets

2011-09-27 Thread Andrew Francis
Hi Carl: From: Carl Friedrich Bolz cfb...@gmx.de To: pypy-dev@python.org Sent: Tuesday, September 27, 2011 11:15 AM Subject: Re: [pypy-dev] Stacklets Throwing a prototype out is not the same as giving the prototype a semi-official blessing by packaging

Re: [pypy-dev] Stacklets

2011-09-27 Thread Richard Tew
On Wed, Sep 28, 2011 at 2:16 AM, Andrew Francis andrewfr_...@yahoo.com wrote: At the risk of this sounding like a rant or being off-topic, it seems to me the big picture that is getting lost is that stackless.py and PyPy makes it easier for individuals to prototype new ideas for Stackless

Re: [pypy-dev] Stacklets

2011-09-26 Thread Armin Rigo
Hi, 2011/9/24 Andrew Francis andrewfr_...@yahoo.com: A suggestion. Perhaps it would be good to keep the test for whether CPython is the interpreter and greenlets ought to be used? Feel free to propose concrete improvements. As I said already, I implemented the code so far but I don't really

Re: [pypy-dev] Stacklets

2011-09-26 Thread Andrew Francis
Hi Armin: From: Armin Rigo ar...@tunes.org To: Andrew Francis andrewfr_...@yahoo.com Cc: Александр Седов elec.lomy...@gmail.com; pypy-dev@python.org pypy-dev@python.org Sent: Monday, September 26, 2011 9:05 AM Subject: Re: [pypy-dev] Stacklets Feel free

Re: [pypy-dev] Stacklets

2011-09-26 Thread Richard Tew
On Tue, Sep 27, 2011 at 1:21 AM, Andrew Francis andrewfr_...@yahoo.com wrote: Welll the easiest thing to do is to see if import _continuation fails. And if it does fail, try to import greenlets. Also keep the old greenlet code. This is very much the way the previous stackless.py worked.

Re: [pypy-dev] Stacklets

2011-09-24 Thread Andrew Francis
Hi Armin and Folks: From: Armin Rigo ar...@tunes.org To: Александр Седов elec.lomy...@gmail.com Cc: pypy-dev@python.org Sent: Friday, September 23, 2011 4:38 PM Subject: Re: [pypy-dev] Stacklets Thanks!  Work in this direction is already well advanced.  More

Re: [pypy-dev] Stacklets

2011-09-01 Thread Armin Rigo
Hi, The stacklet branch has been merged now. The _continuation module is available on all PyPys with or without the JIT on x86 and x86-64 since a few days, and it will of course be part of release 1.6.1. There is an almost-complete wrapper greenlet.py. For documentation and current limitations