Skip to content

Commit 761d95d

Browse files
committed
Another mass replacement
1 parent f1a3bb4 commit 761d95d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+73
-73
lines changed

src/bin/sage-cleaner

+1-1
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ def fix_old_mistakes():
169169
"""
170170
Experience is simply the name we give our mistakes.
171171
"""
172-
# inconsistently escaped hyphens with underscores (http://trac.sagemath.org/14055)
172+
# inconsistently escaped hyphens with underscores (https://github.com/sagemath/sage/issues/14055)
173173
wrong_hostname = HOSTNAME.replace('-','_').replace('/','_').replace('\\','_')
174174
wrong_sage_tmp_root = os.path.join(DOT_SAGE, 'temp', wrong_hostname)
175175
if wrong_sage_tmp_root != SAGE_TMP_ROOT and os.path.exists(wrong_sage_tmp_root):

src/sage/algebras/lie_algebras/free_lie_algebra.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def __init__(self, lie, basis_name):
5959
doctest:warning
6060
...
6161
FutureWarning: The Hall basis has not been fully proven correct, but currently no bugs are known
62-
See http://trac.sagemath.org/16823 for details.
62+
See https://github.com/sagemath/sage/issues/16823 for details.
6363
Free Lie algebra generated by (x, y) over Rational Field in the Hall basis
6464
"""
6565
self._basis_name = basis_name

src/sage/algebras/lie_algebras/lie_algebra.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ class LieAlgebra(Parent, UniqueRepresentation): # IndexedGenerators):
273273
sage: H = L.Hall()
274274
doctest:warning...:
275275
FutureWarning: The Hall basis has not been fully proven correct, but currently no bugs are known
276-
See http://trac.sagemath.org/16823 for details.
276+
See https://github.com/sagemath/sage/issues/16823 for details.
277277
sage: H
278278
Free Lie algebra generated by (x, y, z) over Rational Field in the Hall basis
279279
sage: Lyn = L.Lyndon()

src/sage/algebras/lie_algebras/lie_algebra_element.pyx

+1-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ cdef class LieAlgebraElement(IndexedFreeModuleElement):
9595
sage: H = L.Hall()
9696
doctest:warning...:
9797
FutureWarning: The Hall basis has not been fully proven correct, but currently no bugs are known
98-
See http://trac.sagemath.org/16823 for details.
98+
See https://github.com/sagemath/sage/issues/16823 for details.
9999
sage: elt = Lyn.an_element()
100100
sage: elt._im_gens_(H, H.gens())
101101
x + y + z

src/sage/algebras/lie_algebras/morphism.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ class LieAlgebraHomomorphism_im_gens(Morphism):
5454
sage: H = L.Hall()
5555
doctest:warning...:
5656
FutureWarning: The Hall basis has not been fully proven correct, but currently no bugs are known
57-
See http://trac.sagemath.org/16823 for details.
57+
See https://github.com/sagemath/sage/issues/16823 for details.
5858
sage: phi = Lyn.coerce_map_from(H); phi
5959
Lie algebra morphism:
6060
From: Free Lie algebra generated by (x, y, z) over Rational Field in the Hall basis

src/sage/categories/unital_algebras.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ def __init_extra__(self):
109109
sage: Bar(category=Algebras(QQ))
110110
doctest:warning...:
111111
DeprecationWarning: the attribute _no_generic_basering_coercion is deprecated, implement _coerce_map_from_base_ring() instead
112-
See http://trac.sagemath.org/19225 for details.
112+
See https://github.com/sagemath/sage/issues/19225 for details.
113113
<__main__.Bar_with_category object at 0x...>
114114
"""
115115
if getattr(self, '_no_generic_basering_coercion', False):

src/sage/coding/gabidulin_code.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -544,7 +544,7 @@ class GabidulinPolynomialEvaluationEncoder(Encoder):
544544
sage: p = (z9^6 + z9^2 + z9 + 1)*x + z9^7 + z9^5 + z9^4 + z9^2
545545
sage: vector(p.multi_point_evaluation(C.evaluation_points()))
546546
doctest:...: FutureWarning: This class/method/function is marked as experimental. It, its functionality or its interface might change without a formal deprecation.
547-
See http://trac.sagemath.org/13215 for details.
547+
See https://github.com/sagemath/sage/issues/13215 for details.
548548
(z9^7 + z9^6 + z9^5 + z9^4 + z9 + 1, z9^6 + z9^5 + z9^3 + z9)
549549
550550
EXAMPLES::

