[Python-Dev] PEP 231, __findattr__()

Martin v. Loewis martin@loewis.home.cs.tu-berlin.de
Tue, 5 Dec 2000 00:13:15 +0100


> I don't think this is a good idea -- continuations and coroutines
> might mess it up.

If coroutines and continuations present operate preemptively, then
they should present themselves as an implementation of the thread API;
perhaps the thread API needs to be extended to allow for such a feature.

If yielding control is in the hands of the implementation, it would be
easy to outrule a context switch while findattr is in progress.

Regards,
Martin