This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author arnoldp
Recipients arnoldp
Date 2010-08-09.05:51:23
SpamBayes Score 1.62366e-10
Marked as misclassified No
Message-id <>
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/", 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:26arnoldpsetrecipients: + arnoldp
2010-08-09 05:51:26arnoldpsetmessageid: <>
2010-08-09 05:51:24arnoldplinkissue9544 messages
2010-08-09 05:51:23arnoldpcreate