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.

Author belopolsky
Recipients amaury.forgeotdarc, belopolsky
Date 2008-02-06.17:52:22
SpamBayes Score 0.03925923
Marked as misclassified No
Message-id <1202320343.79.0.949959474533.issue2016@psf.upfronthosting.co.za>
In-reply-to
Content
According to http://docs.python.org/api/object.html,

"""
PyObject* PyObject_Call(	PyObject *callable_object, PyObject *args,
PyObject *kw)
    Return value: New reference.
    Call a callable Python object callable_object, with arguments given
by the tuple args, and named arguments given by the dictionary kw. If no
named arguments are needed, kw may be NULL. args must not be NULL, use
an empty tuple if no arguments are needed. Returns the result of the
call on success, or NULL on failure. 
"""

passing Py_None as kw is not allowed.  Interestingly, the documentation
also says that "args must not be NULL," while the code is clearly more
forgiving.
History
Date User Action Args
2008-02-06 17:52:23belopolskysetspambayes_score: 0.0392592 -> 0.03925923
recipients: + belopolsky, amaury.forgeotdarc
2008-02-06 17:52:23belopolskysetspambayes_score: 0.0392592 -> 0.0392592
messageid: <1202320343.79.0.949959474533.issue2016@psf.upfronthosting.co.za>
2008-02-06 17:52:23belopolskylinkissue2016 messages
2008-02-06 17:52:22belopolskycreate