#12876: Fix element and parent classes of Hom categories to be abstract, and
simplify the Hom logic.
-------------------------------------+--------------------------------------
Reporter: nthiery | Owner: nthiery
Type: enhancement | Status: needs_work
Priority: major | Milestone: sage-5.1
Component: categories | Resolution:
Keywords: categories, Hom | Work issues: Fix ring_refcount_dict
problem
Report Upstream: N/A | Reviewers: Simon King
Authors: Nicolas M. ThiƩry | Merged in:
Dependencies: #12875, #12877 | Stopgaps:
-------------------------------------+--------------------------------------
Changes (by SimonKing):
* status: needs_review => needs_work
* work_issues: => Fix ring_refcount_dict problem
Comment:
With #12808, #12875 and #12877 applied on top of sage-5.1.notebook, all
doctests pass. But when adding the patch from here, there are two
problems:
{{{
sage -t -force_lib "devel/sage/sage/libs/singular/ring.pyx"
sage -t -force_lib
"devel/sage/sage/rings/polynomial/multi_polynomial_libsingular.pyx"
}}}
Namely:
{{{
sage -t -force_lib "devel/sage/sage/libs/singular/ring.pyx"
**********************************************************************
File
"/mnt/local/king/SAGE/experiment/notebook/sage-5.1.notebook/devel/sage/sage/libs/singular/ring.pyx",
line 469:
sage: ring_ptr in ring_refcount_dict
Expected:
False
Got:
True
**********************************************************************
}}}
and
{{{
sage -t -force_lib
"devel/sage/sage/rings/polynomial/multi_polynomial_libsingular.pyx"
**********************************************************************
File
"/mnt/local/king/SAGE/experiment/notebook/sage-5.1.notebook/devel/sage/sage/rings/polynomial/multi_polynomial_libsingular.pyx",
line 418:
sage: len(ring_refcount_dict) == n
Expected:
True
Got:
False
**********************************************************************
}}}
So, apparently it is only a single problem.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12876#comment:11>
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.