On Feb 4, 7:18 am, Georg <[EMAIL PROTECTED]> wrote: > Hi, > start sage-2.10.1 in a directory which contains a subdirectory 'foo': > > sage: a = srange(3) > sage: save(a, 'foo/foo') > sage: b = load('foo/foo') > sage: b > [0, 1, 2] > sage: save(a, './foo/foo') > --------------------------------------------------------------------------- > <type 'exceptions.AttributeError'> Traceback (most recent call > last) > > /home/georg/<ipython console> in <module>() > > /home/georg/sage_object.pyx in sage.structure.sage_object.save() > > <type 'exceptions.AttributeError'>: 'list' object has no attribute > 'save' > sage: save(5, './foo/foo') > sage: b = load('foo/foo') > sage: b > 5 > > Looks like a bug..., or? > Georg
Yes, this is a bug; thanks for reporting it. I've posted a patch at http://sagetrac.org/sage_trac/ticket/2046, which will probably be in Sage 2.10.2. Carl --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---