diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2023-01-09 16:06:17 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-09 16:06:17 (GMT) |
commit | 2d1128e9eb9be56e3cd105f4a38564ac4c01e68e (patch) | |
tree | 3938e8f8ff35b43396960be382cf136387f89dd0 /Misc | |
parent | 074b881e1125bc431ef18681034ba43a9d6e2cb7 (diff) | |
download | cpython-2d1128e9eb9be56e3cd105f4a38564ac4c01e68e.zip cpython-2d1128e9eb9be56e3cd105f4a38564ac4c01e68e.tar.gz cpython-2d1128e9eb9be56e3cd105f4a38564ac4c01e68e.tar.bz2 |
GH-81061: Fix refcount issue when returning `None` from a `ctypes.py_object` callback (GH-13364)
(cherry picked from commit 837ba052672d1a5f85a46c1b6d4b6e7d192af6f3)
Co-authored-by: dgelessus <dgelessus@users.noreply.github.com>
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Library/2019-05-13-11-37-30.bpo-36880.ZgBgH0.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2019-05-13-11-37-30.bpo-36880.ZgBgH0.rst b/Misc/NEWS.d/next/Library/2019-05-13-11-37-30.bpo-36880.ZgBgH0.rst new file mode 100644 index 0000000..f653238 --- /dev/null +++ b/Misc/NEWS.d/next/Library/2019-05-13-11-37-30.bpo-36880.ZgBgH0.rst @@ -0,0 +1,2 @@ +Fix a reference counting issue when a :mod:`ctypes` callback with return +type :class:`~ctypes.py_object` returns ``None``, which could cause crashes. |