[Python-ideas] PEP 479: Change StopIteration handling inside generators

Ethan Furman ethan at stoneleaf.us
Mon Nov 17 19:26:54 CET 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 11/17/2014 10:23 AM, Chris Angelico wrote:
> On Tue, Nov 18, 2014 at 5:17 AM, Guido van Rossum wrote:
>> 
>> In any case, as I tried to say before, redesigning the iterator protocol is most definitely out of scope here
>> (you could write a separate PEP and I'd reject it instantly).
> 
> That's a PEP I'll leave for someone else to write. :)

On the other hand, if you did write it (now), and Guido rejected it (of course), then that would mean PEP 479 is sure
to be accepted!  Third time's the charm!  ;)

- --
~Ethan~
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQIcBAEBAgAGBQJUaj3uAAoJENZ7D1rrH75NzRYP/2NcwwNOQvD71RlhJG0k0sUY
xLgjzLSCVQbR1jliF1Ej9BEZhFhd1I4lg/msjDPNBSHABPtsbrRTzZiac4x3OAEz
5L5qCB7hIaHg+gDKEbCiOl5NAZUbZL+Qs1tFdlSjeCti/YUAVE1DiD4WQ+kXHxZ4
OF9Nj5urHrGQYh//HR3RryQddihPBkM9Y40oucRwQE32jzcJacgmEvOM4aVvJHb8
2rBfl7VjpHwC2dV51R3cYpwIu2Qqk9i4kEnkB9xDtj9HQl3YT+qEyAuZWOs7v3cH
cJOjBuIxJGYF/CbjRE5/mCFegvGv4Lf2C8QSeKlqR549IPhso+qcnLvTQNdBWer0
g9L8Gsk1whUR9GQ3HGaupAkAo8rbZKM9fjvEtnPvcWAPcGZDfeFG5MEl82SCOsLS
aUl+v5u2sVozxIsY9fr8s30X2HZReaVjuJFDLCosZmi3RcqYL7O0x5+Mo4GPgsbi
YxyCYU0c0LTTk7yljweYL/oWXyUS/hAxz2VNMyAjDNw1Uy1kWwS6qAW5FcMxfdlz
I92CBx0PXPLz1hhHYsJ/YnHIJpL9+HRHHRRdJOnHOGCyb7AX6jN3ruMGYaTClrYa
G2ez3JMeu0NhTuzpFF2mjO0PXTu/HuHq3bdv44jhZS0Zn67OQmNk845bZi5U3EaW
oJTRKMM/PTZNpspQE0/n
=ZYwx
-----END PGP SIGNATURE-----


More information about the Python-ideas mailing list
  翻译: