#17224: Fix pickling of NC rings with weighted term order
-------------------------------------+-------------------------------------
       Reporter:  tscrim             |        Owner:  tscrim
           Type:  defect             |       Status:  needs_review
       Priority:  major              |    Milestone:  sage-6.4
      Component:  pickling           |   Resolution:
       Keywords:                     |    Merged in:
        Authors:  Travis Scrimshaw   |    Reviewers:
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
  public/pickling/term_order_NC_plural-17224|  
13a552e4bc9fca71db81f6d2bd1a766f8d782e8f
   Dependencies:                     |     Stopgaps:
-------------------------------------+-------------------------------------
Changes (by tscrim):

 * status:  new => needs_review
 * commit:   => 13a552e4bc9fca71db81f6d2bd1a766f8d782e8f
 * cc: mmarco, jhpalmieri (added)
 * branch:   => public/pickling/term_order_NC_plural-17224


Old description:

> The term order is pickled by the name rather than the object `TermOrder`.
> This causes problems for term orders which need additional arguments.

New description:

 The term order is pickled by the name rather than the object `TermOrder`.
 This causes problems for term orders which need additional arguments.
 {{{
 sage: from sage.rings.polynomial.term_order import TermOrder
 sage: F.<x,y> = FreeAlgebra(QQ)
 sage: g = F.g_algebra({y*x:-x*y}, order=TermOrder('wdegrevlex', [1,2]))
 sage: loads(dumps(g)) # Boom
 }}}

--

Comment:

 1 hour of my life for 2 lines... Needs review.
 ----
 New commits:
 
||[http://git.sagemath.org/sage.git/commit/?id=13a552e4bc9fca71db81f6d2bd1a766f8d782e8f
 13a552e]||{{{Fix for pickling NC rings with weighted term order.}}}||

--
Ticket URL: <http://trac.sagemath.org/ticket/17224#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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to