On Sat, Mar 14, 2009 at 02:22:01AM -0700, William Stein wrote:
> 
> On Fri, Mar 13, 2009 at 11:59 AM, Nicolas M. Thiery
> <nicolas.thi...@u-psud.fr> wrote:
> >
> >        Hi Mike,
> >
> > FYI, I just noticed this.
> >
> > sage: attrcall?
> > sage: f = attrcall("bla")
> > sage: dumps(f)
> > 'x\x9ck`J.NLO\xd5\xcb\xcd,N\x06\x13\\\x8e%%E\xce\x8999\xfeIY\xa9\xc9%\\\x85\x8c\x9a\x8d\x85L\xb5\x85\xcc\x1a\xa1,\x89E\xe9\xc5\x85,\x9a\xa1,y\x89\xb9\xa9\x85\xac\xa1\xccI9\x89\x85l\xa1,\xd9\xe5)\xc5\x85\xec\xb5\x85\x1c\xa5Iz\x00N\x98\x19\xfb'
> > sage: loads(dumps(f)) == f
> > False
> >
> 
> This is because AttrCallObject doesn't have a __cmp__ method:
> 
> sage: type(f)
> <class 'sage.misc.misc.AttrCallObject'>
> 
> sage: f??
> #no compare method
> 
> Please open a trac ticket and add such a method.

http://sagetrac.org/sage_trac/ticket/5524

                                Nicolas
--
Nicolas M. Thiéry "Isil" <nthi...@users.sf.net>
http://Nicolas.Thiery.name/

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to 
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to