[Python-Dev] minidom -> new-style classes?

Collin Winter collinw at gmail.com
Wed Apr 18 04:51:34 CEST 2007


On 4/17/07, Jason Orendorff <jason.orendorff at gmail.com> wrote:
> Surely nobody is subclassing these classes.  You don't subclass DOM
> interfaces--the DOM doesn't work that way.  So this change should be
> OK.  Right?

People are definitely subclassing those classes:
http://www.google.com/codesearch?hl=en&lr=&q=class%5Cs%2B.%2B%5C%28.*minidom%5C.&btnG=Search

Whether any of those uses will break if switched to new-style class, I
can't say.

Collin Winter


More information about the Python-Dev mailing list