This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients miss-islington, pablogsal, vstinner
Date 2021-05-31.09:19:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1622452795.48.0.123149041912.issue44263@roundup.psfhosted.org>
In-reply-to
Content
I reopen the issue. I would prefer to change PyType_FromSpecWithBases() to raise an error if a type has the Py_TPFLAGS_HAVE_GC flag but its tp_traverse function is NULL.

Oops, the Python stdlib has more types than only _ssl.SSLError with this error:

* _decimal: PyDecSignalDictMixin_Type (internal type)
* _testcapi: heapctype
History
Date User Action Args
2021-05-31 09:19:55vstinnersetrecipients: + vstinner, pablogsal, miss-islington
2021-05-31 09:19:55vstinnersetmessageid: <1622452795.48.0.123149041912.issue44263@roundup.psfhosted.org>
2021-05-31 09:19:55vstinnerlinkissue44263 messages
2021-05-31 09:19:55vstinnercreate