Staging
v0.5.1
https://github.com/python/cpython
Revision 484edbf9bf1a9e6bae0fcb10a0c165b89ea79295 authored by Ammar Askar on 06 November 2019, 15:40:06 UTC, committed by Vinay Sajip on 06 November 2019, 15:40:06 UTC
The master and 3.8 versions of the previous change work as expected
because we perform the lookup for the `from_param` after the union
check. However, in 3.7, this lookup happens before the union
validation and so we must decrease the reference for `cnv` before
returning.
1 parent 91f4b92
History
Tip revision: 484edbf9bf1a9e6bae0fcb10a0c165b89ea79295 authored by Ammar Askar on 06 November 2019, 15:40:06 UTC
bpo-16575: Fix refleak on passing unions in ctypes (GH-17064)
Tip revision: 484edbf
File Mode Size
README -rw-r--r-- 67 bytes
_freeze_importlib.c -rw-r--r-- 4.7 KB
_testembed.c -rw-r--r-- 17.8 KB
python.c -rw-r--r-- 266 bytes

README

back to top