On Mar 31, 10:41 am, Franco Saliola <sali...@gmail.com> wrote:
> On Sat, Mar 28, 2009 at 9:17 AM, Henryk Trappmann
> I would guess that you are probably just loading/attaching some local
> files to a Sage session. If that's correct, then that is the cause of
> this problem. When you merge your code into Sage, then the error
> should go away (although it may be replaced by some other error).

Yes you are right. Now the "correct" error about pickling attribute
functions pops up:
PicklingError: Can't pickle <type 'function'>: attribute lookup
__builtin__.function failed

I will see what I can do with the __reduce__ method, that Robert
mentioned.

But btw. I have another question about the private Sage development
process. I work the following way:
1. I edit the code in the editor
2. "load" that file into a sage session,
3. do there some commands and repeat from 1. until everything is fine.

But as you indicated you dont work by "load"ing the file.
When I however work with "import" at the sage prompt, then the changes
that I did in the file are not reflected properly.
Can you or others give me some hints about an efficient private
development cycle?

--~--~---------~--~----~------------~-------~--~----~
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