[Python-Dev] [RELEASED] Python 2.7 alpha 2
regebro at gmail.com
Tue Jan 12 07:30:10 CET 2010
On Mon, Jan 11, 2010 at 23:55, Guido van Rossum <guido at python.org> wrote:
> +1 from me. (With the caveat that "time will tell" is definitely the
> ultimate answer. Plans may change unexpectedly, even though we don't
> expect them to.)
> PS. I'm surprised that Martin thinks that the -3 mode in 2.6 is not
> helpful. But I trust he has ported a lot more code to 3.x than I have
> personally. Are there other experiences?
It doesn't warn for that many of the unportable problems, but I'm not
sure it can warn for them either. It's certainly helpful, just not
very much. :) I think the biggest help was added in 2.6.2, and that's
warning for old integer division. It will also warn for modules that
aren't supported anymore, if I remember correctly, and that's often
helpful. But it won't warn for real tricky problems, like binary vs
text in strings, and I don't see how it can either.
And, I just realized, it doesn't warn for you using cmp or __cmp__
either, and 2to3 won't fix that, so it should actually warn for it.
Lennart Regebro: Python, Zope, Plone, Grok
+33 661 58 14 64
More information about the Python-Dev