#8452: Code check: Pickling of nested classes
----------------------------+-----------------------------------------------
   Reporter:  mpatel        |       Owner:  tbd         
       Type:  enhancement   |      Status:  needs_review
   Priority:  minor         |   Milestone:  sage-4.3.4  
  Component:  misc          |    Keywords:              
     Author:  Mitesh Patel  |    Upstream:  N/A         
   Reviewer:                |      Merged:              
Work_issues:                |  
----------------------------+-----------------------------------------------
Changes (by newvalueoldvalue):

 * cc: jhpalmieri, nthiery (added)
  * priority:  major => minor
  * milestone:  => sage-4.3.4
  * status:  new => needs_review
  * author:  => Mitesh Patel


Comment:

 I've attached a patch that adds an option `--check-nested` to the Sage doc
 builder.  If the flag is present, Sphinx will check
 [http://stackoverflow.com/questions/1947904/how-can-i-pickle-a-nested-
 class-in-python nested classes for picklability].

 I've adapted `sage.misc.nested_class.modify_for_nested_pickle`, so that we
 can put the check in `conf.py` instead of `sage_autodoc.py`.  We may not
 need to patch Sphinx.  Please test and let me know if this works.

 Note: The patch depends on #7448.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/8452#comment:1>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to