Ticket #7377: trac_7377-pickle-fix.patch

File trac_7377-pickle-fix.patch, 678 bytes (added by nbruin, 9 years ago)

Fixes MaximaFunction? pickle issue

  • sage/interfaces/maxima.py

    # HG changeset patch
    # User Nils Bruin <nbruin@sfu.ca>
    # Date 1298970973 28800
    # Node ID e875780bb6d091ce41aded69b44a37e517e47c87
    # Parent  9f44b5a78ab2e2ed05e82e005a32313e056bf93c
    Fix pickling issue of MaximaFunction
    
    diff -r 9f44b5a78ab2 -r e875780bb6d0 sage/interfaces/maxima.py
    a b  
    10531053    """
    10541054    return maxima
    10551055
     1056def reduce_load_Maxima_function(parent, defn, args, latex):
     1057    return parent.function(args, defn, defn, latex)
     1058
    10561059def __doctest_cleanup():
    10571060    import sage.interfaces.quit
    10581061    sage.interfaces.quit.expect_quitall()