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 alexandre.vassalotti
Recipients alexandre.vassalotti, bob.ippolito, ede, josiahcarlson, loewis, mark.dickinson, mwh, pitrou, rhettinger, tim.peters
Date 2009-11-14.20:38:08
SpamBayes Score 4.7110007e-06
Marked as misclassified No
Message-id <1258231092.21.0.673577046452.issue1023290@psf.upfronthosting.co.za>
In-reply-to
Content
Here's an updated patch.

- Renamed tobytes() to to_bytes() and frombytes() to from_bytes().
- Moved the changes to pickle to a different patch.
- Made the NULL-checks more consistent with the rest of long's code.
- Fixed the type check of the `length' parameter of to_bytes() to use
  PyIndex_Check() instead of PyLong_Check().
History
Date User Action Args
2009-11-14 20:38:12alexandre.vassalottisetrecipients: + alexandre.vassalotti, mwh, tim.peters, loewis, rhettinger, josiahcarlson, bob.ippolito, mark.dickinson, pitrou, ede
2009-11-14 20:38:12alexandre.vassalottisetmessageid: <1258231092.21.0.673577046452.issue1023290@psf.upfronthosting.co.za>
2009-11-14 20:38:10alexandre.vassalottilinkissue1023290 messages
2009-11-14 20:38:10alexandre.vassalotticreate