Message7412

Author jeff.allen
Recipients fwierzbicki, jeff.allen, pjac, tiagoantao
Date 2012-08-18.06:20:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1345270845.07.0.112676085626.issue1959@psf.upfronthosting.co.za>
In-reply-to
Content
Duplicates fixed Issue #1927.

>dist\bin\jython
Jython 2.7.0a2+ (, Aug 1 2012, 09:01:31)
[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
>>> raw = "\x01\x02\x03\x04"
>>> raw == BytesIO(raw).read()
True
>>> raw
'\x01\x02\x03\x04'
>>> type(raw)
<type 'str'>
>>> quit()

It stemmed from confusion (mine) over str() and repr() in bytearray. Thanks for testing!
History
Date User Action Args
2012-08-18 06:20:45jeff.allensetmessageid: <1345270845.07.0.112676085626.issue1959@psf.upfronthosting.co.za>
2012-08-18 06:20:45jeff.allensetrecipients: + jeff.allen, fwierzbicki, pjac, tiagoantao
2012-08-18 06:20:44jeff.allenlinkissue1959 messages
2012-08-18 06:20:44jeff.allencreate