Re: [sage-devel] pickling question

2012-11-10 Thread David Roe
No problem. Want to help me figure out what's wrong with interrupt.pyx in #12415? ;-) David On Sat, Nov 10, 2012 at 5:20 PM, John H Palmieri wrote: > Oh, right. Fixed now. Thanks. > > John > > > > On Saturday, November 10, 2012 4:09:25 PM UTC-8, David Roe wrote: > >> You don't define compari

Re: [sage-devel] pickling question

2012-11-10 Thread John H Palmieri
Oh, right. Fixed now. Thanks. John On Saturday, November 10, 2012 4:09:25 PM UTC-8, David Roe wrote: > > You don't define comparison, so it defaults to comparing id(self). > David > > > On Sat, Nov 10, 2012 at 1:18 PM, John H Palmieri > > > wrote: > >> I wrote what I think is a simple class

Re: [sage-devel] pickling question

2012-11-10 Thread David Roe
You don't define comparison, so it defaults to comparing id(self). David On Sat, Nov 10, 2012 at 1:18 PM, John H Palmieri wrote: > I wrote what I think is a simple class (see > http://trac.sagemath.org/sage_trac/ticket/13131), but it fails pickling > tests: > >sage: loads(dumps(T)) == T # f