[issue9544] xdrlib.Packer().pack_fstring throws a TypeError when called with a str()

Benjamin Peterson report at bugs.python.org
Thu Apr 14 15:15:39 CEST 2011


Benjamin Peterson <benjamin at python.org> added the comment:

2011/4/14 Filip Gruszczyński <report at bugs.python.org>:
>
> Filip Gruszczyński <gruszczy at gmail.com> added the comment:
>
> I am well aware of this, Benjamin. I am not trying to force any solution, but rather trying to point out, that current documentation is misleading. There might be no need for patching the code, but rather updating the docs to say, that only bytes are allowed and that will be sufficient.

Yes, I think a doc patch is the correct thing to do.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9544>
_______________________________________


More information about the Python-bugs-list mailing list