[Python-Dev] PEP 380 (yield from a subgenerator) comments

Antoine Pitrou solipsis at pitrou.net
Sat Mar 21 13:27:46 CET 2009

Nick Coghlan <ncoghlan <at> gmail.com> writes:
> And that it formally expanded to:
> <snip 20 lines of code with multiple try/except/finally clauses and various

Do we really want to add a syntactic feature which has such a complicated
expansion? I fear it will make code using "yield from" much more difficult to
understand and audit.

More information about the Python-Dev mailing list