> I do think there is some case for non rentrency and nested loop where
what you define here would block an outer loop, but most people
suggesting what you ask actually want re-entrency, which is not
possible there.
Do you mean that it's not possible to implement this at the syntax level
because we don't know until runtime if this is being call from a loop
(async calling sync code) ?
> Also Explicit is better than implicit.
I'm not sure about the limits of this statement, I'm pretty happy to call
foo.bar instead of foo.__getattribute__('bar'), but I'm still grateful for
__getattribute__ that I can override. But of course, if there were two
competing __getattribute__ implementation then the language should force me
to choose one of them explicitly.
_______________________________________________
Python-ideas mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at
https://mail.python.org/archives/list/[email protected]/message/VMU22SSWYHPM6HD5JZLS44ZSNZYYVFLL/
Code of Conduct: http://python.org/psf/codeofconduct/