Message149534
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. |
|
Date |
User |
Action |
Args |
2011-12-15 11:36:20 | Mark.Shannon | set | recipients:
+ Mark.Shannon, amaury.forgeotdarc, orsenthil, pitrou, vstinner, benjamin.peterson, ezio.melotti, Trundle, davide.rizzo, python-dev |
2011-12-15 11:36:20 | Mark.Shannon | set | messageid: <1323948980.89.0.483432108732.issue12149@psf.upfronthosting.co.za> |
2011-12-15 11:36:20 | Mark.Shannon | link | issue12149 messages |
2011-12-15 11:36:20 | Mark.Shannon | create | |
|