[Python-Dev] Re: [Stackless] comments on PEP 219

Christian Tismer tismer@tismer.com
Wed, 14 Mar 2001 10:19:44 +0100


Skip Montanaro wrote:
> 
> >>>>> "Gordon" == Gordon McMillan <gmcm@hypernet.com> writes:
> 
>     Gordon> No one's asking them to give up __init__. Just asking them not
>     Gordon> to transfer control from inside an __init__. There are good
>     Gordon> reasons not to transfer control to another thread from within an
>     Gordon> __init__, too.
> 
> Is this same restriction placed on all "magic" methods like __getitem__?  Is
> this the semantic difference between Stackless and CPython that people are
> getting all in a lather about?

Yes, at the moment all __xxx__ stuff.
The semantic difference is at a different location:
Normal function calls are free to switch around. That is the
big advantage over CPython, which might be called a semantic
difference.
The behavior/contraints of __xxx__ has not changed yet, here
both Pythons are exactly the same! :-)

ciao - chris

-- 
Christian Tismer             :^)   <mailto:tismer@tismer.com>
Mission Impossible 5oftware  :     Have a break! Take a ride on Python's
Kaunstr. 26                  :    *Starship* http://starship.python.net/
14163 Berlin                 :     PGP key -> http://wwwkeys.pgp.net/
PGP Fingerprint       E182 71C7 1A9D 66E9 9D15  D3CC D4D7 93E2 1FAE F6DF
     where do you want to jump today?   http://www.stackless.com/