[New-bugs-announce] [issue8336] PyObject_CallObject - Not "reference-count-neutral"

Krauzi report at bugs.python.org
Wed Apr 7 21:09:54 CEST 2010

New submission from Krauzi <krauzi_gmbh at yahoo.de>:

In the docs there is written:
"PyObject_CallObject() is “reference-count-neutral” with respect to its arguments."
This is not correct. Its only reference-count neutral if the call was SUCCESSFUL otherwise the argument is INCREFED! 
Can anyone confirm this?

Cheers Krauzi.

assignee: georg.brandl
components: Documentation
messages: 102557
nosy: Krauzi, georg.brandl
severity: normal
status: open
title: PyObject_CallObject - Not "reference-count-neutral"
versions: Python 2.6

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list