This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author gregory.p.smith
Recipients Bruno Oliveira, Daniel Lepage, Jim Fasarakis-Hilliard, gregory.p.smith, iritkatriel, louielu, r.david.murray, serhiy.storchaka
Date 2021-10-18.01:06:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
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:31gregory.p.smithsetrecipients: + gregory.p.smith, r.david.murray, serhiy.storchaka, Bruno Oliveira, Daniel Lepage, Jim Fasarakis-Hilliard, louielu, iritkatriel
2021-10-18 01:06:31gregory.p.smithsetmessageid: <>
2021-10-18 01:06:31gregory.p.smithlinkissue30570 messages
2021-10-18 01:06:31gregory.p.smithcreate