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 Mark.Shannon
Recipients Mark.Shannon, Trundle, amaury.forgeotdarc, benjamin.peterson, davide.rizzo, ezio.melotti, orsenthil, pitrou, python-dev, vstinner
Date 2011-12-15.00:10:07
SpamBayes Score 7.916623e-09
Marked as misclassified No
Message-id <1323907808.06.0.237430871161.issue12149@psf.upfronthosting.co.za>
In-reply-to
Content
Please reopen this bug as the fix is wrong.

This fix merely hides the symptoms of _PyType_Lookup returning a dead object, by calling PyType_Modified() frequently, thus ensuring the type method cache is almost always invalidated.
This results in a significant slow down in pystones (~4%) due to a large slowdown (~60%) in _PyType_Lookup.

I don't know what the root cause is, but it could be:
A failure to call PyType_Modified() at the correct point (probably somewhere in iobase.c)
or it could be:
Deallocation not conforming to topographical ordering (ie. instance first then class), due to a cycle involving a borrowed reference.
(Or it could be something else)
History
Date User Action Args
2011-12-15 00:10:08Mark.Shannonsetrecipients: + Mark.Shannon, amaury.forgeotdarc, orsenthil, pitrou, vstinner, benjamin.peterson, ezio.melotti, Trundle, davide.rizzo, python-dev
2011-12-15 00:10:08Mark.Shannonsetmessageid: <1323907808.06.0.237430871161.issue12149@psf.upfronthosting.co.za>
2011-12-15 00:10:07Mark.Shannonlinkissue12149 messages
2011-12-15 00:10:07Mark.Shannoncreate