[issue1973] bytes.fromhex('') raises SystemError

2008-01-30 Thread Christian Heimes
Christian Heimes added the comment: Thanks! :) Fixed in r60439 -- keywords: +patch nosy: +tiran priority: -> normal resolution: -> fixed status: open -> closed type: -> crash __ Tracker <[EMAIL PROTECTED]> __

[issue1973] bytes.fromhex('') raises SystemError

2008-01-30 Thread Antoine Pitrou
Antoine Pitrou added the comment: Here is a patch. Unittest should be covered by removing the test_bytes workaround mentioned in #1972 :) Added file: http://bugs.python.org/file9329/fromhex.patch __ Tracker <[EMAIL PROTECTED]> _

[issue1973] bytes.fromhex('') raises SystemError

2008-01-30 Thread Antoine Pitrou
New submission from Antoine Pitrou: >>> bytearray.fromhex('') bytearray(b'') >>> bytes.fromhex('') Traceback (most recent call last): File "", line 1, in SystemError: Objects/stringobject.c:3131: bad argument to internal function -- components: Interpreter Core messages: 61855 nosy: p