diff options
author | Alexandre Vassalotti <alexandre@peadrop.com> | 2010-01-09 20:35:09 (GMT) |
---|---|---|
committer | Alexandre Vassalotti <alexandre@peadrop.com> | 2010-01-09 20:35:09 (GMT) |
commit | c36c3789dee99b3e2d01ee47731b62200157ba16 (patch) | |
tree | 2e872beff3aec978f274d6cdde057175465c738c /Misc | |
parent | a28e7028f99701c4f216dfbe4fcdf5f00cfee7e0 (diff) | |
download | cpython-c36c3789dee99b3e2d01ee47731b62200157ba16.zip cpython-c36c3789dee99b3e2d01ee47731b62200157ba16.tar.gz cpython-c36c3789dee99b3e2d01ee47731b62200157ba16.tar.bz2 |
Issue #1023290: Added API for the conversion of longs to bytes and vice-versa.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -149,6 +149,9 @@ Core and Builtins - Issue #6687: PyBytes_FromObject() no longer accepts an integer as its argument to construct a null-initialized bytes object. +- Issue #1023290: Add from_bytes() and to_bytes() methods to integers. + These methods allow the conversion of integers to bytes, and vice-versa. + C-API ----- |