Message393957
Yes and it wouldn't be a problem. If struct member is 0 or NULL then use default behavior. If not then apply PyModule_AddType or PyModule_AddObject on all of those. Then after finishing set slot to NULL again since we don't want to add a type more than once. And yes after this also anyone can add more types. This will just introduce a handy way to add types. |
|
Date |
User |
Action |
Args |
2021-05-19 15:27:56 | shreyanavigyan | set | recipients:
+ shreyanavigyan, petr.viktorin |
2021-05-19 15:27:56 | shreyanavigyan | set | messageid: <1621438076.52.0.309277693692.issue44099@roundup.psfhosted.org> |
2021-05-19 15:27:56 | shreyanavigyan | link | issue44099 messages |
2021-05-19 15:27:56 | shreyanavigyan | create | |
|