Message411774
> In the PyPI top 5000, I found two projects using PyDescr_TYPE() and PyDescr_NAME() as l-value: M2Crypto and mecab-python3. In both cases, it was code generated by SWIG
I created bpo-46538 "[C API] Make the PyDescrObject structure opaque" to handle PyDescr_NAME() and PyDescr_TYPE() macros. But IMO it's not really worth it to make the PyDescrObject structure opaque. It's just too much work, whereas PyDescrObject is not performance sensitive. It's ok to continue exposing this structure in public for now.
I will exclude PyDescr_NAME() and PyDescr_TYPE() from the PEP 674. |
|
Date |
User |
Action |
Args |
2022-01-26 16:37:19 | vstinner | set | recipients:
+ vstinner, lemburg, rhettinger, gdr@garethrees.org, erlendaasland, arhadthedev |
2022-01-26 16:37:19 | vstinner | set | messageid: <1643215039.12.0.526751645363.issue45476@roundup.psfhosted.org> |
2022-01-26 16:37:19 | vstinner | link | issue45476 messages |
2022-01-26 16:37:19 | vstinner | create | |
|