summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d/next/C API
diff options
context:
space:
mode:
authorZackery Spytz <zspytz@gmail.com>2019-05-31 09:46:36 (GMT)
committerMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2019-05-31 09:46:36 (GMT)
commitc7f803b08ed5211701c75f98ba9ada85d45ac155 (patch)
treea283b57dae8d45875c48b3143a11aef601fb3d9f /Misc/NEWS.d/next/C API
parentc7f7069e77c58e83b847c0bfe4d5aadf6add2e68 (diff)
downloadcpython-c7f803b08ed5211701c75f98ba9ada85d45ac155.zip
cpython-c7f803b08ed5211701c75f98ba9ada85d45ac155.tar.gz
cpython-c7f803b08ed5211701c75f98ba9ada85d45ac155.tar.bz2
bpo-36379: __ipow__ must be a ternaryfunc, not a binaryfunc (GH-13546)
If a type's __ipow__ method was implemented in C, attempting to use the *modulo* parameter would cause crashes. https://bugs.python.org/issue36379
Diffstat (limited to 'Misc/NEWS.d/next/C API')
-rw-r--r--Misc/NEWS.d/next/C API/2019-05-24-07-11-08.bpo-36379.8zgoKe.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/C API/2019-05-24-07-11-08.bpo-36379.8zgoKe.rst b/Misc/NEWS.d/next/C API/2019-05-24-07-11-08.bpo-36379.8zgoKe.rst
new file mode 100644
index 0000000..6a699b2
--- /dev/null
+++ b/Misc/NEWS.d/next/C API/2019-05-24-07-11-08.bpo-36379.8zgoKe.rst
@@ -0,0 +1,2 @@
+Fix crashes when attempting to use the *modulo* parameter when ``__ipow__``
+is implemented in C.