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 vstinner
Date 2022-01-26.16:34:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1643214842.13.0.886530121653.issue46538@roundup.psfhosted.org>
In-reply-to
Content
> The problem of the PyDescr_SET_NAME() and PyDescr_SET_Type() approach is that SWIG code is outdated: it doesn't initialized the PyDescrObject.d_qualname member added to Python 3.3 (bpo-13577, commit 9d57481f043cb9b94bfc45c1ee041415d915cf8a).

I checked: Oh, in practice, it's not an issue since PyType_GenericAlloc() initializes the memory to zero. So the code "just works".
History
Date User Action Args
2022-01-26 16:34:02vstinnersetrecipients: + vstinner
2022-01-26 16:34:02vstinnersetmessageid: <1643214842.13.0.886530121653.issue46538@roundup.psfhosted.org>
2022-01-26 16:34:02vstinnerlinkissue46538 messages
2022-01-26 16:34:02vstinnercreate