- changed status to resolved
about OrderedSet / changeset 2298
Issue #463
resolved
it calls base-class' methods via base_class.method, in the case, Set.method(). Nothing bad about it, BUT, when one replaces Set with OrderedSet to get repeatability, those calls become infinite recursion.
So the super(OrderedSet,self).method(...) - which i despise... this is set-super-diff.
same thing would apply to OrderedDict over Dict (=dict by default)
btw, the util does not need to import anything but sets, thread*, builtin. this is super2-diff - combined with other.
Comments (1)
-
repo owner - Log in to comment
committed in changeset:2328.
note this excerpt from the Python style guide:
http://www.python.org/dev/peps/pep-0008/