Since William thinks more public discussion is better I thought I start a 
nice tread to find out what you think are the nicest tools for developers in 
sage.

I'll start with an example, a thing I found out recently found out and found 
very usefull in debuging unpickling.

explain_pickle
       This is a function standard available when you startup sage.
       It explains a pickle. That is, produce source code such that 
evaluating
       the code is equivalent to loading the pickle.  Feeding the result
       of ``explain_pickle`` to ``sage_eval`` should be totally equivalent
       to loading the ``pickle`` with ``cPickle``.

Tools outside of sage, or things you hacked together yourself are also ok to 
mention.

For example (also during pickle debugging) I wrote a helper function called 
"get_pickling_errors" which returns a dict which shows the path from your 
original object to all of it's non pickleable attributes. I posted it on 
stackoverflow.

http://stackoverflow.com/questions/569754/how-to-tell-for-which-object-attribute-pickle-fails/7218986#7218986

-- 
To post to this group, send an email to [email protected]
To unsubscribe from this group, send an email to 
[email protected]
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to