Message91669
| 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. |
|