summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorHongWeipeng <961365124@qq.com>2019-11-26 07:54:49 (GMT)
committerInada Naoki <songofacandy@gmail.com>2019-11-26 07:54:49 (GMT)
commit036fe85bd3e6cd01093d836d71792a1966f961e8 (patch)
treecc1147b732a9913d34134641b321b15ddff47707 /Misc
parent386d00cc341b549800776b906bfc6b20ea40c7db (diff)
downloadcpython-036fe85bd3e6cd01093d836d71792a1966f961e8.zip
cpython-036fe85bd3e6cd01093d836d71792a1966f961e8.tar.gz
cpython-036fe85bd3e6cd01093d836d71792a1966f961e8.tar.bz2
bpo-27145: small_ints[x] could be returned in long_add and long_sub (GH-15716)
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Core and Builtins/2019-09-06-16-40-12.bpo-27145.njuCXU.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2019-09-06-16-40-12.bpo-27145.njuCXU.rst b/Misc/NEWS.d/next/Core and Builtins/2019-09-06-16-40-12.bpo-27145.njuCXU.rst
new file mode 100644
index 0000000..229753a
--- /dev/null
+++ b/Misc/NEWS.d/next/Core and Builtins/2019-09-06-16-40-12.bpo-27145.njuCXU.rst
@@ -0,0 +1 @@
+int + int and int - int operators can now return small integer singletons. Patch by hongweipeng.