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-08-17.20:13:07
SpamBayes Score 1.64868e-07
Marked as misclassified No
Message-id <1250539992.87.0.546479937319.issue1023290@psf.upfronthosting.co.za>
In-reply-to
Content
Here's a new patch incorporating the suggestions I received on python-ideas.

Notable changes are:

  - The name of the methods have been changed to int.tobytes() and
    int.frombytes().
  - The tri-state `little_endian' argument has been removed in favor
    of the `byteorder' argument which takes either the string
    'little' or 'big'.
  - The `byteorder' argument has to be specified explicitly.
  - The variable-length version of int.tobytes() has been removed.
  - The `fixed_length' argument has been renamed to `length'. 
  - The `signed' argument is now keyword-only and now defaults to False.
History
Date User Action Args
2009-08-17 20:13:13alexandre.vassalottisetrecipients: + alexandre.vassalotti, mwh, tim.peters, loewis, rhettinger, josiahcarlson, bob.ippolito, mark.dickinson, pitrou, ede
2009-08-17 20:13:12alexandre.vassalottisetmessageid: <1250539992.87.0.546479937319.issue1023290@psf.upfronthosting.co.za>
2009-08-17 20:13:10alexandre.vassalottilinkissue1023290 messages
2009-08-17 20:13:10alexandre.vassalotticreate