Message102991
Looks like the python version of StringIO can write tuples, but not the C version. I am not sure this is intended:
>>> from cStringIO import StringIO as cStringIO
>>> from StringIO import StringIO as StringIO
>>> string = StringIO()
>>> string.write(('my', 'tuple'))
>>> cstring = cStringIO()
>>> cstring.write(('my', 'tuple'))
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: write() argument 1 must be string or read-only character buffer, not tuple |
|
Date |
User |
Action |
Args |
2010-04-12 23:56:53 | tarek | set | recipients:
+ tarek |
2010-04-12 23:56:53 | tarek | set | messageid: <1271116613.01.0.381000084861.issue8382@psf.upfronthosting.co.za> |
2010-04-12 23:56:51 | tarek | link | issue8382 messages |
2010-04-12 23:56:51 | tarek | create | |
|