oct and hex Py3k warnings
I know Guido has opposed adding Py3k warnings to oct and hex for "practical reasons," but I would like to make the case again. future_buitlins oct and hex will give you the correct Py3k behavior, but 2to3 can't convert old hex and oct usage to the new ones. That's why is would be helpful to warn about it and encourage people to import from future_builtins. -- Cheers, Benjamin Peterson "There's no place like 127.0.0.1."
On Sat, May 17, 2008 at 5:42 PM, Benjamin Peterson
I know Guido has opposed adding Py3k warnings to oct and hex for "practical reasons," but I would like to make the case again.
future_buitlins oct and hex will give you the correct Py3k behavior, but 2to3 can't convert old hex and oct usage to the new ones. That's why is would be helpful to warn about it and encourage people to import from future_builtins.
But the difference only matters for people who are parsing the output, right? I think they'd find out soon enough. I'm still -1. -- --Guido van Rossum (home page: http://www.python.org/~guido/)
participants (2)
-
Benjamin Peterson
-
Guido van Rossum