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 christian.heimes
Recipients christian.heimes
Date 2013-06-29.19:08:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1372532925.38.0.271653772611.issue18327@psf.upfronthosting.co.za>
In-reply-to
Content
Coverity has found something fishy in our code base:

CID 983564 (#1 of 1): Arguments in wrong order (SWAPPED_ARGUMENTS)swapped_arguments: The positions of arguments newto and oldto are inconsistent with the positions of the corresponding parameters for "compatible_for_assignment(PyTypeObject *, PyTypeObject *, char *)".

Object/typeobject.c:3326
    if (compatible_for_assignment(newto, oldto, "__class__")) {
Objects/typeobject.c.3265

static int
compatible_for_assignment(PyTypeObject* oldto, PyTypeObject* newto, char* attr)
History
Date User Action Args
2013-06-29 19:08:45christian.heimessetrecipients: + christian.heimes
2013-06-29 19:08:45christian.heimessetmessageid: <1372532925.38.0.271653772611.issue18327@psf.upfronthosting.co.za>
2013-06-29 19:08:45christian.heimeslinkissue18327 messages
2013-06-29 19:08:45christian.heimescreate