At 12:27 PM 3/26/2009 -0700, Guido van Rossum wrote: >There is some clear low-hanging fruit for Greg's proposal >where no trampoline or helpers are needed -- but where currently >refactoring complex code containing many yield statements is >cumbersome due to the nee to write each "subroutine" call as "for x in >subroutine(): yield x" -- being able to replace this with "yield from >subroutine()" is a conceptual advantage to me that is not proportional >to the number of characters saved. Right - I don't object to the concept of "yield from" -- I'm -0 on that. What I don't like is the confusion of adding "return values" to generators, at least using the 'return' statement.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4