New submission from Tatyana <taty...@synopsys.com>:
Since version 3.7 PyTuple_GET_SIZE performs assert(PyTuple_Check(args)); Due to this change, object_new and object_init cannot be called with args == nullptr. Such behavior breaks existing user's code, particularly a code generated with Swig. ---------- components: Library (Lib) messages: 324041 nosy: tkrasnukha priority: normal pull_requests: 8390 severity: normal status: open title: excess_args asserts if args == nullptr type: crash versions: Python 3.7, Python 3.8 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue34495> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com