]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-44531: Fix type_repr() if tp_name is NULL (GH-26948)
authorVictor Stinner <vstinner@python.org>
Tue, 29 Jun 2021 14:39:29 +0000 (16:39 +0200)
committerGitHub <noreply@github.com>
Tue, 29 Jun 2021 14:39:29 +0000 (16:39 +0200)
commit823460daa9fab3d0cf00ec553d1e35635ef73d40
treeb91cfcc6093d29eefdd51670e8ce87265e8de961
parent50148cacfaa79d199b71fec89c2dbe7efbae41ca
bpo-44531: Fix type_repr() if tp_name is NULL (GH-26948)

Allow to call type_repr() on a type which is not fully initialized
yet. This fix helps debugging crashes occurring early at Python
initialization.
Objects/typeobject.c