消息 [121285]
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). |
|
| 日期 |
用户 |
动作 |
参数 |
| 2010-11-16 12:33:48 | abacabadabacaba | 修改 | recipients:
+ abacabadabacaba, loewis, georg.brandl, billm |
| 2010-11-16 12:33:48 | abacabadabacaba | 修改 | messageid: <1289910828.02.0.304366806556.issue6083@psf.upfronthosting.co.za> |
| 2010-11-16 12:33:46 | abacabadabacaba | 链接 | issue6083 messages |
| 2010-11-16 12:33:46 | abacabadabacaba | 创建 | |
|