[Python-Dev] Re: [Stackless] comments on PEP 219
Gordon McMillan
gmcm at hypernet.com
Wed Mar 14 04:25:03 CET 2001
> >>>>> "Gordon" == Gordon McMillan <gmcm at 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__?
In the absence of making them interpreter-recursion free, yes.
> Is this the semantic difference between Stackless
> and CPython that people are getting all in a lather about?
What semantic difference? You can't transfer control to a
coroutine / urthread in a magic method in CPython, either
<wink>.
- Gordon
_______________________________________________
Stackless mailing list
Stackless at starship.python.net
http://starship.python.net/mailman/listinfo/stackless
More information about the Stackless
mailing list