Re: [Python-Dev] oct and hex Py3k warnings

2008-05-19 Thread Guido van Rossum
On Sat, May 17, 2008 at 5:42 PM, Benjamin Peterson <[EMAIL PROTECTED]> wrote: > 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

[Python-Dev] oct and hex Py3k warnings

2008-05-17 Thread 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 a