Because graphics objects don't implement equality (there are no __eq__
or __cmp__ methods defined), so the default implementation is used,
which is "is" (object identity, pointer equality).
Ergo, you should implement __cmp__.
You = somebody :-)
> I don't know that I could do that in time for 4.0, though, so I'll
> keep working on the other stuff with current loads(dumps()) behavior,
> since it is already in two of the plot files.
Yep, if you don't know how to implement __cmp__, then just don't
implement the loads(dumps(...))) doctests at all.