#16275: Hom: introduce a check argument to simplify the unpickling detection 
logic
-------------------------------------+-------------------------------------
       Reporter:  nthiery            |        Owner:
           Type:  enhancement        |       Status:  closed
       Priority:  major              |    Milestone:  sage-6.3
      Component:  categories         |   Resolution:  fixed
       Keywords:  homset, pickling   |    Merged in:
        Authors:  Nicolas M.         |    Reviewers:  Simon King, Nicolas
  Thiéry, Simon King                 |  M. Thiéry
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
  e1e916cde347deac1df9079f7ec856184e3862bf|     Stopgaps:
   Dependencies:                     |
-------------------------------------+-------------------------------------

Comment (by SimonKing):

 In one of the commits, I see
 {{{
 except BaseException:
     # An error should not happen, this here is just to be on
     # the safe side.
     category_mismatch = True
 }}}
 This pretty much explains it. I have never seen such error. However, if
 for some silly reason the test "`O in category`" does not return `False`
 but results in any error (but not `KeyboardInterrupt`), then I want to
 count it as a mismatch.

--
Ticket URL: <http://trac.sagemath.org/ticket/16275#comment:48>
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