Staging
v0.5.0
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
.azure-pipelines
.github
Doc
Grammar
Include
Lib
Mac
Misc
Modules
Objects
PC
PCbuild
Parser
Programs
Python
Tools
m4
.gitattributes -rw-r--r-- 1.6 KB
.gitignore -rw-r--r-- 1.5 KB
.travis.yml -rw-r--r-- 6.1 KB
CODE_OF_CONDUCT.rst -rw-r--r-- 631 bytes
LICENSE -rw-r--r-- 12.5 KB
Makefile.pre.in -rw-r--r-- 62.5 KB
README.rst -rw-r--r-- 9.8 KB
aclocal.m4 -rw-r--r-- 10.7 KB
config.guess -rwxr-xr-x 43.1 KB
config.sub -rwxr-xr-x 35.4 KB
configure -rwxr-xr-x 491.3 KB
configure.ac -rw-r--r-- 164.2 KB
install-sh -rwxr-xr-x 7.0 KB
pyconfig.h.in -rw-r--r-- 42.2 KB
setup.py -rw-r--r-- 101.3 KB

README.rst

back to top