New submission from Christian Heimes: 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) ---------- components: Interpreter Core messages: 192042 nosy: christian.heimes priority: normal severity: normal stage: test needed status: open title: swapped arguments in compatible_for_assignment()? type: behavior versions: Python 3.4 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue18327> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com