Message7252

Author jeff.allen
Recipients alekstorm, jeff.allen
Date 2012-06-19.20:42:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1340138541.02.0.42511306705.issue1927@psf.upfronthosting.co.za>
In-reply-to
Content
This is because I implemented bytearray.__repr__ and __str__ incorrectly, and been noticed elsewhere (although test_bytes.py does not catch it.)

Thanks for the simple example. In my workspace right now I get:

>dist\bin\jython
Jython 2.7.0a2+ (, Jun 19 2012, 21:25:53)
[Java HotSpot(TM) 64-Bit Server VM (Sun Microsystems Inc.)] on java1.6.0_26
Type "help", "copyright", "credits" or "license" for more information.
>>> from io import BytesIO
>>> BytesIO('abc').getvalue()
'abc'
>>>

I expect to submit a fix this evening.
History
Date User Action Args
2012-06-19 20:42:21jeff.allensetmessageid: <1340138541.02.0.42511306705.issue1927@psf.upfronthosting.co.za>
2012-06-19 20:42:21jeff.allensetrecipients: + jeff.allen, alekstorm
2012-06-19 20:42:20jeff.allenlinkissue1927 messages
2012-06-19 20:42:19jeff.allencreate