On Thu, May 7, 2009 at 10:06 AM, kcrisman wrote:
>
>> > 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).
>>
>> > Carl
>>
>> Ergo, you should imple
> > 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).
>
> > Carl
>
> Ergo, you should implement __cmp__.
Umm... how would I do that? Or is "you" cwi
On Thu, May 7, 2009 at 9:32 AM, Carl Witty wrote:
>
> On Thu, May 7, 2009 at 7:01 AM, kcrisman wrote:
>> I am hoping to help the push to 75% by adding some doctests to some of
>> the plotting primitives. But for some reason, the following always
>> occurs:
>>
>> sage: G = some graphics object
>
On Thu, May 7, 2009 at 7:01 AM, kcrisman wrote:
> I am hoping to help the push to 75% by adding some doctests to some of
> the plotting primitives. But for some reason, the following always
> occurs:
>
> sage: G = some graphics object
> sage: G == loads(dumps(G))
> False
>
> Nonetheless, no matt