summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorMark Dickinson <mdickinson@enthought.com>2022-03-01 14:20:52 (GMT)
committerGitHub <noreply@github.com>2022-03-01 14:20:52 (GMT)
commitc60e6b6ad7aaf9c72035ff9fb1575e2710aeb4b4 (patch)
treea610b84cd0f694e0af62a35f040ad47b463e3a6f /Misc
parent7820a5897e7762df23bff1cbe749652130654a08 (diff)
downloadcpython-c60e6b6ad7aaf9c72035ff9fb1575e2710aeb4b4.zip
cpython-c60e6b6ad7aaf9c72035ff9fb1575e2710aeb4b4.tar.gz
cpython-c60e6b6ad7aaf9c72035ff9fb1575e2710aeb4b4.tar.bz2
bpo-46311: Clean up PyLong_FromLong and PyLong_FromLongLong (GH-30496)
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Core and Builtins/2022-01-09-11-59-04.bpo-30496.KvuuGT.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2022-01-09-11-59-04.bpo-30496.KvuuGT.rst b/Misc/NEWS.d/next/Core and Builtins/2022-01-09-11-59-04.bpo-30496.KvuuGT.rst
new file mode 100644
index 0000000..cc29684
--- /dev/null
+++ b/Misc/NEWS.d/next/Core and Builtins/2022-01-09-11-59-04.bpo-30496.KvuuGT.rst
@@ -0,0 +1,3 @@
+Fixed a minor portability issue in the implementation of
+:c:func:`PyLong_FromLong`, and added a fast path for single-digit integers
+to :c:func:`PyLong_FromLongLong`.