summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorAlexandre Vassalotti <alexandre@peadrop.com>2010-01-09 20:35:09 (GMT)
committerAlexandre Vassalotti <alexandre@peadrop.com>2010-01-09 20:35:09 (GMT)
commitc36c3789dee99b3e2d01ee47731b62200157ba16 (patch)
tree2e872beff3aec978f274d6cdde057175465c738c /Misc
parenta28e7028f99701c4f216dfbe4fcdf5f00cfee7e0 (diff)
downloadcpython-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/NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 5fd5775..adf9fb3 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -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
-----