src/sage/combinat/k_regular_sequence.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
doctest:...: FutureWarning: This class/method/function is
1919
marked as experimental. It, its functionality or its interface
2020
might change without a formal deprecation.
21-
See http://trac.sagemath.org/21202 for details.
21+
See https://github.com/sagemath/sage/issues/21202 for details.
2222
2323
2424
Examples

src/sage/combinat/recognizable_series.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
doctest:...: FutureWarning: This class/method/function is
3939
marked as experimental. It, its functionality or its interface
4040
might change without a formal deprecation.
41-
See http://trac.sagemath.org/21202 for details.
41+
See https://github.com/sagemath/sage/issues/21202 for details.
4242
4343
4444
Various

src/sage/doctest/forker.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ def init_sage(controller=None):
214214
debug.refine_category_hash_check = True
215215

216216
# We import readline before forking, otherwise Pdb doesn't work
217-
# on OS X: http://trac.sagemath.org/14289
217+
# on OS X: https://github.com/sagemath/sage/issues/14289
218218
try:
219219
import readline
220220
except ModuleNotFoundError:

src/sage/dynamics/surface_dynamics_deprecation.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def surface_dynamics_deprecation(name):
2525
computation that are currently available in Sage. See more
2626
information at
2727
http://www.labri.fr/perso/vdelecro/surface-dynamics/latest/
28-
See http://trac.sagemath.org/20695 for details.
28+
See https://github.com/sagemath/sage/issues/20695 for details.
2929
"""
3030
from sage.misc.superseded import deprecation
3131
deprecation(20695, deprecation_msg.format(name))

src/sage/functions/other.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
sage: beta(x, x)
1010
doctest:warning...: DeprecationWarning:
1111
Importing beta from here is deprecated; please use "from sage.functions.gamma import beta" instead.
12-
See http://trac.sagemath.org/24411 for details.
12+
See https://github.com/sagemath/sage/issues/24411 for details.
1313
beta(x, x)
1414
"""
1515

src/sage/graphs/generic_graph.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -11253,7 +11253,7 @@ def vertices(self, sort=None, key=None, degree=None, vertex_property=None):
1125311253
sage: G = graphs.HouseGraph()
1125411254
sage: G.vertices()
1125511255
doctest:...: DeprecationWarning: parameter 'sort' will be set to False by default in the future
11256-
See http://trac.sagemath.org/22349 for details.
11256+
See https://github.com/sagemath/sage/issues/22349 for details.
1125711257
[0, 1, 2, 3, 4]
1125811258
"""
1125911259
if sort is None:

src/sage/groups/class_function.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
#
3737
# This module needs to be rewritten to implement the ring of class
3838
# functions in the usual parent/element pattern. But
39-
# http://trac.sagemath.org/14014 is already too long...
39+
# https://github.com/sagemath/sage/issues/14014 is already too long...
4040

4141

4242
def ClassFunction(group, values):

src/sage/homology/tests.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@
1212
sage: from sage.homology.tests import test_random_chain_complex
1313
sage: test_random_chain_complex(trials=20) # optional - CHomP
1414
doctest:...: DeprecationWarning: the CHomP interface is deprecated; hence so is this function
15-
See http://trac.sagemath.org/33777 for details.
15+
See https://github.com/sagemath/sage/issues/33777 for details.
1616
sage: test_random_chain_complex(level=2, trials=20) # optional - CHomP
1717
sage: test_random_chain_complex(level=3, trials=20) # long time # optional - CHomP
1818
1919
sage: from sage.homology.tests import test_random_simplicial_complex
2020
sage: test_random_simplicial_complex(level=1, trials=20) # optional - CHomP
2121
doctest:...: DeprecationWarning: the CHomP interface is deprecated; hence so is this function
22-
See http://trac.sagemath.org/33777 for details.
22+
See https://github.com/sagemath/sage/issues/33777 for details.
2323
sage: test_random_simplicial_complex(level=2, trials=20) # optional - CHomP
2424
sage: test_random_simplicial_complex(level=5/2, trials=10) # long time # optional - CHomP
2525
"""
@@ -86,7 +86,7 @@ def test_random_chain_complex(level=1, trials=1, verbose=False):
8686
sage: from sage.homology.tests import test_random_chain_complex
8787
sage: test_random_chain_complex(trials=2) # optional - CHomP
8888
doctest:...: DeprecationWarning: the CHomP interface is deprecated; hence so is this function
89-
See http://trac.sagemath.org/33777 for details.
89+
See https://github.com/sagemath/sage/issues/33777 for details.
9090
"""
9191
deprecation(33777, 'the CHomP interface is deprecated; hence so is this function')
9292
for i in range(trials):
@@ -146,7 +146,7 @@ def test_random_simplicial_complex(level=1, trials=1, verbose=False):
146146
sage: from sage.homology.tests import test_random_simplicial_complex
147147
sage: test_random_simplicial_complex(trials=2) # optional - CHomP
148148
doctest:...: DeprecationWarning: the CHomP interface is deprecated; hence so is this function
149-
See http://trac.sagemath.org/33777 for details.
149+
See https://github.com/sagemath/sage/issues/33777 for details.
150150
"""
151151
deprecation(33777, 'the CHomP interface is deprecated; hence so is this function')
152152
for i in range(trials):

