Message113386
In Python 3.1, xdrlib.Packer().pack_fstring() throws a TypeError if called with a str() (an encoded string bytes() works just fine).
>>> xdrlib.Packer().pack_fstring(6, "foobar")
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python3.1/xdrlib.py", line 81, in pack_fstring
data = data + (n - len(data)) * b'\0'
TypeError: Can't convert 'bytes' object to str implicitly |
|
Date |
User |
Action |
Args |
2010-08-09 05:51:26 | arnoldp | set | recipients:
+ arnoldp |
2010-08-09 05:51:26 | arnoldp | set | messageid: <1281333086.43.0.820305754452.issue9544@psf.upfronthosting.co.za> |
2010-08-09 05:51:24 | arnoldp | link | issue9544 messages |
2010-08-09 05:51:23 | arnoldp | create | |
|