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 pitrou
Recipients pitrou
Date 2012-03-02.16:25:11
SpamBayes Score 9.97145e-06
Marked as misclassified No
Message-id <1330705512.68.0.880632816673.issue14177@psf.upfronthosting.co.za>
In-reply-to
Content
>>> marshal.loads('T')
True
>>> marshal.loads(b'T')
True

Contrast with:

>>> marshal.load(io.BytesIO(b'T'))
True
>>> marshal.load(io.StringIO('T'))
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: f.read() returned not bytes but str
History
Date User Action Args
2012-03-02 16:25:12pitrousetrecipients: + pitrou
2012-03-02 16:25:12pitrousetmessageid: <1330705512.68.0.880632816673.issue14177@psf.upfronthosting.co.za>
2012-03-02 16:25:12pitroulinkissue14177 messages
2012-03-02 16:25:11pitroucreate