On Dec 2, 11:20 am, Wolodja Wentland <
[email protected]>
Yes it would be nice, but it isn't quite so simple.
To take sorted() as just one example, it was introduced in 2.4 so
arguably using it isn't valid/idiomatic for Python 2.x programs where
you care about backwards compatibility for the Python 2.x series...
Yes, which is why you could include a 2.X and people who target, say
current +/- 0.1 can choose their poison.
But my main reason for not wanting to do this is that the document is
aimed at people who want to write Python 3, not to encourage people to
stick with 2
I actually think that it is the other way round. People should get
familiar with py3 features even if they are not yet ready to
"abandon" py2 (yet). I also think that using some of the backported/supported
features might spur interest in features that are 'py3 only' and therefore
encourage the adoption of py3.
It would also be nice to have a summary of things people can do *now* if
they want to keep the changes from 2to3 to a minimum, which will be with
us for some time. But that is not something *you* have to write ..
--
.''`. Wolodja Wentland <
[email protected]>
: :' :
`. `'` 4096R/CAF14EFC
`- 081C B7CD FF04 2BA9 94EA 36B2 8B7F 7D30 CAF1 4EFC
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iQIcBAEBCAAGBQJLF5WsAAoJEIt/fTDK8U78KZUP/19HalgDZuuoG68PykQgH7MN
1+itoTurgid5Jys8o9EgJZxQE2wb3bZpFBrtGHvY17RI5nmSL8GHQ8xojQBg3gVu
syQdPdlf4uxJLK+/y+o3eJMLbuoIxLwrTXy6403voasQ+cZEMljt0WIzBmosUP9Q
RXVKASMQEJo0o5Fy/8ls5TZay6Ut7h9e25337R/PWc+8s6WkzFUszRiHuKeQDliM
gozWP2Jy/uYrsE2/7dWbHyZkT7UsaB9mA5VRDZVEsnwnl1OCo9OYMBgiaqm4zmpw
YXvSihiTMJVGU5hdczwfb+XtgomvtXm6vrWVOBIM0gF/WenbhSD50qXkxFgl+8uz
dimsopDYgdkdcEZ+reDRzfGjxnzsOy3cJoKskyJIrbSz1fBOeKtxyxq5EN1VsBw7
LRzQbfXOLylqmvHp0o44Dx9vB98qz1q3IqjWqep2WFF3qxgC7MRPirHJ1bb4umqy
k0UBwXQxLRPnDfF9jqcK+Q8psLBIm6hwmSPRpCH80BF28IPtaEXKSjSkJU0XHL7i
XDvB/jWqABru2OLRjqL+SvEimTYvHiL30/utJi+aScu8DFmhqOLx3G0SF7Itfaga
AaVbrRCb3KZqzwLKLjFQ/hXLP/l7dTDQep6WMYxRzMGrUXJ6AU8EiGUAg5k2RhPb
l+rbt6qix+XjcKPSMZt4
=OX0f
-----END PGP SIGNATURE-----