Guido van Rossum wrote: > Hm, that sounds like you're either being contrarian or Chris and I have > explained it even worse than I thought. I'm not trying to be contrary, I just think the PEP could explain more clearly what you're trying to achieve. The rationale is too vague and waffly at the moment. > Currently, there are cases where list(x for x in xs if P(x)) works while > [x for x in xs if P(x)] fails (when P(x) raises StopIteration). With the > PEP, both cases will raise some exception That's a better explanation, I think. -- Greg
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