Message404152
Python metaprogramming allows type-like things to be bases, not just things that pass PyType_Check(). so being that strict isn't going to work.
The other classic way to prevent this is to track what you're recursing on to avoid a loop. i.e. Keeping a set of PyObjects that have been seen and not recursing if the value is in that. |
|
Date |
User |
Action |
Args |
2021-10-18 01:06:31 | gregory.p.smith | set | recipients:
+ gregory.p.smith, r.david.murray, serhiy.storchaka, Bruno Oliveira, Daniel Lepage, Jim Fasarakis-Hilliard, louielu, iritkatriel |
2021-10-18 01:06:31 | gregory.p.smith | set | messageid: <1634519191.65.0.994955791216.issue30570@roundup.psfhosted.org> |
2021-10-18 01:06:31 | gregory.p.smith | link | issue30570 messages |
2021-10-18 01:06:31 | gregory.p.smith | create | |
|