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 <>
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
Date User Action Args
2021-05-31 09:19:55vstinnersetrecipients: + vstinner, pablogsal, miss-islington
2021-05-31 09:19:55vstinnersetmessageid: <>
2021-05-31 09:19:55vstinnerlinkissue44263 messages
2021-05-31 09:19:55vstinnercreate