commit | c36c3789dee99b3e2d01ee47731b62200157ba16 | [log] [tgz] |
---|---|---|
author | Alexandre Vassalotti <alexandre@peadrop.com> | Sat Jan 09 20:35:09 2010 +0000 |
committer | Alexandre Vassalotti <alexandre@peadrop.com> | Sat Jan 09 20:35:09 2010 +0000 |
tree | 2e872beff3aec978f274d6cdde057175465c738c | |
parent | a28e7028f99701c4f216dfbe4fcdf5f00cfee7e0 [diff] [blame] |
Issue #1023290: Added API for the conversion of longs to bytes and vice-versa.
diff --git a/Misc/NEWS b/Misc/NEWS index 5fd5775..adf9fb3 100644 --- a/Misc/NEWS +++ b/Misc/NEWS
@@ -149,6 +149,9 @@ - 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 -----