Message7958

Author santa4nt
Recipients amak, fwierzbicki, santa4nt
Date 2013-03-22.17:10:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1363972255.79.0.185374281159.issue1862@psf.upfronthosting.co.za>
In-reply-to
Content
Note, though, that with my patch it brings Jython behavior in line with Python behavior, for 2.7.x, warts and all:

Jython 2.7b1+ (default:5554cdeb2854+, Mar 22 2013, 10:09:56) 
[Java HotSpot(TM) 64-Bit Server VM (Oracle Corporation)] on java1.7.0_17
Type "help", "copyright", "credits" or "license" for more information.
>>> import array
>>> from cStringIO import StringIO
>>> a = array.array('B', [1,2,3])
>>> StringIO(a).getvalue()
'\x01\x02\x03'
>>> from StringIO import StringIO
>>> StringIO(a).getvalue()
"array('B', [1, 2, 3])"
>>>
History
Date User Action Args
2013-03-22 17:10:55santa4ntsetmessageid: <1363972255.79.0.185374281159.issue1862@psf.upfronthosting.co.za>
2013-03-22 17:10:55santa4ntsetrecipients: + santa4nt, fwierzbicki, amak
2013-03-22 17:10:55santa4ntlinkissue1862 messages
2013-03-22 17:10:55santa4ntcreate