Message402521
- specs/slots are (usually) constant & static; pointers to types are not always C constant expressions (on Windows, if they come from a different DLL)
- specs/slots are (usually) shared across all subinterpreters; types are specific to a single interpreter
It's better to pass the metaclass as a function argument, as with bases. I'd prefer adding a new function that using a slot. |
|
Date |
User |
Action |
Args |
2021-09-23 19:43:09 | petr.viktorin | set | recipients:
+ petr.viktorin, loewis, jcea, amaury.forgeotdarc, belopolsky, pitrou, Arfrever, lekma, Alexander.Belopolsky, mattip, Robin.Schreiber, steve.dower, seberg, Christian.Tismer, jhaberman, haberman2 |
2021-09-23 19:43:09 | petr.viktorin | set | messageid: <1632426189.06.0.307431910019.issue15870@roundup.psfhosted.org> |
2021-09-23 19:43:09 | petr.viktorin | link | issue15870 messages |
2021-09-23 19:43:08 | petr.viktorin | create | |
|