Pablo Galindo Salgado <pablog...@gmail.com> added the comment:

Serhiy's comment for reference:

Static type with tp_new = NULL does not have public constructor, but heap type 
inherits constructor from base class. As result, it allows to create instances 
without proper initialization, that can lead to crash. It was fixed for few 
standard heap types in issue23815, then reintroduced, then fixed again in 
issue42694. But it should be checked for every type without constructor.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue43916>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to