[New-bugs-announce] [issue34495] excess_args asserts if args == nullptr
Tatyana
report at bugs.python.org
Sat Aug 25 02:22:15 EDT 2018
New submission from Tatyana <tatyana at 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 <report at bugs.python.org>
<https://bugs.python.org/issue34495>
_______________________________________
More information about the New-bugs-announce
mailing list