23.11.17 16:30, Paul Moore пише: > Ok, cool. My main point still applies though - has anyone confirmed > why a function scope was considered necessary at the time of the > original implementation, but it's apparently not now? I'm pretty sure > it was a deliberate choice, not an accident. The implementation with an intermediate one-time function is just simpler. The one of purposes of Python 3 was simplifying the implementation, even at the cost of some performance penalty. I'm pretty sure the corner case with "yield" was just missed.
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