Message203229
- 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? |
|
Date |
User |
Action |
Args |
2013-11-17 23:21:01 | vstinner | set | recipients:
+ vstinner, serhiy.storchaka |
2013-11-17 23:21:01 | vstinner | set | messageid: <1384730461.34.0.323996209754.issue19633@psf.upfronthosting.co.za> |
2013-11-17 23:21:01 | vstinner | link | issue19633 messages |
2013-11-17 23:21:01 | vstinner | create | |
|