Message 391635 - Python tracker (original) (raw)
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 , then reintroduced, then fixed again in . But it should be checked for every type without constructor.