#10513: Coercion and category framework for modules
-------------------------------------+-------------------------------------
Reporter: SimonKing | Owner: robertwb
Type: defect | Status: needs_work
Priority: major | Milestone: sage-pending
Component: coercion | Resolution:
Keywords: coercion, | Merged in:
category framework, modules | Reviewers: Jean-Pierre Flori
Authors: Simon King, Peter | Work issues:
Bruin | Commit:
Report Upstream: N/A | 6b63026ceea5e9daaee46ca821a85e4edd6ded8b
Branch: | Stopgaps:
u/pbruin/10513-coercion_and_categories_for_modules|
Dependencies: #16507, #17578, |
#17561, #11126 |
-------------------------------------+-------------------------------------
Changes (by pbruin):
* commit: b1287e75962a2dc590f1fa22acc90a4e53383aab =>
6b63026ceea5e9daaee46ca821a85e4edd6ded8b
* dependencies: #16507, #17578, #17561 => #16507, #17578, #17561, #11126
* branch: u/jdemeyer/ticket/10513 =>
u/pbruin/10513-coercion_and_categories_for_modules
Comment:
With the new commits, the category of free modules is
`FreeModules(base_ring.category())` by default, and instead of taking the
join with `FiniteEnumeratedSets` (if applicable), we add a `list()`
method.
There are two doctest failures:
{{{
sage -t --long --warn-long 43.7 src/sage/matrix/matrix2.pyx # 1 doctest
failed
sage -t --long --warn-long 43.7 src/sage/modules/free_module.py # 1
doctest failed
}}}
The first is caused by #11126; the second is a `NotImplementedError` in
`repr()` caused by the fact that `basis()` is not implemented for abstract
free modules.
----
New commits:
||[http://git.sagemath.org/sage.git/commit/?id=f0957f0ab545bab9d405fadbe1fdffdbd9e39380
f0957f0]||{{{Trac 10513: use FreeModules(base_ring.category()) instead of
FreeModules(base_ring)}}}||
||[http://git.sagemath.org/sage.git/commit/?id=6b63026ceea5e9daaee46ca821a85e4edd6ded8b
6b63026]||{{{Trac 10513: method FreeModule_generic.list() to replace
FiniteEnumeratedSets magic}}}||
--
Ticket URL: <http://trac.sagemath.org/ticket/10513#comment:49>
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.