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 vajrasky
Recipients larry, nadeem.vawda, vajrasky
Date 2014-01-15.10:51:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1389783074.37.0.252135427802.issue20185@psf.upfronthosting.co.za>
In-reply-to
Content
Here is the patch for Python/marshal.c.

A couple of issues:
1. I can not have bytes as argument.

    bytes: Py_buffer -> not possible

So I changed it to byte.

2. I can not give default value, marshal.version, to argument.

version: int(c_default="Py_MARSHAL_VERSION") = marshal.version -> not possible (unless I put "import marshal" in Tools/clinic/clinic.py).

So I gave it a raw value, 2.

version: int(c_default="Py_MARSHAL_VERSION") = 2
History
Date User Action Args
2014-01-15 10:51:14vajraskysetrecipients: + vajrasky, larry, nadeem.vawda
2014-01-15 10:51:14vajraskysetmessageid: <1389783074.37.0.252135427802.issue20185@psf.upfronthosting.co.za>
2014-01-15 10:51:14vajraskylinkissue20185 messages
2014-01-15 10:51:14vajraskycreate