Author vstinner
Recipients serhiy.storchaka, vstinner
Date 2013-11-17.23:21:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
-    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():

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