Message356053
Opened https://github.com/python/cpython/pull/17064 to fix this. Essentially it's a tiny little oversight in the back-porting. In the 3.7 branch, we perform an attribute lookup for `from_param` before the union checking code, so we must remember to DECREF it. This is unlike master where the attribute lookup happens after the union checking code.
λ win32\python_d.exe -m test -R 3:3 test_ctypes
0:00:00 Run tests sequentially
0:00:00 [1/1] test_ctypes
beginning 6 repetitions
123456
......
== Tests result: SUCCESS ==
1 test OK.
Total duration: 14.8 sec
Tests result: SUCCESS |
|
Date |
User |
Action |
Args |
2019-11-05 18:58:13 | ammar2 | set | recipients:
+ ammar2, arigo, theller, vinay.sajip, vstinner, Arfrever, alex, eli.bendersky, meador.inge, docs@python, python-dev |
2019-11-05 18:58:13 | ammar2 | set | messageid: <1572980293.44.0.602655349165.issue16575@roundup.psfhosted.org> |
2019-11-05 18:58:13 | ammar2 | link | issue16575 messages |
2019-11-05 18:58:13 | ammar2 | create | |
|