On Tue, Jul 14, 2009 at 3:31 PM, Sergey Schetinin <span dir="ltr">&lt;<a href="mailto:maluke@gmail.com">maluke@gmail.com</a>&gt;</span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I think it would be better to apply that patch to PEAK-Rules -- create<br>
a new AddOn subclass with that __new__ method and use it as a<br>
baseclass for the classes that cause the warning.<br>
<br>
Most AddOn subclasses in other packages don&#39;t redefine __new__ and<br>
don&#39;t need the fix.<br>
<div><div></div><div class="h5"></div></div></blockquote><div><br>Actually, I just noticed that peak.util.addons.Registry is a descendant of AddOn that redefines __new__ as well, and uses super().  It&#39;ll have similar problems if we don&#39;t fix it down at the AddOn level as I&#39;ve proposed.<br>
 </div></div>-- <br><a href="mailto:kylev@kylev.com">kylev@kylev.com</a><br>  Some people have a way with words, while others... erm... thingy.<br><br>