#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
the review-nt patch, fix doctests in map.pyx and homset.py
Report Upstream: N/A | Reviewers: Simon
King
Authors: Nicolas M. ThiƩry | Merged in:
Dependencies: #715, #11521, #12875, #12877, #12215 | Stopgaps:
--------------------------------------------------------+-------------------
Comment (by nthiery):
Replying to [comment:35 SimonKing]:
> I get four errors with `make ptestlong`:
> ...
> {{{
> sage -t --long -force_lib "devel/sage/sage/categories/map.pyx"
> **********************************************************************
> File
"/mnt/local/king/SAGE/stable/sage-5.0.beta13/devel/sage/sage/categories/map.pyx",
line 382:
> sage: phi.category()
> Expected:
> Category of hom sets in Category of rings
> Got:
> Category of hom sets in Category of sets
> **********************************************************************
> File
"/mnt/local/king/SAGE/stable/sage-5.0.beta13/devel/sage/sage/categories/map.pyx",
line 388:
> sage: f.category()
> Expected:
> Join of Category of hom sets in Category of rings and Category of
hom sets in Category of modules over Rational Field
> Got:
> Category of hom sets in Category of modules over Rational Field
> **********************************************************************
> }}}
This looks like the errors I was getting when I had removed completely
Rings.HomCategory. Can you double check that you have the latest
version of the reviewer patch from trac and that categories/rings.py
indeed has an (empty) class Rings.Homcategory?
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12876#comment:37>
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.