Decentralize sage.rings.numbers_abc
Closed this issue · 12 comments
mkoeppe commented
For the modularization, it's better to do the numbers ABC registration in the individual implementation modules.
We keep the module sage.rings.numbers_abc just for the doctests.
CC: @tscrim
Component: refactoring
Author: Matthias Koeppe
Branch/Commit: 8024209
Reviewer: Travis Scrimshaw
Issue created by migration from https://trac.sagemath.org/ticket/32641
mkoeppe commented
mkoeppe commented
New commits:
4296c63 | sage.rings.{integer,rational}: Copy numbers abc registration here from sage.rings.numbers_abc |
mkoeppe commented
Description changed:
---
+++
@@ -1,2 +1,4 @@
For the modularization, it's better to do the numbers ABC registration in the individual implementation modules.
+We keep the module `sage.rings.numbers_abc` just for the doctests.
+mkoeppe commented
Author: Matthias Koeppe
sagetrac-git commented
sagetrac-git commented
mkoeppe commented
comment:6
Patchbot is green except for the unrelated failure in src/sage/rings/integer.pyx.
tscrim commented
comment:7
IMO, this is a good idea anyways as it has better code localization.
tscrim commented
Reviewer: Travis Scrimshaw
mkoeppe commented
comment:8
Thanks!
vbraun commented
Changed branch from u/mkoeppe/decentralize_sage_rings_numbers_abc to 8024209