Re: DeprecationWarning under python 2.6

Kyle VanderBeek <[email protected]> Tue, 14 Jul 2009 16:32:43 -0700
Newsgroups gmane.comp.python.peak
Message-ID <[email protected]>
On Tue, Jul 14, 2009 at 3:31 PM, Sergey Schetinin <[email protected]> wrote:

> I think it would be better to apply that patch to PEAK-Rules -- create
> a new AddOn subclass with that __new__ method and use it as a
> baseclass for the classes that cause the warning.
>
> Most AddOn subclasses in other packages don't redefine __new__ and
> don't need the fix.
>

Actually, I just noticed that peak.util.addons.Registry is a descendant of
AddOn that redefines __new__ as well, and uses super().  It'll have similar
problems if we don't fix it down at the AddOn level as I've proposed.

-- 
[email protected]
 Some people have a way with words, while others... erm... thingy.

_______________________________________________
PEAK mailing list
[email protected]
http://www.eby-sarna.com/mailman/listinfo/peak