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 theller
Recipients amaury.forgeotdarc, gvanrossum, loewis, theller
Date 2007-10-24.19:16:32
SpamBayes Score 0.0017735101
Marked as misclassified No
Message-id <471F9A0E.2080105@ctypes.org>
In-reply-to <1193251307.44.0.146326039586.issue1319@psf.upfronthosting.co.za>
Content
Looking again, I found a bug in the patch.

In the function _get_args(), the local variable 'name' was
changed from 'char *' to 'PyObject *'.  In line 2995, it is
passed to PyErr_Format with a '%s' format code:

	if (name)
		PyErr_Format(PyExc_TypeError,
==>			     "required argument '%s' missing", name);

A unittest but no fix for the bug for this issue is
attached (can I submit patches via mail?)
Files
File name Uploaded
test_prototypes.patch theller, 2007-10-24.19:16:31
History
Date User Action Args
2007-10-24 19:16:32thellersetspambayes_score: 0.00177351 -> 0.0017735101
recipients: + theller, gvanrossum, loewis, amaury.forgeotdarc
2007-10-24 19:16:32thellerlinkissue1319 messages
2007-10-24 19:16:32thellercreate