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 guilherme-pg
Recipients guilherme-pg, pitrou
Date 2012-03-02.23:49:00
SpamBayes Score 2.8854092e-07
Marked as misclassified No
Message-id <1330732141.95.0.345222532496.issue14177@psf.upfronthosting.co.za>
In-reply-to
Content
The attached patch attempts to solve the issue.

It makes sure marshal.loads only accepts objects conforming to the buffer protocol, updates the documentation for the method accordingly, adds a test case and updates existing test cases that rely on this issue.

Please excuse any obvious mistakes in the patch, this is my first contribution and I'll be glad to iterate until it's good.
History
Date User Action Args
2012-03-02 23:49:02guilherme-pgsetrecipients: + guilherme-pg, pitrou
2012-03-02 23:49:01guilherme-pgsetmessageid: <1330732141.95.0.345222532496.issue14177@psf.upfronthosting.co.za>
2012-03-02 23:49:01guilherme-pglinkissue14177 messages
2012-03-02 23:49:01guilherme-pgcreate