Alexander Belopolsky <belopol...@users.sourceforge.net> added the comment:

> FWIW, I agree with Antoine. You cannot know in advance whether a
> partial-subclass has semantics that need to be preserved when
> flattening.


Raymond,

I have actually conceded this point to Antoine.  See msg108980 above.  Not only 
the latest patch preserves partial-subclasses, it also foregoes the 
optimization if there is anything in __dict__ of the inner partial.

It looks like we have a consensus on the features, the remaining question is 
whether this is enough of an optimization to justify adding extra code.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue7830>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to