Author abusalimov
Recipients abusalimov, benjamin.peterson, lemburg, tim.peters
Date 2014-10-26.21:06:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1414357581.7.0.216281535095.issue22735@psf.upfronthosting.co.za>
In-reply-to
Content
The attached patch fixes several bugs revealed by providing a custom mro(). Most of these bugs are reentrancy issues (mainly, cls.__bases__ assignment within mro() which causes incorrect refcounting), but there are also some issues when using incomplete types with uninitialized MRO (dereferencing NULL when extending such types, attribute lookup on super, etc.). The patch is made against the default branch (py3k), however all these bugs exist in Python 2 as well.

I also tried to break the patch into smaller pieces (commits, in fact) to ease reviewing: a common pattern is test->minor->fix series. The patch set is an output of `git format-patch`, and most patches have a detailed commit message describing a change inside.

Adding memory mgmt and object model guys to nosy list.
History
Date User Action Args
2014-10-26 21:06:24abusalimovsetrecipients: + abusalimov, lemburg, tim.peters, benjamin.peterson
2014-10-26 21:06:21abusalimovsetmessageid: <1414357581.7.0.216281535095.issue22735@psf.upfronthosting.co.za>
2014-10-26 21:06:21abusalimovlinkissue22735 messages
2014-10-26 21:06:21abusalimovcreate