➜

This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

作者 abacabadabacaba
收信人 abacabadabacaba, billm, georg.brandl, loewis
日期 2010-11-16.12:33:45
SpamBayes Score 2.924714e-06
Marked as misclassified 否
Message-id <1289910828.02.0.304366806556.issue6083@psf.upfronthosting.co.za>
In-reply-to
内容
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:48abacabadabacaba修改recipients: + abacabadabacaba, loewis, georg.brandl, billm
2010-11-16 12:33:48abacabadabacaba修改messageid: <1289910828.02.0.304366806556.issue6083@psf.upfronthosting.co.za>
2010-11-16 12:33:46abacabadabacaba链接issue6083 messages
2010-11-16 12:33:46abacabadabacaba创建