1. 26 May, 2019 2 commits
  2. 25 May, 2019 1 commit
  3. 22 May, 2019 1 commit
  4. 20 May, 2019 25 commits
    • Release Manager's avatar
      Trac #27839: Remove some long() calls · ef24a11f
      Release Manager authored
      In various places in Sage, there are explicit `long(...)` calls being
      done. Some of them are superfluous or can be replaced by `int`.
      
      We don't try to fix all `long()` calls, just a few obviously avoidable
      ones.
      
      URL: https://trac.sagemath.org/27839
      Reported by: jdemeyer
      Ticket author(s): Jeroen Demeyer
      Reviewer(s): Vincent Klein
      ef24a11f
    • Release Manager's avatar
      Trac #27835: pyflakes cleanup in functions · e54ec9e6
      Release Manager authored
      Many unused imports, some missing imports, and some bad code.
      
      URL: https://trac.sagemath.org/27835
      Reported by: chapoton
      Ticket author(s): Frédéric Chapoton
      Reviewer(s): Travis Scrimshaw
      e54ec9e6
    • Release Manager's avatar
      Trac #27821: covering_design.py & design_catalog.py: Fix AttributeError · b22dfb87
      Release Manager authored
      1. Fix the following bug.
      {{{
      sage: C = designs.best_known_covering_design_from_LJCR(7, 3, 2)
      ------------------------------------------------------------------------
      ---
      AttributeError                            Traceback (most recent call
      last)
      <ipython-input-1-a3d9f9e592f1> in <module>()
      ----> 1 C = designs.best_known_covering_design_from_LJCR(Integer(7),
      Integer(3), Integer(2))
      
      /home/slabbe/GitBox/sage/local/lib/python2.7/site-
      packages/sage/combinat/designs/covering_design.pyc in
      best_known_covering_design_www(v, k, t, verbose)
          525     if verbose:
          526         print("Looking up the bounds at %s" % url)
      --> 527     with urlopen(url) as f:
          528         s = bytes_to_str(f.read())
          529     if 'covering not in database' in s:  # not found
      
      AttributeError: addinfourl instance has no attribute '__exit__'
      }}}
      Found by Sebastien Labbé see #26592
      
      The root cause is that the object returned by {{{urlopen}}} doesn't have
      an {{{__exit__}}} method in python2 and therefore it can not be used
      with a {{{with ... as ...}}} syntax.
      
      2. Fix a doctest error in design_catalog.py:
      
      {{{
      sage -t --long src/sage/combinat/designs/design_catalog.py
      **********************************************************************
      File "src/sage/combinat/designs/design_catalog.py", line 23, in
      sage.combinat.designs.design_catalog
      Failed example:
          C                            # optional - internet
      Expected:
          (7,3,2)-covering design of size 7
          Lower bound: 7
          Method: lex covering
          Submitted on: 1996-12-01 00:00:00
      Got:
          (7, 3, 2)-covering design of size 7
          Lower bound: 7
          Method: lex covering
          Submitted on: 1996-12-01 00:00:00
      **********************************************************************
      }}}
      
      URL: https://trac.sagemath.org/27821
      Reported by: vklein
      Ticket author(s): Vincent Klein
      Reviewer(s): Sébastien Labbé
      b22dfb87
    • Release Manager's avatar
      Trac #27802: polymake interface: Convert Python dicts to Perl hashes · 992d0a6d
      Release Manager authored
      This allows to use polyDB queries as follows:
      {{{
      sage: L = polymake.db_query({'"_id"': '"F.4D.0047"'},
      db='"LatticePolytopes"', collection='"SmoothReflexive"')
      sage: L
      BigObjectArray
      sage: len(L)
      1
      sage: P = L[0]
      sage: P.list_properties()
      LATTICE_POINTS_GENERATORS, LINEALITY_SPACE, F_VECTOR,
      EHRHART_POLYNOMIAL, NORMAL, VERY_AMPLE, AFFINE_HULL,
      N_BOUNDARY_LATTICE_POINTS, H_STAR_VECTOR, LATTICE_CODEGREE, FACETS,
      N_LATTICE_POINTS, ESSENTIALLY_GENERIC, CONE_DIM, GORENSTEIN, FEASIBLE,
      VERTICES, CENTROID, LATTICE_VOLUME, FULL_DIM, CONE_AMBIENT_DIM,
      FACET_WIDTHS, SMOOTH, N_INTERIOR_LATTICE_POINTS, POINTED,
      LATTICE_DEGREE, N_FACETS, REFLEXIVE, N_VERTICES
      sage: P.F_VECTOR
      20 40 29 9
      }}}
      
      URL: https://trac.sagemath.org/27802
      Reported by: mkoeppe
      Ticket author(s): Matthias Koeppe
      Reviewer(s): Dima Pasechnik
      992d0a6d
    • Release Manager's avatar
      Trac #27738: Upgrade R to 3.6.0 · bb7d45eb
      Release Manager authored
      ... because i'ts
      [https://stat.ethz.ch/pipermail/r-announce/2019/000641.html time]...
      
      Upstream tarball :
      https://cran.r-project.org/src/base/R-3/R-3.6.0.tar.gz
      
      URL: https://trac.sagemath.org/27738
      Reported by: charpent
      Ticket author(s): Emmanuel Charpentier
      Reviewer(s): Dima Pasechnik, Erik Bray
      bb7d45eb
    • Release Manager's avatar
      Trac #27712: improve function field differentials to work over nested fields · c244c634
      Release Manager authored
      Differentials don't currently work right over nested function fields.
      For example,
      
      {{{
      sage: K.<x> = FunctionField(GF(31))
      sage: R.<y> = K[]
      sage: L.<y> = K.extension(y^2 - x)
      sage: R.<z> = L[]
      sage: M.<z> = L.extension(z^2 - y)
      
      sage: K.space_of_differentials()(x)
      d(x)
      sage: L.space_of_differentials()(x)
      d(x)
      sage: M.space_of_differentials()(x)
      d(y)
      
      sage: z.differential()
      (8/x*z) d(y)
      }}}
      
      Yet dz = 1/(2*z) dy, which isn't (8/x*z):
      
      {{{
      sage: 1/(2*z) == (8/x*z)
      False
      }}}
      
      This ticket is spun off from #26993
      
      URL: https://trac.sagemath.org/27712
      Reported by: gh-BrentBaccala
      Ticket author(s): Brent Baccala
      Reviewer(s): Kwankyu Lee
      c244c634
    • Release Manager's avatar
      Trac #27556: Move references in sage/schemes to master bibliography file · 9f9a4af7
      Release Manager authored
      As the summary says. Part of #27497.
      
      URL: https://trac.sagemath.org/27556
      Reported by: jhpalmieri
      Ticket author(s): John Palmieri
      Reviewer(s): Travis Scrimshaw
      9f9a4af7
    • Release Manager's avatar
      Trac #27518: Implementation of Floyd-Warshall for all pair shortest distance · f8b9a2a7
      Release Manager authored
      Currently sage has implemented Floyd-Warshall algorithm only for graphs
      with constant edge weight of 1 in cython. Implementation of Floyd
      warshall algorithm in cython for finding all pair shortest
      distances(ASAD) can be done. This algorithm can be further improved to
      find all pair shortest paths(ASAP)(Later).
      
      We can also improve all pair shortest distance algorithm using the
      technique described in the following paper:-
      https://pdfs.semanticscholar.org/568f/58737e752bf831a3e48036cf5205facce7
      69.pdf
      Usually complexity for finding ASAD with matrix multiplication comes
      with large constants that results in slow running time, But the
      implementation that is described in the paper can faster the running
      time for algorithm.
      
      URL: https://trac.sagemath.org/27518
      Reported by: gh-Hrishabh-yadav
      Ticket author(s): Georgios Giapitzakis Tzintanos
      Reviewer(s): David Coudert
      f8b9a2a7
    • Release Manager's avatar
      Trac #27186: spkg-configure.m4 for libpng · 3e1cf317
      Release Manager authored
      Also should be done for #27168
      
      Note libpng comes in a number of different ABI versions, usually
      indicated in the library filename as a suffix like "12" (for 1.2.x) up
      through "16" (for 1.6.x), where 16 is the most current and currently
      supported by Sage.  Distros like Debian has separate packages for each
      libpng ABI version.
      
      I think to keep it simple we should specifically check for and require
      libpng16.  I don't know if all of Sage's dependencies support older
      libpngs.
      
      configure tarball: https://trac.sagemath.org/raw-
      attachment/ticket/27186/configure-318.tar.gz
      
      URL: https://trac.sagemath.org/27186
      Reported by: embray
      Ticket author(s): Dima Pasechnik
      Reviewer(s): François Bissey
      3e1cf317
    • Release Manager's avatar
      Trac #26526: mutable poset: remove default for breaking ties in topological sort · 1361286f
      Release Manager authored
      At the moment `shells_topological` of a mutable poset breaks ties by
      means of `repr` by default. However, mutable poset is a data structure
      and should not do this expensive operation by default, therefore this
      default should be removed which is the aim of this ticket.
      
      Note that this default was in mainly due to convenience reasons to have
      the results in the doctests always in the same order.
      
      (Motivation: For my code/application, this improves the computation time
      by more than a factor 2.)
      
      URL: https://trac.sagemath.org/26526
      Reported by: dkrenn
      Ticket author(s): Daniel Krenn
      Reviewer(s): Benjamin Hackl
      1361286f
    • Release Manager's avatar
      Trac #26504: asymptotic ring substitute: allow modification of "internal"... · 34ac5576
      Release Manager authored
      Trac #26504: asymptotic ring substitute: allow modification of "internal" rules (as claimed in the docs)
      
      Substituting in asymptotic rings allow to specify a `0` and a `1` by the
      internal keys `_zero_` and `_one_` as documented. However, do to a check
      of the keys, a manual change of these is (in contrast to what is claimed
      in the doc) not possible. So, change this check.
      
      URL: https://trac.sagemath.org/26504
      Reported by: dkrenn
      Ticket author(s): Daniel Krenn
      Reviewer(s): Benjamin Hackl
      34ac5576
    • Release Manager's avatar
      Trac #25091: Expose some normaliz features · f6079336
      Release Manager authored
      Using Normaliz can compute several things that are currently not
      interfaced. This ticket implements:
      
       - Integral points generators
       - Euclidean volume and volume
       - Triangulation
       - Hilbert series
       - Ehrhart series of compact polyhedron
       - Ehrhart quasi-polynomial of compact polyhedron
      
      FOLLOWUP:
      
       - Make ehrhart_polynomial uniform (in the spirit of `.volume()` that
      can have several engines.
       - Move the lattice related methods to `Polyhedra_normaliz_QQ`.
      
      URL: https://trac.sagemath.org/25091
      Reported by: jipilab
      Ticket author(s): Jean-Philippe Labbé, Matthias Koeppe
      Reviewer(s): Travis Scrimshaw, Jeroen Demeyer
      f6079336
    • Release Manager's avatar
      Trac #27304: Bug in factorization of simple symbolic expressions · eb31a828
      Release Manager authored
      As reported in this [https://ask.sagemath.org/question/45469
      ask.sagemath question], we have currently (Sage 8.7.beta3):
      {{{
      sage: factor(2*exp(x) + exp(-x))
      3*e^x
      }}}
      as well as
      {{{
      sage: factor(x*exp(-x) + exp(-x))
      (x + 1)*e^x
      }}}
      
      Another example of erroneous result exhibited in
      https://groups.google.com/d/msg/sage-devel/ytLqIb4soLw/c14ZKGqcAAAJ is
      {{{
      sage: var('t u')
      (t, u)
      sage: L = (u + t)/(u - t)
      sage: factor(L.substitute(t=sqrt(u)))
      (u + 1)/(u - 1)
      }}}
      This bug is there since at least Sage 8.4.beta4. It is not in Sage 8.3,
      hence it must have been introduced between 8.4.beta0 and 8.4.beta4. It
      seems to have been introduced in #23835 (see comment:5).
      
      URL: https://trac.sagemath.org/27304
      Reported by: egourgoulhon
      Ticket author(s): Benjamin Hackl
      Reviewer(s): Emmanuel Charpentier
      eb31a828
    • Release Manager's avatar
      Trac #27657: Simplify ideal generators in function field code · 5cbe9405
      Release Manager authored
      Ideals of orders are often presented using more generators than needed.
      For example, this snippet is taken directly from a test case in
      sage/src/function_fields/ideal.py:
      
      {{{
      sage: K.<x> = FunctionField(QQ); R.<y> = K[]
      sage: L.<y> = K.extension(y^2 - x^3 - 1)
      sage: O = L.equation_order()
      sage: O.ideal(x^2 + 1)
      Ideal (x^2 + 1, (x^2 + 1)*y) of Order in Function field in y defined by
      y^2 - x^3 - 1
      }}}
      
      The presentation is obviously non-optimal, since the ideal was created
      with a single generator, but printed with two!
      
      URL: https://trac.sagemath.org/27657
      Reported by: gh-BrentBaccala
      Ticket author(s): Brent Baccala
      Reviewer(s): Travis Scrimshaw
      5cbe9405
    • Release Manager's avatar
      Trac #27644: Sage Jupyter Kernel vs EIN (Emacs Jupyter Interface) · 6c32357a
      Release Manager authored
      Sage's Jupyter Kernel doesn't work with EIN:
      
      https://github.com/millejoh/emacs-ipython-notebook/issues/466
      
      It seems this is mainly down to the Sage kernel not declaring its
      language in the kernel spec. For example, this seems to do the trick:
      
      {{{#!diff
      diff --git a/src/sage/repl/ipython_kernel/install.py
      b/src/sage/repl/ipython_kernel/install.py
      index dc3dd6ed4a..1e03a1cf85 100644
      --- a/src/sage/repl/ipython_kernel/install.py
      +++ b/src/sage/repl/ipython_kernel/install.py
      @@ -212,6 +212,7 @@ class SageKernelSpec(object):
               return dict(
                   argv=self._kernel_cmd(),
                   display_name=self._display_name,
      +            language="python",
               )
      
           def _install_spec(self):
      }}}
      
      However, I have actually no idea how the whole architecture works. Thus,
      is thee above "fix" or workaround acceptable?
      
      URL: https://trac.sagemath.org/27644
      Reported by: malb
      Ticket author(s): Odile Bénassy
      Reviewer(s): Martin Albrecht
      6c32357a
    • Release Manager's avatar
      Trac #27830: py3: fix remaining doctests for groups/perm_gps · 4711a3e0
      Release Manager authored
      Fix all Python 3 doctests in `groups/perm_gps`.
      
      URL: https://trac.sagemath.org/27830
      Reported by: jhpalmieri
      Ticket author(s): John Palmieri
      Reviewer(s): Travis Scrimshaw
      4711a3e0
    • Release Manager's avatar
      Trac #27815: more files in python3-known-passing.txt · 84cc7b8b
      Release Manager authored
      to lock them all and be sure they will be kept py3-compliant
      
      URL: https://trac.sagemath.org/27815
      Reported by: chapoton
      Ticket author(s): Frédéric Chapoton
      Reviewer(s): Travis Scrimshaw
      84cc7b8b
    • Release Manager's avatar
      Trac #27814: Configure check for system "rw" library · 7500f867
      Release Manager authored
      This has no dependencies and is easy enough to check for, so we should
      do it.
      
      URL: https://trac.sagemath.org/27814
      Reported by: mjo
      Ticket author(s): Michael Orlitzky
      Reviewer(s): Dima Pasechnik
      7500f867
    • Release Manager's avatar
      Trac #27812: py3: fix comparison of constants · fe1c4956
      Release Manager authored
      of pi < pi in particular
      
      URL: https://trac.sagemath.org/27812
      Reported by: chapoton
      Ticket author(s): Frédéric Chapoton
      Reviewer(s): Travis Scrimshaw
      fe1c4956
    • Release Manager's avatar
      Trac #27811: fix doctest with igraph · 925119dc
      Release Manager authored
      Fix the doctest error reported in
      https://trac.sagemath.org/ticket/27480#comment:78 with a tolerance gap
      {{{
      **********************************************************************
      File "src/sage/graphs/generic_graph.py", line 9663, in
      sage.graphs.generic_graph.GenericGraph.?
      Failed example:
          G.pagerank(alpha=0.50, algorithm="igraph")  # optional -
      python_igraph
      Expected:
          {0: 0.25, 1: 0.25, 2: 0.24999999999999997, 3: 0.24999999999999997}
      Got:
          {0: 0.25, 1: 0.25, 2: 0.25, 3: 0.25}
      **********************************************************************
      1 item had failures:
         1 of 860 in sage.graphs.generic_graph.GenericGraph.?
          [3497 tests, 1 failure, 50.96 s]
      ----------------------------------------------------------------------
      sage -t --long src/sage/graphs/generic_graph.py  # 1 doctest failed
      }}}
      
      URL: https://trac.sagemath.org/27811
      Reported by: dcoudert
      Ticket author(s): David Coudert
      Reviewer(s): Frédéric Chapoton
      925119dc
    • Release Manager's avatar
      Trac #27808: dispatch factorisation of univariate poly over number fields · f6557163
      Release Manager authored
      by creating there `_factor_univariate_polynomial` methods
      
      URL: https://trac.sagemath.org/27808
      Reported by: chapoton
      Ticket author(s): Frédéric Chapoton
      Reviewer(s): Travis Scrimshaw
      f6557163
    • Release Manager's avatar
      Trac #27783: 6 doctests failed in src/sage/databases/oeis.py with tag internet · 2061b87d
      Release Manager authored
      With version 8.8.beta4, Release Date: 2019-05-04,
      
      {{{
      sage -t --long --optional=sage,internet src/sage/databases/oeis.py
      }}}
      
      gives
      
      {{{
      Using --optional=internet,memlimit,sage
      Doctesting 1 file.
      sage -t --long src/sage/databases/oeis.py
      **********************************************************************
      File "src/sage/databases/oeis.py", line 290, in sage.databases.oeis.OEIS
      Failed example:
          search = oeis([1,2,3,5,8,13]) ; search    # optional -- internet
      Expected:
          0: A000045: Fibonacci numbers: F(n) = F(n-1) + F(n-2) with F(0) = 0
      and F(1) = 1.
          1: A027926: Triangular array T read by rows: T(n,0) = T(n,2n) = 1
      for n >= 0; T(n,1) = 1 for n >= 1; T(n,k) = T(n-1,k-2) + T(n-1,k-1) for
      k = 2..2n-1, n >= 2.
          2: ...
      Got:
          0: A000045: Fibonacci numbers: F(n) = F(n-1) + F(n-2) with F(0) = 0
      and F(1) = 1.
          1: A290689: Number of transitive rooted trees with n nodes.
          2: A027926: Triangular array T read by rows: T(n,0) = T(n,2n) = 1
      for n >= 0; T(n,1) = 1 for n >= 1; T(n,k) = T(n-1,k-2) + T(n-1,k-1) for
      k = 2..2n-1, n >= 2.
      **********************************************************************
      File "src/sage/databases/oeis.py", line 334, in sage.databases.oeis.OEIS
      Failed example:
          oeis('prime gap factorization', max_results=4)                #
      optional -- internet
      Expected:
          0: A073491: Numbers having no prime gaps in their factorization.
          1: A073490: Number of prime gaps in factorization of n.
          2: A073485: Product of any number of consecutive primes; squarefree
      numbers with no gaps in their prime factorization.
          3: A073492: Numbers having at least one prime gap in their
      factorization.
      Got:
          0: A073491: Numbers having no prime gaps in their factorization.
          1: A073485: Product of any number of consecutive primes; squarefree
      numbers with no gaps in their prime factorization.
          2: A073490: Number of prime gaps in factorization of n.
          3: A073492: Numbers having at least one prime gap in their
      factorization.
      **********************************************************************
      File "src/sage/databases/oeis.py", line 345, in sage.databases.oeis.OEIS
      Failed example:
          oeis([1,2,3,5,8,13])                  # optional -- internet
      Expected:
          0: A000045: Fibonacci numbers: F(n) = F(n-1) + F(n-2) with F(0) = 0
      and F(1) = 1.
          1: A027926: Triangular array T read by rows: T(n,0) = T(n,2n) = 1
      for n >= 0; T(n,1) = 1 for n >= 1; T(n,k) = T(n-1,k-2) + T(n-1,k-1) for
      k = 2..2n-1, n >= 2.
          2: ...
      Got:
          0: A000045: Fibonacci numbers: F(n) = F(n-1) + F(n-2) with F(0) = 0
      and F(1) = 1.
          1: A290689: Number of transitive rooted trees with n nodes.
          2: A027926: Triangular array T read by rows: T(n,0) = T(n,2n) = 1
      for n >= 0; T(n,1) = 1 for n >= 1; T(n,k) = T(n-1,k-2) + T(n-1,k-1) for
      k = 2..2n-1, n >= 2.
      **********************************************************************
      File "src/sage/databases/oeis.py", line 356, in sage.databases.oeis.OEIS
      Failed example:
          oeis([1,2,3,5,8,13])                  # optional -- internet
      Expected:
          0: A000045: Fibonacci numbers: F(n) = F(n-1) + F(n-2) with F(0) = 0
      and F(1) = 1.
          1: A027926: Triangular array T read by rows: T(n,0) = T(n,2n) = 1
      for n >= 0; T(n,1) = 1 for n >= 1; T(n,k) = T(n-1,k-2) + T(n-1,k-1) for
      k = 2..2n-1, n >= 2.
          2: ...
      Got:
          0: A000045: Fibonacci numbers: F(n) = F(n-1) + F(n-2) with F(0) = 0
      and F(1) = 1.
          1: A290689: Number of transitive rooted trees with n nodes.
          2: A027926: Triangular array T read by rows: T(n,0) = T(n,2n) = 1
      for n >= 0; T(n,1) = 1 for n >= 1; T(n,k) = T(n-1,k-2) + T(n-1,k-1) for
      k = 2..2n-1, n >= 2.
      **********************************************************************
      File "src/sage/databases/oeis.py", line 450, in
      sage.databases.oeis.OEIS.find_by_description
      Failed example:
          oeis.find_by_description('prime gap factorization')       # optional
      -- internet
      Expected:
          0: A073491: Numbers having no prime gaps in their factorization.
          1: A073490: Number of prime gaps in factorization of n.
          2: A073485: Product of any number of consecutive primes; squarefree
      numbers with no gaps in their prime factorization.
      Got:
          0: A073491: Numbers having no prime gaps in their factorization.
          1: A073485: Product of any number of consecutive primes; squarefree
      numbers with no gaps in their prime factorization.
          2: A073490: Number of prime gaps in factorization of n.
      **********************************************************************
      File "src/sage/databases/oeis.py", line 455, in
      sage.databases.oeis.OEIS.find_by_description
      Failed example:
          prime_gaps = _[1] ; prime_gaps        # optional -- internet
      Expected:
          A073490: Number of prime gaps in factorization of n.
      Got:
          A073485: Product of any number of consecutive primes; squarefree
      numbers with no gaps in their prime factorization.
      **********************************************************************
      2 items had failures:
         4 of  21 in sage.databases.oeis.OEIS
         2 of   5 in sage.databases.oeis.OEIS.find_by_description
          [265 tests, 6 failures, 62.75 s]
      ----------------------------------------------------------------------
      sage -t --long src/sage/databases/oeis.py  # 6 doctests failed
      ----------------------------------------------------------------------
      }}}
      
      URL: https://trac.sagemath.org/27783
      Reported by: slabbe
      Ticket author(s): Vincent Klein
      Reviewer(s): Travis Scrimshaw
      2061b87d
    • Release Manager's avatar
      Trac #27775: Fix some py3 doctests in src/sage/doctests · 6306f76d
      Release Manager authored
      In a few cases, Python 2 and 3 print different error messages for the
      same bad input. In one case,
      
      URL: https://trac.sagemath.org/27775
      Reported by: jhpalmieri
      Ticket author(s): John Palmieri
      Reviewer(s): Travis Scrimshaw
      6306f76d
    • Release Manager's avatar
      Trac #27774: py3: fix various issues in cplex backend · 695d3d0b
      Release Manager authored
      Apart from the problems reported in #27773, several doctests are failing
      in Python 3 in `src/sage/numerical/backends/cplex_backend.pyx` due to:
      - bytes versus str
      - passing iterator (zip) instead of list in `add_linear_constraint`
      
      and some issues are already here with Python 2:
      - `int(CPX_INFBOUND)` give 0 while `CPX_INFBOUND == 1E+20`. Hence, some
      doctests are failing. Actually, the `int(...)` is not needed
      - with a integer variable, `get_variable_value` return `2.0` in py2 and
      `2` in py3 as `round` has a different behavior. We unify the behavior
      using `int(...)`.
      
      URL: https://trac.sagemath.org/27774
      Reported by: dcoudert
      Ticket author(s): David Coudert
      Reviewer(s): Travis Scrimshaw
      695d3d0b
    • Release Manager's avatar
      Trac #27654: py3 : Fix combinat/root_system/integrable_representations.py for python3. · 5f7da089
      Release Manager authored
      Fix combinat/root_system/integrable_representations.py for python3.\\
      
      Use #py3 #py2 doctest flags.
      
      URL: https://trac.sagemath.org/27654
      Reported by: vklein
      Ticket author(s): Vincent Klein
      Reviewer(s): Travis Scrimshaw, John Palmieri
      5f7da089
  5. 17 May, 2019 1 commit
  6. 16 May, 2019 1 commit
  7. 15 May, 2019 2 commits
  8. 14 May, 2019 7 commits
    • John H. Palmieri's avatar
    • Release Manager's avatar
      Trac #26189: Intersection of modular abelian varieties gives wrong answer · a3537310
      Release Manager authored
      The intersection code is sometimes wrong. Here's an example:
      
      This is the setup:
      {{{
      sage: d1 = J0(11).degeneracy_map(22, 1)
      sage: d2 = J0(11).degeneracy_map(22, 2)
      sage: A = (d1-d2).image()
      sage: J = J0(22)
      }}}
      
      This is correct:
      {{{
      sage: J.intersection(A)
      (Finite subgroup with invariants [] over QQbar of Abelian variety J0(22)
      of dimension 2,
       Abelian subvariety of dimension 1 of J0(22))
      }}}
      
      This is wrong:
      {{{
      sage: A.intersection(J)
      (Finite subgroup with invariants [2] over QQbar of Abelian subvariety of
      dimension 1 of J0(22),
       Abelian subvariety of dimension 1 of J0(22))
      }}}
      
      URL: https://trac.sagemath.org/26189
      Reported by: klui
      Ticket author(s): Kevin Lui
      Reviewer(s): Travis Scrimshaw
      a3537310
    • Release Manager's avatar
      Trac #5548: fix that _hnf_mod segfaults sage completely · cf4c17f1
      Release Manager authored
      {{{
      teragon:algebras wstein$ sage
      ----------------------------------------------------------------------
      | Sage Version 3.4, Release Date: 2009-03-11                         |
      | Type notebook() for the GUI, and license() for information.        |
      ----------------------------------------------------------------------
      sage: a = random_matrix(ZZ,16,4)
      sage: a._hnf_mod(100)
      
      ------------------------------------------------------------
      Unhandled SIGFPE: An unhandled floating point exception occured in SAGE.
      This probably occured because a *compiled* component
      of SAGE has a bug in it (typically accessing invalid memory)
      or is not properly wrapped with _sig_on, _sig_off.
      You might want to run SAGE under gdb with 'sage -gdb' to debug this.
      SAGE will now terminate (sorry).
      ------------------------------------------------------------
      }}}
      
      URL: https://trac.sagemath.org/5548
      Reported by: was
      Ticket author(s): Alex Sun
      Reviewer(s): Jeroen Demeyer
      cf4c17f1
    • Daniel Krenn's avatar
      Trac #26504: add doctest for _one_ · 458baae2
      Daniel Krenn authored
      458baae2
    • Daniel Krenn's avatar
      Merge tag '8.8.beta5' into t/26504/internal-subs · 963cf921
      Daniel Krenn authored
      SageMath version 8.8.beta5, Release Date: 2019-05-11
      
      * tag '8.8.beta5': (3695 commits)
        Updated SageMath version to 8.8.beta5
        polymake: update MongoDB information for linux distros
        polymake: Update info on macOS
        polymake: Mention MOngoDB for polydb
        Mention libterm-readline-gnu-perl
        Mention libterm-readkey-perl
        update docs, as discussed on #24905
        leave GMP's spkg-configure.m4 as it was
        Change format of a 'not tested' doc test annotation
        remove an obsolete note in schemes, pep cleanup of zariski_vankampen
        spkg-config for pcre
        get rid of dollars in elliptic curves
        spkg-configure for perl_term_readline_gnu
        trac 27794: py3 doctests in sets
        Trac #27779: Test the matrix result only for ...
        Fix error message in doctest for new pynormaliz version
        Trac #27779: Add `# abs tol 1e-11` tag to doctest
        Trac #27779: Add missing `# long time` flag
        another harvest of typos
        trac 2693 resultants for polynomials over inexact rings
        ...
      963cf921
    • Benjamin Hackl's avatar
      fix doctest; add more tests · 7c2432ce
      Benjamin Hackl authored
      7c2432ce
    • Benjamin Hackl's avatar