[Python-Dev] Please reconsider PEP 479.
Greg Ewing
greg.ewing at canterbury.ac.nz
Wed Nov 26 09:30:42 CET 2014
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
More information about the Python-Dev
mailing list