Message206503
>>> import array
>>> array.array(u'i', [1,2,3])
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: must be char, not unicode
In this ticket #13566, Alexandre Vassalotti said:
"We should still fix array in 2.7 to accept unicode object for the typecode though."
So here is the patch to add support for ascii-unicode typecode for array.array constructor. |
|
Date |
User |
Action |
Args |
2013-12-18 09:49:56 | vajrasky | set | recipients:
+ vajrasky, alexandre.vassalotti |
2013-12-18 09:49:55 | vajrasky | set | messageid: <1387360195.98.0.786950742842.issue20014@psf.upfronthosting.co.za> |
2013-12-18 09:49:55 | vajrasky | link | issue20014 messages |
2013-12-18 09:49:55 | vajrasky | create | |
|