[issue14177] marshal.loads accepts unicode strings

guilherme-pg report at bugs.python.org
Sat Mar 3 02:19:00 CET 2012

guilherme-pg <guilherme.p.gonc at gmail.com> added the comment:

Oops, sorry, that was unintended.

I uploaded a new version of the patch with the correct documentation update, making it explicit that loads() expects a bytes object.

Added file: http://bugs.python.org/file24717/14177-marshal-loads-deny-strings-2.patch

Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list