Skip to content

Commit

Permalink
Replace trac to Issue
Browse files Browse the repository at this point in the history
  • Loading branch information
kwankyu committed Mar 21, 2024
1 parent 3f71c67 commit 89ef009
Show file tree
Hide file tree
Showing 18 changed files with 20 additions and 20 deletions.
2 changes: 1 addition & 1 deletion src/sage/graphs/path_enumeration.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -1597,7 +1597,7 @@ def _all_paths_iterator(self, vertex, ending_vertices=None,
# the first vertex in the path). In this latter case we must
# not exit the new vertex again, so we do not consider it
# for further extension, but just yield it immediately. See
# trac #12385.
# Issue #12385.
frozen_path = frozenset(path)
for neighbor in neighbor_iterator(path[-1]):
if neighbor not in frozen_path:
Expand Down
2 changes: 1 addition & 1 deletion src/sage/libs/giac/giac.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -2102,7 +2102,7 @@ class GiacInstance:
libgiac=GiacInstance()
# trac #23976 (bound threads with SAGE_NUM_THREADS)
# Issue #23976 (bound threads with SAGE_NUM_THREADS)
import os
try:
ncpus = int(os.environ['SAGE_NUM_THREADS'])
Expand Down
2 changes: 1 addition & 1 deletion src/sage/libs/ntl/ntl_GF2EX.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ cdef class ntl_GF2EX():
if modulus is None:
raise ValueError("You must specify a modulus when creating a GF2E.")

str_x = str(x) # can cause modulus to change trac #25790
str_x = str(x) # can cause modulus to change; Issue #25790
self.c.restore_c()
ccreadstr(self.x, str_x)

Expand Down
2 changes: 1 addition & 1 deletion src/sage/libs/ntl/ntl_ZZ_p.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ cdef class ntl_ZZ_p():
mpz_to_ZZ(&den, (<Integer>v.denominator()).value)
ZZ_p_div(self.x, ZZ_to_ZZ_p(num), ZZ_to_ZZ_p(den))
else:
str_v = str(v) # can cause modulus to change trac #25790
str_v = str(v) # can cause modulus to change; Issue #25790
self.c.restore_c()
ccreadstr(self.x, str_v)

Expand Down
4 changes: 2 additions & 2 deletions src/sage/libs/ntl/ntl_ZZ_pE.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ cdef class ntl_ZZ_pE():
self.x = ZZ_pX_to_ZZ_pE((<ntl_ZZ_pX>v).x)
elif isinstance(v, (list, tuple)):
tmp_zzpx = <ntl_ZZ_pX>ntl_ZZ_pX(v, self.c.pc)
self.c.restore_c() # allocating tmp_zzpx can change the current modulus trac #25790
self.c.restore_c() # allocating tmp_zzpx can change the current modulus; Issue #25790
self.x = ZZ_pX_to_ZZ_pE(tmp_zzpx.x)
elif isinstance(v, int):
PyLong_to_ZZ(&temp, v)
Expand All @@ -122,7 +122,7 @@ cdef class ntl_ZZ_pE():
mpz_to_ZZ(&temp, (<Integer>v).value)
self.x = ZZ_to_ZZ_pE(temp)
else:
str_v = str(v) # can cause modulus to change trac #25790
str_v = str(v) # can cause modulus to change; Issue #25790
self.c.restore_c()
ccreadstr(self.x, str_v)

Expand Down
2 changes: 1 addition & 1 deletion src/sage/libs/ntl/ntl_ZZ_pX.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ cdef class ntl_ZZ_pX():
cc = x
ZZ_pX_SetCoeff(self.x, i, cc.x)
elif v is not None:
s = str(v).replace(',', ' ').replace('L', '') # can change the modulus trac #25790
s = str(v).replace(',', ' ').replace('L', '') # can change the modulus; Issue #25790
self.c.restore_c()
ccreadstr(self.x, s)

Expand Down
2 changes: 1 addition & 1 deletion src/sage/matrix/matrix0.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -5748,7 +5748,7 @@ cdef class Matrix(sage.structure.element.Matrix):
# that it's 1.
#
# However, doing this naively causes trouble over inexact
# fields -- see trac #2256. The *right* thing to do would
# fields -- see Issue #2256. The *right* thing to do would
# probably be to make sure that self.det() is nonzero. That
# doesn't work here, because our det over an arbitrary field
# just does expansion by minors and is unusable for even 10x10
Expand Down
2 changes: 1 addition & 1 deletion src/sage/matrix/matrix2.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -7252,7 +7252,7 @@ cdef class Matrix(Matrix1):
if e[1] and defect >= 0:
rows.extend(e[1] + [e[1][0].parent().zero_vector()] * defect)
else:
# see trac #27842
# see Issue #27842
raise RuntimeError(
"failed to compute eigenvectors for eigenvalue %s, "
"check eigenvectors_left() for partial results" % e[0])
Expand Down
2 changes: 1 addition & 1 deletion src/sage/misc/reset.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import sys

# Exclude these from the reset command.
# DATA, base64 -- needed by the notebook
# Add exit and quit to EXCLUDE to resolve trac #22529 and trac #16704
# Add exit and quit to EXCLUDE to resolve Issue #22529 and Issue #16704
EXCLUDE = set(['sage_mode', '__DIR__', 'DIR', 'DATA', 'base64', 'exit', 'quit'])


Expand Down
2 changes: 1 addition & 1 deletion src/sage/modules/with_basis/indexed_element.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -994,7 +994,7 @@ def _unpickle_element(C, d):
"""
return C._from_dict(d, coerce=False, remove_zeros=False)

# Handle old CombinatorialFreeModuleElement pickles, see trac #22632
# Handle old CombinatorialFreeModuleElement pickles, see Issue #22632
from sage.misc.persist import register_unpickle_override
register_unpickle_override("sage.combinat.free_module",
"CombinatorialFreeModuleElement",
Expand Down
2 changes: 1 addition & 1 deletion src/sage/rings/finite_rings/finite_field_base.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -876,7 +876,7 @@ cdef class FiniteField(Field):
return self.characteristic()**self.degree()

# cached because constructing the Factorization is slow;
# see trac #11628.
# see Issue #11628.
@cached_method
def factored_order(self):
"""
Expand Down
2 changes: 1 addition & 1 deletion src/sage/rings/polynomial/polynomial_real_mpfr_dense.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -705,7 +705,7 @@ cdef class PolynomialRealDense(Polynomial):
TESTS::
sage: R.<x> = RR[] # trac #17311
sage: R.<x> = RR[] # Issue #17311
sage: (x^2+1)(x=5)
26.0000000000000
"""
Expand Down
2 changes: 1 addition & 1 deletion src/sage/rings/rational.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -1640,7 +1640,7 @@ cdef class Rational(sage.structure.element.FieldElement):

# We should be able to run the code in the sign == 1 case
# below for both cases. However, we need to do extra work to
# avoid a bug in GMP's mpz_perfect_power_p; see trac #4612 for
# avoid a bug in GMP's mpz_perfect_power_p; see Issue #4612 for
# more details.
#
# The code in the case of sign == -1 could definitely be
Expand Down
2 changes: 1 addition & 1 deletion src/sage/sets/family.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -935,7 +935,7 @@ class FiniteFamilyWithHiddenKeys(FiniteFamily):
hidden_function = unpickle_function(hidden_function)
self.__init__(d['dictionary'], d['hidden_keys'], hidden_function)
self.hidden_dictionary = d['hidden_dictionary']
# Old pickles from before trac #22955 may not have a 'keys'
# Old pickles from before Issue #22955 may not have a 'keys'
if 'keys' in d:
self._keys = d['keys']
else:
Expand Down
2 changes: 1 addition & 1 deletion src/sage/structure/factory.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -722,7 +722,7 @@ def generic_factory_unpickle(factory, *args):
return F.get_object(*args)
except TypeError:
pass
# See trac #16349: When replacing a UniqueFactory by something else (e.g.,
# See Issue #16349: When replacing a UniqueFactory by something else (e.g.,
# a UniqueRepresentation), then we get the object by calling.
#
# The first argument of a UniqueFactory pickle is a version number. We
Expand Down
2 changes: 1 addition & 1 deletion src/sage/structure/parent.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -2503,7 +2503,7 @@ cdef class Parent(sage.structure.category_object.CategoryObject):
return self._convert_from_hash.get(S)
except KeyError:
mor = self.discover_convert_map_from(S)
# Before trac #14711, the morphism has been
# Before Issue #14711, the morphism has been
# put both into _convert_from_list and into
# _convert_from_hash. But there is no reason
# to have a double book-keeping, specifically
Expand Down
4 changes: 2 additions & 2 deletions src/sage/symbolic/expression.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -7828,9 +7828,9 @@ cdef class Expression(Expression_abc):
sage: gcd(I + I*x, x^2 - 1)
x + 1
sage: alg = SR(QQbar(sqrt(2) + I*sqrt(3)))
sage: gcd(alg + alg*x, x^2 - 1) # known bug (trac #28489)
sage: gcd(alg + alg*x, x^2 - 1) # known bug (Issue #28489)
x + 1
sage: gcd(alg - alg*x, x^2 - 1) # known bug (trac #28489)
sage: gcd(alg - alg*x, x^2 - 1) # known bug (Issue #28489)
x - 1
sage: sqrt2 = SR(QQbar(sqrt(2)))
sage: gcd(sqrt2 + x, x^2 - 2) # known bug
Expand Down
2 changes: 1 addition & 1 deletion src/sage/symbolic/function.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -1105,7 +1105,7 @@ cdef class BuiltinFunction(Function):
sage: p3 = AFunction('p3', 3)
sage: p3(x) # needs sage.symbolic
x^3
sage: loads(dumps(cot)) == cot # trac #15138
sage: loads(dumps(cot)) == cot # Issue #15138
True
"""
# check if already defined
Expand Down

0 comments on commit 89ef009

Please sign in to comment.