On Sat, Apr 19, 2014 at 11:41:35AM +0000, Kristján Valur Jónsson wrote:
> Wouldn't "iterkeys" simply be an alias for "keys" and so on?
> I'm +1 on that.
No.
[steve@ando ~]$ python2.7 -c "it = {}.iterkeys(); print it is iter(it)"
True
[steve@ando ~]$ python3.3 -c "it = {}.keys(); print(it is iter(it))"
False
> It is a signigificant portion of the incompatibility, and seems like
> such a minor concession to compatibility to make.
I don't think it is a significant portion of incompatibility. Or at
least, I think that the Twisted folks (or Nick, if he wants to speak for
them) have to justify why it's significant.
--
Steven
_______________________________________________
Python-Dev mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com