src/sage/matrix/matrix2.pyx

+1-1
Original file line numberDiff line numberDiff line change
@@ -9936,7 +9936,7 @@ cdef class Matrix(Matrix1):
99369936

99379937
sage: M.adjoint()
99389938
...: DeprecationWarning: adjoint is deprecated. Please use adjugate instead.
9939-
See http://trac.sagemath.org/10501 for details.
9939+
See https://github.com/sagemath/sage/issues/10501 for details.
99409940
[ 41/10 -1/28]
99419941
[-33/13 5/3]
99429942
sage: M.adjoint_classical()

src/sage/matrix/matrix_gfpn_dense.pyx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1884,7 +1884,7 @@ def mtx_unpickle(f, int nr, int nc, data, bint m):
18841884
doctest:warning
18851885
...
18861886
DeprecationWarning: Reading this pickle may be machine dependent
1887-
See http://trac.sagemath.org/23411 for details.
1887+
See https://github.com/sagemath/sage/issues/23411 for details.
18881888
True
18891889
18901890
Unpickling would even work in the case that the machine creating

src/sage/media/wav.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
sage: import sage.media
3232
doctest:warning...
3333
DeprecationWarning: the package sage.media is deprecated
34-
See http://trac.sagemath.org/12673 for details.
34+
See https://github.com/sagemath/sage/issues/12673 for details.
3535
"""
3636

3737
import math

src/sage/misc/cachefunc.pyx

+2-2
Original file line numberDiff line numberDiff line change
@@ -1875,7 +1875,7 @@ cdef class CachedMethodCaller(CachedFunction):
18751875
18761876
sage: a.g(5) is a.f(5)
18771877
doctest:...: DeprecationWarning: g is deprecated. Please use f instead.
1878-
See http://trac.sagemath.org/57 for details.
1878+
See https://github.com/sagemath/sage/issues/57 for details.
18791879
True
18801880
sage: Foo.g(a, 5) is a.f(5)
18811881
True
@@ -2707,7 +2707,7 @@ cdef class CachedMethod():
27072707
27082708
sage: a.g() is a.f()
27092709
doctest:...: DeprecationWarning: g is deprecated. Please use f instead.
2710-
See http://trac.sagemath.org/57 for details.
2710+
See https://github.com/sagemath/sage/issues/57 for details.
27112711
True
27122712
sage: Foo.g(a) is a.f()
27132713
True

src/sage/misc/decorators.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -641,7 +641,7 @@ def __call__(self, func):
641641
() {'new_option': 1}
642642
sage: f(deprecated_option=1)
643643
doctest:...: DeprecationWarning: use the option 'new_option' instead of 'deprecated_option'
644-
See http://trac.sagemath.org/13109 for details.
644+
See https://github.com/sagemath/sage/issues/13109 for details.
645645
() {'new_option': 1}
646646
"""
647647
@sage_wraps(func)

