Message206503
| Author |
vajrasky |
| Recipients |
alexandre.vassalotti, vajrasky |
| Date |
2013年12月18日.09:49:53 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1387360195.98.0.786950742842.issue20014@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
>>> 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. |
|
History
|
|---|
| 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 |
|