Message411773
> 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". |
|
Date |
User |
Action |
Args |
2022-01-26 16:34:02 | vstinner | set | recipients:
+ vstinner |
2022-01-26 16:34:02 | vstinner | set | messageid: <1643214842.13.0.886530121653.issue46538@roundup.psfhosted.org> |
2022-01-26 16:34:02 | vstinner | link | issue46538 messages |
2022-01-26 16:34:02 | vstinner | create | |
|