src/sage/misc/latex_standalone.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -1243,7 +1243,7 @@ def from_graph(cls, graph, merge_multiedges=True,
12431243
sage: tikz = TikzPicture.from_graph(g) # optional sage.graphs dot2tex graphviz
12441244
doctest:...: FutureWarning: This class/method/function is marked as experimental.
12451245
It, its functionality or its interface might change without a formal deprecation.
1246-
See http://trac.sagemath.org/20343 for details.
1246+
See https://github.com/sagemath/sage/issues/20343 for details.
12471247
sage: _ = tikz.pdf() # not tested
12481248
12491249
Using ``prog``::
@@ -1372,7 +1372,7 @@ def from_graph_with_pos(cls, graph, scale=1, merge_multiedges=True,
13721372
sage: tikz = TikzPicture.from_graph_with_pos(g) # optional sage.graphs
13731373
doctest:...: FutureWarning: This class/method/function is marked as experimental.
13741374
It, its functionality or its interface might change without a formal deprecation.
1375-
See http://trac.sagemath.org/20343 for details.
1375+
See https://github.com/sagemath/sage/issues/20343 for details.
13761376
13771377
::
13781378
@@ -1500,7 +1500,7 @@ def from_poset(cls, poset, **kwds):
15001500
sage: tikz = TikzPicture.from_poset(P) # optional sage.combinat dot2tex graphviz
15011501
doctest:...: FutureWarning: This class/method/function is marked as experimental.
15021502
It, its functionality or its interface might change without a formal deprecation.
1503-
See http://trac.sagemath.org/20343 for details.
1503+
See https://github.com/sagemath/sage/issues/20343 for details.
15041504
15051505
::
15061506

src/sage/misc/lazy_import.pyx

+2-2
Original file line numberDiff line numberDiff line change
@@ -1043,15 +1043,15 @@ def lazy_import(module, names, as_=None, *,
10431043
sage: my_Qp(5)
10441044
doctest:...: DeprecationWarning:
10451045
Importing my_Qp from here is deprecated; please use "from sage.all import Qp as my_Qp" instead.
1046-
See http://trac.sagemath.org/14275 for details.
1046+
See https://github.com/sagemath/sage/issues/14275 for details.
10471047
5-adic Field with capped relative precision 20
10481048
10491049
An example of deprecation with a message::
10501050
10511051
sage: lazy_import('sage.all', 'Qp', 'my_Qp_msg', deprecation=(14275, "This is an example."))
10521052
sage: my_Qp_msg(5)
10531053
doctest:...: DeprecationWarning: This is an example.
1054-
See http://trac.sagemath.org/14275 for details.
1054+
See https://github.com/sagemath/sage/issues/14275 for details.
10551055
5-adic Field with capped relative precision 20
10561056
10571057
An example of an import relying on a feature::

src/sage/rings/asymptotic/asymptotic_expansion_generators.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1095,7 +1095,7 @@ def ImplicitExpansion(var, phi, tau=None, precision=None):
10951095
doctest:warning
10961096
...
10971097
FutureWarning: This class/method/function is marked as experimental. It, its functionality or its interface might change without a formal deprecation.
1098-
See http://trac.sagemath.org/20050 for details.
1098+
See https://github.com/sagemath/sage/issues/20050 for details.
10991099
1 - sqrt(2)*Z^(-1/2) + 2/3*Z^(-1) - 11/36*sqrt(2)*Z^(-3/2) +
11001100
43/135*Z^(-2) - 769/4320*sqrt(2)*Z^(-5/2) + 1768/8505*Z^(-3) + O(Z^(-7/2))
11011101
@@ -1277,7 +1277,7 @@ def ImplicitExpansionPeriodicPart(var, phi, period, tau=None, precision=None):
12771277
doctest:warning
12781278
...
12791279
FutureWarning: This class/method/function is marked as experimental. It, its functionality or its interface might change without a formal deprecation.
1280-
See http://trac.sagemath.org/20050 for details.
1280+
See https://github.com/sagemath/sage/issues/20050 for details.
12811281
2 - 2*Z^(-1/2) + 2*Z^(-1) - 2*Z^(-3/2) + 2*Z^(-2) - 2*Z^(-5/2) + O(Z^(-3))
12821282
sage: def g(z):
12831283
....: return (1 - sqrt(1 - 4*z))/(2*z)

src/sage/rings/complex_field.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
doctest:warning
88
...
99
DeprecationWarning: the complex_field module is deprecated, please use sage.rings.complex_mpfr
10-
See http://trac.sagemath.org/24483 for details.
10+
See https://github.com/sagemath/sage/issues/24483 for details.
1111
sage: ComplexField()
1212
Complex Field with 53 bits of precision
1313
"""

src/sage/rings/complex_number.pyx

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ TESTS::
77
doctest:warning
88
...
99
DeprecationWarning: the complex_number module is deprecated, please use sage.rings.complex_mpfr
10-
See http://trac.sagemath.org/24483 for details.
10+
See https://github.com/sagemath/sage/issues/24483 for details.
1111
"""
1212
from sage.misc.superseded import deprecation
1313
from sage.rings.complex_mpfr import *

src/sage/rings/laurent_series_ring_element.pyx

+1-1
Original file line numberDiff line numberDiff line change
@@ -527,7 +527,7 @@ cdef class LaurentSeries(AlgebraElement):
527527
528528
sage: f[-10:2]
529529
doctest:...: DeprecationWarning: polynomial slicing with a start index is deprecated, use list() and slice the resulting list instead
530-
See http://trac.sagemath.org/18940 for details.
530+
See https://github.com/sagemath/sage/issues/18940 for details.
531531
-5*t^-10 + 1/3 + t + O(t^5)
532532
sage: f[0:]
533533
1/3 + t + t^2 - 10/3*t^3 + O(t^5)

src/sage/rings/morphism.pyx

+3-3
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,7 @@ def is_RingHomomorphism(phi):
404404
doctest:warning
405405
...
406406
DeprecationWarning: is_RingHomomorphism() should not be used anymore. Check whether the category_for() your morphism is a subcategory of Rings() instead.
407-
See http://trac.sagemath.org/23204 for details.
407+
See https://github.com/sagemath/sage/issues/23204 for details.
408408
True
409409
sage: sage.rings.morphism.is_RingHomomorphism(2/3)
410410
False
@@ -1654,7 +1654,7 @@ cdef class RingHomomorphism_coercion(RingHomomorphism):
16541654
doctest:warning
16551655
...
16561656
DeprecationWarning: Set the category of your morphism to a subcategory of Rings instead.
1657-
See http://trac.sagemath.org/23204 for details.
1657+
See https://github.com/sagemath/sage/issues/23204 for details.
16581658
sage: TestSuite(f).run()
16591659
16601660
"""
@@ -1668,7 +1668,7 @@ cdef class RingHomomorphism_coercion(RingHomomorphism):
16681668
doctest:warning
16691669
...
16701670
DeprecationWarning: Set the category of your morphism to a subcategory of Rings instead.
1671-
See http://trac.sagemath.org/23204 for details.
1671+
See https://github.com/sagemath/sage/issues/23204 for details.
16721672
sage: isinstance(f, RingHomomorphism_coercion)
16731673
True
16741674

src/sage/rings/padics/factory.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
1212
sage: R = ZpLC(2)
1313
doctest:...: FutureWarning: This class/method/function is marked as experimental. It, its functionality or its interface might change without a formal deprecation.
14-
See http://trac.sagemath.org/23505 for details.
14+
See https://github.com/sagemath/sage/issues/23505 for details.
1515
sage: R = ZpLF(2)
1616
sage: R = QpLC(2)
1717
sage: R = QpLF(2)

src/sage/rings/padics/generic_nodes.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ class pAdicLatticeGeneric(pAdicGeneric):
285285
286286
sage: R = ZpLC(17) # indirect doctest
287287
doctest:...: FutureWarning: This class/method/function is marked as experimental. It, its functionality or its interface might change without a formal deprecation.
288-
See http://trac.sagemath.org/23505 for details.
288+
See https://github.com/sagemath/sage/issues/23505 for details.
289289
sage: R._prec_type()
290290
'lattice-cap'
291291

src/sage/rings/padics/lattice_precision.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
1010
sage: R = ZpLC(2)
1111
doctest:...: FutureWarning: This class/method/function is marked as experimental. It, its functionality or its interface might change without a formal deprecation.
12-
See http://trac.sagemath.org/23505 for details.
12+
See https://github.com/sagemath/sage/issues/23505 for details.
1313
sage: prec = R.precision()
1414
sage: prec
1515
Precision lattice on 0 objects

src/sage/rings/padics/local_generic.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ def is_lattice_prec(self):
196196
O(5^8)
197197
sage: S = ZpLC(5, 15)
198198
doctest:...: FutureWarning: This class/method/function is marked as experimental. It, its functionality or its interface might change without a formal deprecation.
199-
See http://trac.sagemath.org/23505 for details.
199+
See https://github.com/sagemath/sage/issues/23505 for details.
200200
sage: S.is_lattice_prec()
201201
True
202202
sage: x = S(25, 8)

src/sage/rings/padics/local_generic_element.pyx

+1-1
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ cdef class LocalGenericElement(CommutativeRingElement):
268268
doctest:warning
269269
...
270270
DeprecationWarning: __getitem__ is changing to match the behavior of number fields. Please use expansion instead.
271-
See http://trac.sagemath.org/14825 for details.
271+
See https://github.com/sagemath/sage/issues/14825 for details.
272272
5^-2 + 5 + O(5^3)
273273
274274
TESTS:

src/sage/rings/padics/padic_base_generic.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ def _repr_(self, do_latex=False):
108108
\Bold{Z}_{7}
109109
sage: K = ZpLF(2); K # indirect doctest
110110
doctest:...: FutureWarning: This class/method/function is marked as experimental. It, its functionality or its interface might change without a formal deprecation.
111-
See http://trac.sagemath.org/23505 for details.
111+
See https://github.com/sagemath/sage/issues/23505 for details.
112112
2-adic Ring with lattice-float precision
113113
sage: latex(K)
114114
\Bold{Z}_{2}

0 commit comments

Comments
 (0)