Message121285
Actually, this can't be fixed without modifying C API methods PyArg_ParseTuple and PyArg_ParseTupleAndKeywords, because it's possible to make an object deallocated before PyArg_ParseTuple returns, so Py_INCREF immediately after parsing would be already too late.
Here are my test cases:
test-resource.py - in Modules/resource.c, and python-bug-01.patch won't work against it.
test-ctypes.py - in Modules/_ctypes/_ctypes.c.
test-functools.py - in Modules/_functoolsmodule.c (py3k only). |
|
Date |
User |
Action |
Args |
2010-11-16 12:33:48 | abacabadabacaba | set | recipients:
+ abacabadabacaba, loewis, georg.brandl, billm |
2010-11-16 12:33:48 | abacabadabacaba | set | messageid: <1289910828.02.0.304366806556.issue6083@psf.upfronthosting.co.za> |
2010-11-16 12:33:46 | abacabadabacaba | link | issue6083 messages |
2010-11-16 12:33:46 | abacabadabacaba | create | |
|