Message149534
| Author |
Mark.Shannon |
| Recipients |
Mark.Shannon, Trundle, amaury.forgeotdarc, benjamin.peterson, davide.rizzo, ezio.melotti, orsenthil, pitrou, python-dev, vstinner |
| Date |
2011年12月15日.11:36:20 |
| SpamBayes Score |
3.073133e-07 |
| Marked as misclassified |
No |
| Message-id |
<1323948980.89.0.483432108732.issue12149@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
What's happening is that the cycle GC calls type_clear to clear the type, but the method-cache is not invalidated.
I have added a call to PyType_Modified in type_clear (as well as type_set_name and type_set_qualname, which also modify the type).
Patch is attached. |
|