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 rnash
Recipients rnash
Date 2017-04-30.11:12:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1493550769.45.0.572734600084.issue30216@psf.upfronthosting.co.za>
In-reply-to
Content
According to the docs this method should return a str, but it returns bytes
https://docs.python.org/3.6/library/xdrlib.html#xdrlib.Unpacker.unpack_string

I can see three options:
 a default encoding should be applied
 the documentation updated to make clear this returns bytes
 the method removed and just rely on the existing unpack_bytes which does what you'd expect (and in fact the two methods are aliases)
History
Date User Action Args
2017-04-30 11:12:49rnashsetrecipients: + rnash
2017-04-30 11:12:49rnashsetmessageid: <1493550769.45.0.572734600084.issue30216@psf.upfronthosting.co.za>
2017-04-30 11:12:49rnashlinkissue30216 messages
2017-04-30 11:12:49rnashcreate