Author vstinner
Recipients Kurt.Rose, vstinner
Date 2014-05-21.01:19:44
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1400635185.93.0.989642871739.issue21546@psf.upfronthosting.co.za>
In-reply-to
Content
It looks like the issue was already fixed in Python 3:

Python 3.5.0a0 (default:61d9aa8be445, May 20 2014, 16:03:51) 
>>> int('a')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ValueError: invalid literal for int() with base 10: 'a'
>>> int('\0a')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ValueError: invalid literal for int() with base 10: '\x00a'
>>> int('abc\x00def')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ValueError: invalid literal for int() with base 10: 'abc\x00def'

And the last one:

>>> int('\0')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ValueError: invalid literal for int() with base 10: '\x00'
History
Date User Action Args
2014-05-21 01:19:46vstinnersetrecipients: + vstinner, Kurt.Rose
2014-05-21 01:19:45vstinnersetmessageid: <1400635185.93.0.989642871739.issue21546@psf.upfronthosting.co.za>
2014-05-21 01:19:45vstinnerlinkissue21546 messages
2014-05-21 01:19:44vstinnercreate