Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:

object_new and object_init should not be called with args == NULL. This looks 
like a bug in the user code.

Even without assert(PyTuple_Check(args)) in PyTuple_GET_SIZE it dereferences 
the NULL pointer if args == NULL.

Unless there is a code in CPython implementation itself which calls object_new 
and object_init with args == NULL this issue will be closed as not a bug.

----------
nosy: +serhiy.storchaka
resolution:  -> not a bug

_______________________________________
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

Reply via email to