Re: [Python-Dev] int()'s ValueError behaviour

2006-04-09 Thread M.-A. Lemburg
Guido van Rossum wrote: > Go ahead and fix it. This was probably never changed since 1990 or > so... Do expect some code brakage where people rely on the old > behavior. :-( > > --Guido > > On 4/9/06, Thomas Wouters <[EMAIL PROTECTED]> wrote: >> Someone on IRC (who refuses to report bugs on sourc

Re: [Python-Dev] int()'s ValueError behaviour

2006-04-09 Thread Guido van Rossum
Go ahead and fix it. This was probably never changed since 1990 or so... Do expect some code brakage where people rely on the old behavior. :-( --Guido On 4/9/06, Thomas Wouters <[EMAIL PROTECTED]> wrote: > > Someone on IRC (who refuses to report bugs on sourceforge, so I guess he > wants to rema

[Python-Dev] int()'s ValueError behaviour

2006-04-09 Thread Thomas Wouters
Someone on IRC (who refuses to report bugs on sourceforge, so I guess he wants to remain anonymous) came with this very amusing bug: int(), when raising ValueError, doesn't quote (or repr(), rather) its arguments: >>> int("")Traceback (most recent call last):  File "", line 1, in ?ValueError: inval