[issue16120] Use |yield from| in stdlib

Serhiy Storchaka report at bugs.python.org
Thu Oct 4 19:08:52 CEST 2012


Serhiy Storchaka added the comment:

Personally I ran the following command:

  find -type f -name '*.py' -exec egrep -n -A1 '\bfor\b.*\bin\b' '{}' + | egrep -v 'yield +from' | egrep -B1 'yield +\w+(, *\w+)* *(#|$)'

I deliberately missed tests and lib2to3, because that's where the changes required more attention. Berker Peksag found a few missed, these changes LGTM.

----------
nosy: +storchaka

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16120>
_______________________________________


More information about the Python-bugs-list mailing list