Author vstinner
Recipients serhiy.storchaka, vstinner
Date 2013-11-17.23:21:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1384730461.34.0.323996209754.issue19633@psf.upfronthosting.co.za>
In-reply-to
Content
-    a = array.array('h', data)
+    a = array.array('h')
+    a.frombytes(data)

I don't understand why it would change anything. According to the doc, passing data to the construction is like calling array.frombytes():
http://docs.python.org/dev/library/array.html#array.array

If it behaves differently, it looks like a bug a in the array module. Am I wrong?
History
Date User Action Args
2013-11-17 23:21:01vstinnersetrecipients: + vstinner, serhiy.storchaka
2013-11-17 23:21:01vstinnersetmessageid: <1384730461.34.0.323996209754.issue19633@psf.upfronthosting.co.za>
2013-11-17 23:21:01vstinnerlinkissue19633 messages
2013-11-17 23:21:01vstinnercreate