Ticket #13109: trac_13109_fix_doctests.patch

File trac_13109_fix_doctests.patch, 74.1 KB (added by vbraun, 8 years ago)

Updated patch

  • sage/algebras/steenrod/steenrod_algebra.py

    # HG changeset patch
    # User Volker Braun <vbraun@stp.dias.ie>
    # Date 1341748689 -3600
    # Node ID 649873d97597867bbf1e13c12f1b9f756c4ebcb0
    # Parent  ea143f21dd955a8cce7c6ba9daaa246ed32d0eae
    Fix doctests for deprecations
    
    diff --git a/sage/algebras/steenrod/steenrod_algebra.py b/sage/algebras/steenrod/steenrod_algebra.py
    a b  
    31663166
    31673167                sage: c = Sq(2) * Sq(1)
    31683168                sage: c.basis('milnor')
    3169                 doctest:...: DeprecationWarning: (Since Sage 4.6.2) The .basis() method is deprecated.  Use .change_basis() instead.
     3169                doctest:...: DeprecationWarning: The .basis() method is deprecated. Use .change_basis() instead.
     3170                See http://trac.sagemath.org/10052 for details.
    31703171                Sq(0,1) + Sq(3)
    31713172            """
    31723173            from sage.misc.superseded import deprecation
  • sage/calculus/calculus.py

    diff --git a/sage/calculus/calculus.py b/sage/calculus/calculus.py
    a b  
    176176    syntax and unnamed arguments is deprecated and will be removed
    177177    from a future release of Sage; you can use named arguments instead,
    178178    like EXPR(x=..., y=...)
     179    See http://trac.sagemath.org/5930 for details.
    179180    sin(y)
    180181    sage: f(pi)
    181182    0
     
    11551156    Check that we give deprecation warnings for 'above' and 'below' #9200::
    11561157
    11571158        sage: limit(1/x, x=0, dir='above')
    1158         doctest:...: DeprecationWarning: (Since Sage version 4.6) the keyword
     1159        doctest:...: DeprecationWarning: the keyword
    11591160        'above' is deprecated. Please use 'right' or '+' instead.
     1161        See http://trac.sagemath.org/9200 for details.
    11601162        +Infinity
    11611163        sage: limit(1/x, x=0, dir='below')
    1162         doctest:...: DeprecationWarning: (Since Sage version 4.6) the keyword
     1164        doctest:...: DeprecationWarning: the keyword
    11631165        'below' is deprecated. Please use 'left' or '-' instead.
     1166        See http://trac.sagemath.org/9200 for details.
    11641167        -Infinity
    11651168    """
    11661169    if not isinstance(ex, Expression):
  • sage/calculus/var.pyx

    diff --git a/sage/calculus/var.pyx b/sage/calculus/var.pyx
    a b  
    121121        NameError: name 'q' is not defined
    122122        sage: var('q',ns=1)
    123123        doctest:...: DeprecationWarning: The new (Pynac) symbolics are now the only symbolics; please do not use keyword 'ns' any longer.
     124        See http://trac.sagemath.org/6559 for details.
    124125        q
    125126    """
    126127    if len(args)==1:
  • sage/categories/modules_with_basis.py

    diff --git a/sage/categories/modules_with_basis.py b/sage/categories/modules_with_basis.py
    a b  
    851851            The following methods are deprecated::
    852852
    853853                sage: a.map_term(f)
    854                 doctest:1: DeprecationWarning: (Since Sage Version 4.4.2) map_term is deprecated. Please use map_item instead.
     854                doctest:...: DeprecationWarning: map_term is deprecated. Please use map_item instead.
     855                See http://trac.sagemath.org/8890 for details.
    855856                2*s[2, 1] + 2*s[3]
    856857                sage: a.map_mc(f)
    857                 doctest:1: DeprecationWarning: (Since Sage Version 4.4.2) map_mc is deprecated. Please use map_item instead.
     858                doctest:...: DeprecationWarning: map_mc is deprecated. Please use map_item instead.
     859                See http://trac.sagemath.org/8890 for details.
    858860                2*s[2, 1] + 2*s[3]
    859861            """
    860862            return self.parent().sum_of_terms( f(m,c) for m,c in self )
  • sage/combinat/combinat.py

    diff --git a/sage/combinat/combinat.py b/sage/combinat/combinat.py
    a b  
    10051005            ...
    10061006            sage: C().count() #indirect doctest
    10071007            doctest:1: DeprecationWarning: The usage of count for combinatorial classes is deprecated. Please use cardinality
     1008            See http://trac.sagemath.org/5719 for details.
    10081009            3
    10091010        """
    10101011        deprecation(5719, "The usage of count for combinatorial classes is deprecated. Please use cardinality")
     
    13241325       
    13251326            sage: p5 = Partitions(3)
    13261327            sage: it = p5.iterator()
    1327             doctest:1: DeprecationWarning: The usage of iterator for combinatorial classes is deprecated. Please use the class itself           
     1328            doctest:...: DeprecationWarning: The usage of iterator for combinatorial classes is deprecated. Please use the class itself
     1329            See http://trac.sagemath.org/5308 for details.
    13281330            sage: [i for i in it]
    13291331            [[3], [2, 1], [1, 1, 1]]       
    13301332            sage: [i for i in p5]
  • sage/combinat/free_module.py

    diff --git a/sage/combinat/free_module.py b/sage/combinat/free_module.py
    a b  
    14551455            sage: F = CombinatorialFreeModule(QQ, ['a', 'b', 'c'])
    14561456            sage: F.combinatorial_class()
    14571457            doctest:...: DeprecationWarning: "FM.combinatorial_class()" is deprecated. Use "F.basis().keys()" instead !
     1458            See http://trac.sagemath.org/6136 for details.
    14581459            {'a', 'b', 'c'}
    14591460
    14601461        ::
  • sage/combinat/partition.py

    diff --git a/sage/combinat/partition.py b/sage/combinat/partition.py
    a b  
    28212821   
    28222822        sage: RestrictedPartitions(5,[3,2,1])
    28232823        doctest:...: DeprecationWarning: RestrictedPartitions is deprecated; use Partitions with the parts_in keyword instead.
     2824        See http://trac.sagemath.org/5478 for details.
    28242825        doctest:...: DeprecationWarning: RestrictedPartitions_nsk is deprecated; use Partitions with the parts_in keyword instead.
     2826        See http://trac.sagemath.org/5478 for details.
    28252827        Partitions of 5 restricted to the values [1, 2, 3]
    28262828        sage: RestrictedPartitions(5,[3,2,1]).list()
    28272829        [[3, 2], [3, 1, 1], [2, 2, 1], [2, 1, 1, 1], [1, 1, 1, 1, 1]]
     
    28462848       
    28472849            sage: r = RestrictedPartitions(5,[3,2,1])
    28482850            doctest:...: DeprecationWarning: RestrictedPartitions is deprecated; use Partitions with the parts_in keyword instead.
     2851            See http://trac.sagemath.org/5478 for details.
    28492852            sage: r == loads(dumps(r))
    28502853            True
    28512854        """
     
    28642867       
    28652868            sage: [4,1] in RestrictedPartitions(5,[3,2,1])
    28662869            doctest:...: DeprecationWarning: RestrictedPartitions is deprecated; use Partitions with the parts_in keyword instead.
     2870            See http://trac.sagemath.org/5478 for details.
    28672871            False
    28682872            sage: [3,2] in RestrictedPartitions(5,[3,2,1])
    28692873            True
     
    28812885       
    28822886            sage: RestrictedPartitions(5,[3,2,1]).__repr__()
    28832887            doctest:...: DeprecationWarning: RestrictedPartitions is deprecated; use Partitions with the parts_in keyword instead.
     2888            See http://trac.sagemath.org/5478 for details.
    28842889            'Partitions of 5 restricted to the values [1, 2, 3] '
    28852890            sage: RestrictedPartitions(5,[3,2,1],4).__repr__()
    28862891            'Partitions of 5 restricted to the values [1, 2, 3] of length 4'
     
    29032908       
    29042909            sage: RestrictedPartitions(8,[1,3,5,7]).list()
    29052910            doctest:...: DeprecationWarning: RestrictedPartitions is deprecated; use Partitions with the parts_in keyword instead.
     2911            See http://trac.sagemath.org/5478 for details.
    29062912            [[7, 1], [5, 3], [5, 1, 1, 1], [3, 3, 1, 1], [3, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1]]
    29072913            sage: RestrictedPartitions(8,[1,3,5,7],2).list()
    29082914            [[7, 1], [5, 3]]
     
    29272933       
    29282934            sage: RestrictedPartitions(8,[1,3,5,7]).cardinality()
    29292935            doctest:...: DeprecationWarning: RestrictedPartitions is deprecated; use Partitions with the parts_in keyword instead.
     2936            See http://trac.sagemath.org/5478 for details.
    29302937            6
    29312938            sage: RestrictedPartitions(8,[1,3,5,7],2).cardinality()
    29322939            2
  • sage/combinat/posets/all.py

    diff --git a/sage/combinat/posets/all.py b/sage/combinat/posets/all.py
    a b  
    2121    TESTS::
    2222
    2323        sage: BooleanLattice(3)
    24         doctest:1: DeprecationWarning: BooleanLattice is deprecated, use Posets.BooleanLattice instead!
     24        doctest:...: DeprecationWarning: BooleanLattice is deprecated, use Posets.BooleanLattice instead!
     25        See http://trac.sagemath.org/10998 for details.
    2526        Finite lattice containing 8 elements
    2627    """
    2728    deprecation(10998, "%s is deprecated, use Posets.%s instead!" % \
     
    3637    TESTS::
    3738
    3839        sage: ChainPoset(3)
    39         doctest:1: DeprecationWarning: ChainPoset is deprecated, use Posets.ChainPoset instead!
     40        doctest:...: DeprecationWarning: ChainPoset is deprecated, use Posets.ChainPoset instead!
     41        See http://trac.sagemath.org/10998 for details.
    4042        Finite lattice containing 3 elements
    4143    """
    4244    deprecation(10998, "%s is deprecated, use Posets.%s instead!" % \
     
    5153    TESTS::
    5254
    5355        sage: AntichainPoset(3)
    54         doctest:1: DeprecationWarning: AntichainPoset is deprecated, use Posets.AntichainPoset instead!
     56        doctest:...: DeprecationWarning: AntichainPoset is deprecated, use Posets.AntichainPoset instead!
     57        See http://trac.sagemath.org/10998 for details.
    5558        Finite poset containing 3 elements
    5659    """
    5760    deprecation(10998, "%s is deprecated, use Posets.%s instead!" % \
     
    6669    TESTS::
    6770
    6871        sage: PentagonPoset()
    69         doctest:1: DeprecationWarning: PentagonPoset is deprecated, use Posets.PentagonPoset instead!
     72        doctest:...: DeprecationWarning: PentagonPoset is deprecated, use Posets.PentagonPoset instead!
     73        See http://trac.sagemath.org/10998 for details.
    7074        Finite lattice containing 5 elements
    7175    """
    7276    deprecation(10998, "%s is deprecated, use Posets.%s instead!" % \
     
    8185    TESTS::
    8286
    8387        sage: DiamondPoset(3)
    84         doctest:1: DeprecationWarning: DiamondPoset is deprecated, use Posets.DiamondPoset instead!
     88        doctest:...: DeprecationWarning: DiamondPoset is deprecated, use Posets.DiamondPoset instead!
     89        See http://trac.sagemath.org/10998 for details.
    8590        Finite lattice containing 3 elements
    8691    """
    8792    deprecation(10998, "%s is deprecated, use Posets.%s instead!" % \
     
    96101    TESTS::
    97102
    98103        sage: PosetOfIntegerCompositions(3)
    99         doctest:1: DeprecationWarning: PosetOfIntegerCompositions is deprecated, use Posets.IntegerCompositions instead!
     104        doctest:...: DeprecationWarning: PosetOfIntegerCompositions is deprecated, use Posets.IntegerCompositions instead!
     105        See http://trac.sagemath.org/10998 for details.
    100106        Finite poset containing 4 elements
    101107    """
    102108    deprecation(10998, "%s is deprecated, use Posets.%s instead!" % \
     
    111117    TESTS::
    112118
    113119        sage: PosetOfIntegerPartitions(3)
    114         doctest:1: DeprecationWarning: PosetOfIntegerPartitions is deprecated, use Posets.IntegerPartitions instead!
     120        doctest:...: DeprecationWarning: PosetOfIntegerPartitions is deprecated, use Posets.IntegerPartitions instead!
     121        See http://trac.sagemath.org/10998 for details.
    115122        Finite poset containing 3 elements
    116123    """
    117124    deprecation(10998, "%s is deprecated, use Posets.%s instead!" % \
     
    126133    TESTS::
    127134
    128135        sage: PosetOfRestrictedIntegerPartitions(3)
    129         doctest:1: DeprecationWarning: PosetOfRestrictedIntegerPartitions is deprecated, use Posets.RestrictedIntegerPartitions instead!
     136        doctest:...: DeprecationWarning: PosetOfRestrictedIntegerPartitions is deprecated, use Posets.RestrictedIntegerPartitions instead!
     137        See http://trac.sagemath.org/10998 for details.
    130138        Finite poset containing 3 elements
    131139    """
    132140    deprecation(10998, "%s is deprecated, use Posets.%s instead!" % \
     
    141149    TESTS::
    142150
    143151        sage: RandomPoset(17,.15)
    144         doctest:1: DeprecationWarning: RandomPoset is deprecated, use Posets.RandomPoset instead!
     152        doctest:...: DeprecationWarning: RandomPoset is deprecated, use Posets.RandomPoset instead!
     153        See http://trac.sagemath.org/10998 for details.
    145154        Finite poset containing 17 elements
    146155    """
    147156    deprecation(10998, "%s is deprecated, use Posets.%s instead!" % \
     
    157166    TESTS::
    158167
    159168        sage: SymmetricGroupBruhatOrderPoset(3)
    160         doctest:1: DeprecationWarning: SymmetricGroupBruhatOrderPoset is deprecated, use Posets.SymmetricGroupBruhatOrderPoset instead!
     169        doctest:...: DeprecationWarning: SymmetricGroupBruhatOrderPoset is deprecated, use Posets.SymmetricGroupBruhatOrderPoset instead!
     170        See http://trac.sagemath.org/10998 for details.
    161171        Finite poset containing 6 elements
    162172    """
    163173    deprecation(10998, "%s is deprecated, use Posets.%s instead!" % \
     
    172182    TESTS::
    173183
    174184        sage: SymmetricGroupWeakOrderPoset(3)
    175         doctest:1: DeprecationWarning: SymmetricGroupWeakOrderPoset is deprecated, use Posets.SymmetricGroupWeakOrderPoset instead!
     185        doctest:...: DeprecationWarning: SymmetricGroupWeakOrderPoset is deprecated, use Posets.SymmetricGroupWeakOrderPoset instead!
     186        See http://trac.sagemath.org/10998 for details.
    176187        Finite poset containing 6 elements
    177188    """
    178189    deprecation(10998, "%s is deprecated, use Posets.%s instead!" % \
  • sage/combinat/posets/hasse_diagram.py

    diff --git a/sage/combinat/posets/hasse_diagram.py b/sage/combinat/posets/hasse_diagram.py
    a b  
    12671267            sage: H = HasseDiagram({0:[1,3,2],1:[4],2:[4,5,6],3:[6],4:[7],5:[7],6:[7],7:[]})
    12681268            sage: H.is_distributive_lattice_fastest()
    12691269            doctest:1: DeprecationWarning: is_distributive_lattice_fastest is deprecated, use is_distributive_lattice instead!
     1270            See http://trac.sagemath.org/5918 for details.
    12701271            False
    12711272        """
    12721273        from sage.misc.superseded import deprecation
  • sage/combinat/posets/posets.py

    diff --git a/sage/combinat/posets/posets.py b/sage/combinat/posets/posets.py
    a b  
    865865
    866866            sage: P(5) == P(-1)
    867867            doctest:...: DeprecationWarning: Accessing the i-th element of a poset as P(i) is deprecated. Please use P[i]
     868            See http://trac.sagemath.org/13109 for details.
    868869            True
    869870            sage: Q(5) == Q(-1)
    870871            True
  • sage/combinat/root_system/dynkin_diagram.py

    diff --git a/sage/combinat/root_system/dynkin_diagram.py b/sage/combinat/root_system/dynkin_diagram.py
    a b  
    8484   
    8585        sage: dynkin_diagram(["A", 3])
    8686        doctest:1: DeprecationWarning: dynkin_diagram is deprecated, use DynkinDiagram instead!
     87        See http://trac.sagemath.org/3654 for details.
    8788        O---O---O
    8889        1   2   3
    8990        A3
  • sage/combinat/root_system/weyl_group.py

    diff --git a/sage/combinat/root_system/weyl_group.py b/sage/combinat/root_system/weyl_group.py
    a b  
    496496        This method used to be called ``lattice``:
    497497
    498498            sage: G.lattice()
    499             doctest:...: DeprecationWarning: (Since Sage Version 4.3.4) lattice is deprecated. Please use domain instead.
     499            doctest:...: DeprecationWarning: lattice is deprecated. Please use domain instead.
     500            See http://trac.sagemath.org/8414 for details.
    500501            Root space over the Rational Field of the Root system of type ['A', 3, 1]
    501502        """
    502503        return self._domain
  • sage/combinat/skew_partition.py

    diff --git a/sage/combinat/skew_partition.py b/sage/combinat/skew_partition.py
    a b  
    477477      EXAMPLES::
    478478
    479479          sage: SkewPartition([[3, 3, 2, 1], [2, 1]]).r_quotient(2)
     480          doctest:1: DeprecationWarning: r_quotient is deprecated. Use quotient instead.
     481          See http://trac.sagemath.org/5790 for details.
     482          [[[3], []], [[], []]]
    480483      """
    481484      from sage.misc.superseded import deprecation
    482485      deprecation(5790, 'r_quotient is deprecated. Use quotient instead.')
  • sage/combinat/words/abstract_word.py

    diff --git a/sage/combinat/words/abstract_word.py b/sage/combinat/words/abstract_word.py
    a b  
    12491249            sage: w = Word('abaccefa')
    12501250            sage: w. alphabet()
    12511251            doctest:1: DeprecationWarning: alphabet() is deprecated, use parent().alphabet() instead
     1252            See http://trac.sagemath.org/8429 for details.
    12521253            Python objects
    12531254            sage: y = Words('456')('64654564')
    12541255            sage: y.alphabet()
  • sage/combinat/words/alphabet.py

    diff --git a/sage/combinat/words/alphabet.py b/sage/combinat/words/alphabet.py
    a b  
    8383            sage: from sage.combinat.words.alphabet import OrderedAlphabet_Finite
    8484            sage: OrderedAlphabet_Finite([1, 3, 2]).string_rep()
    8585            doctest:1: DeprecationWarning: string_rep is deprecated, use __repr__ instead!
     86            See http://trac.sagemath.org/6519 for details.
    8687            'Ordered Alphabet [1, 3, 2]'
    8788        """
    8889        from sage.misc.superseded import deprecation
  • sage/combinat/words/finite_word.py

    diff --git a/sage/combinat/words/finite_word.py b/sage/combinat/words/finite_word.py
    a b  
    590590            sage: w = Word('abaccefa')
    591591            sage: w.size_of_alphabet()
    592592            doctest:1: DeprecationWarning: size_of_alphabet() is deprecated, use parent().size_of_alphabet() instead!
     593            See http://trac.sagemath.org/8429 for details.
    593594            +Infinity
    594595            sage: y = Words('456')('64654564')
    595596            sage: y.size_of_alphabet()
     
    613614            sage: y = Word('56789')
    614615            sage: y.is_suffix_of(w)
    615616            doctest:1: DeprecationWarning: is_suffix_of is deprecated, use is_suffix instead!
     617            See http://trac.sagemath.org/8429 for details.
    616618            True
    617619            sage: w.is_suffix_of(y)
    618620            False
     
    637639
    638640            sage: Word('23').is_proper_suffix_of(Word('123'))
    639641            doctest:1: DeprecationWarning: is_proper_suffix_of is deprecated, use is_proper_suffix instead!
     642            See http://trac.sagemath.org/8429 for details.
    640643            doctest:...: DeprecationWarning: is_suffix_of is deprecated, use is_suffix instead!
     644            See http://trac.sagemath.org/8429 for details.
    641645            True
    642646            sage: Word('12').is_proper_suffix_of(Word('12'))
    643647            False
     
    660664            sage: y = Word('012345')
    661665            sage: y.is_prefix_of(w)
    662666            doctest:1: DeprecationWarning: is_prefix_of is deprecated, use is_prefix instead!
     667            See http://trac.sagemath.org/8429 for details.
    663668            True
    664669            sage: w.is_prefix_of(y)
    665670            False
     
    682687
    683688            sage: Word('12').is_proper_prefix_of(Word('123'))
    684689            doctest:1: DeprecationWarning: is_proper_prefix_of is deprecated, use is_proper_prefix instead!
     690            See http://trac.sagemath.org/8429 for details.
    685691            doctest:...: DeprecationWarning: is_prefix_of is deprecated, use is_prefix instead!
     692            See http://trac.sagemath.org/8429 for details.
    686693            True
    687694            sage: Word('12').is_proper_prefix_of(Word('12'))
    688695            False
     
    15601567
    15611568            sage: Word('0111')._lps()
    15621569            doctest:1: DeprecationWarning: _lps is deprecated, use lps instead!
     1570            See http://trac.sagemath.org/8429 for details.
    15631571            word: 111
    15641572            sage: Word('011101')._lps()
    15651573            word: 101
     
    29912999
    29923000            sage: Word('1231232').last_position_table()
    29933001            doctest:1: DeprecationWarning: last_position_table is deprecated, use last_position_dict instead!
     3002            See http://trac.sagemath.org/8429 for details.
    29943003            {'1': 3, '3': 5, '2': 6}
    29953004        """
    29963005        from sage.misc.superseded import deprecation
     
    31943203            sage: w = Word('123121332131233121132123')
    31953204            sage: u.is_factor_of(w)
    31963205            doctest:1: DeprecationWarning: is_factor_of is deprecated, use is_factor instead!
     3206            See http://trac.sagemath.org/8429 for details.
    31973207            True
    31983208            sage: u = Word('321')
    31993209            sage: w = Word('1231241231312312312')
     
    34783488
    34793489            sage: l = Word('abaababaabaababaaba')._quasiperiods_list()
    34803490            doctest:1: DeprecationWarning: _quasiperiods_list is deprecated, use quasiperiods instead!
     3491            See http://trac.sagemath.org/8429 for details.
    34813492            sage: l
    34823493            [word: aba, word: abaaba, word: abaababaaba]
    34833494        """
     
    36013612
    36023613            sage: f = Word('1213121').freq()   
    36033614            doctest:1: DeprecationWarning: freq is deprecated, use evaluation_dict instead!
     3615            See http://trac.sagemath.org/8429 for details.
    36043616            sage: f # keys appear in random order
    36053617            {'1': 4, '2': 2, '3': 1}
    36063618           
     
    42184230
    42194231            sage: Word('123').iterated_palindromic_closure()
    42204232            doctest:1: DeprecationWarning: iterated_palindromic_closure is deprecated, use iterated_left_palindromic_closure or iterated_right_palindromic_closure instead!
     4233            See http://trac.sagemath.org/8429 for details.
    42214234            word: 1213121
    42224235            sage: Word('123').iterated_palindromic_closure(side='left')
    42234236            word: 3231323
     
    51165129        EXAMPLES::
    51175130
    51185131            sage: Words('123')('1221131122').standard_factorization_of_lyndon_factorization()
    5119             doctest:...: DeprecationWarning:
    5120             standard_factorization_of_lyndon_factorization(): is
    5121             deprecated since March 2012 and will be removed in a later version of Sage.
     5132            doctest:...: DeprecationWarning: standard_factorization_of_lyndon_factorization(): is deprecated since March 2012 and will be removed in a later version of Sage.
     5133            See http://trac.sagemath.org/12469 for details.
    51225134            [(word: 12, word: 2), (word: 1, word: 13), (word: 1, word: 122)]
    51235135
    51245136        """
  • sage/combinat/words/word_generators.py

    diff --git a/sage/combinat/words/word_generators.py b/sage/combinat/words/word_generators.py
    a b  
    288288            sage: from sage.combinat.words.word_generators import ChristoffelWord_Lower
    289289            sage: w = ChristoffelWord_Lower(1,0); w
    290290            doctest:1: DeprecationWarning: ChristoffelWord_Lower is deprecated, use LowerChristoffelWord instead
     291            See http://trac.sagemath.org/6519 for details.
    291292            word: 1
    292293        """
    293294        from sage.misc.superseded import deprecation
  • sage/combinat/words/words.py

    diff --git a/sage/combinat/words/words.py b/sage/combinat/words/words.py
    a b  
    12991299
    13001300            sage: W = Words('ab')
    13011301            sage: it = W.iter_morphisms(l=None)
    1302             doctest:...: DeprecationWarning: (Since Sage version 4.6.1) use the option 'arg' instead of 'l'
     1302            doctest:...: DeprecationWarning: use the option 'arg' instead of 'l'
     1303            See http://trac.sagemath.org/10134 for details.
    13031304        """
    13041305        n = self.size_of_alphabet()
    13051306        # create an iterable of compositions (all "compositions" if arg is
     
    15751576        sage: from sage.combinat.words.words import is_Words
    15761577        sage: is_Words(33)
    15771578        doctest:1: DeprecationWarning: is_Words is deprecated, use isinstance(your_object, Words_all) instead!
     1579        See http://trac.sagemath.org/6519 for details.
    15781580        False
    15791581        sage: is_Words(Words('ab'))
    15801582        True
  • sage/combinat/yang_baxter_graph.py

    diff --git a/sage/combinat/yang_baxter_graph.py b/sage/combinat/yang_baxter_graph.py
    a b  
    316316            Yang-Baxter graph with root vertex (1, 0, 2, 1, 0)
    317317            sage: B = Y.copy(); B
    318318            doctest:...: DeprecationWarning: the .copy() method is deprecated; please use the copy() function instead, for example, copy(g)
     319            See http://trac.sagemath.org/6522 for details.
    319320            Yang-Baxter graph with root vertex (1, 0, 2, 1, 0)
    320321        """
    321322        from copy import copy
     
    624625            Yang-Baxter graph of [3, 2], with top vertex (1, 0, 2, 1, 0)
    625626            sage: B = Y.copy(); B
    626627            doctest:...: DeprecationWarning: the .copy() method is deprecated; please use the copy() function instead, for example, copy(g)
     628            See http://trac.sagemath.org/6522 for details.
    627629            Yang-Baxter graph of [3, 2], with top vertex (1, 0, 2, 1, 0)
    628630        """
    629631        from copy import copy
  • sage/crypto/mq/mpolynomialsystem.py

    diff --git a/sage/crypto/mq/mpolynomialsystem.py b/sage/crypto/mq/mpolynomialsystem.py
    a b  
    7575As an example, we separate the system in independent subsystems or compute the coefficient matrix::
    7676
    7777    sage: C = mq.MPolynomialSystem(r2).connected_components(); C
    78     doctest:...: DeprecationWarning: (Since 4.6.2) This function is replaced by sage.rings.polynomial.multi_polynomial_sequence.PolynomialSequence.
    79     [Polynomial System with 16 Polynomials in 16 Variables,
    80      Polynomial System with 16 Polynomials in 16 Variables]
     78    doctest:...: DeprecationWarning: This function is replaced by sage.rings.polynomial.multi_polynomial_sequence.PolynomialSequence.
     79    See http://trac.sagemath.org/1819 for details.
     80    doctest:...: DeprecationWarning: This function is replaced by sage.rings.polynomial.multi_polynomial_sequence.PolynomialSequence.
     81    See http://trac.sagemath.org/1819 for details.
     82    [Polynomial System with 16 Polynomials in 16 Variables, Polynomial System with 16 Polynomials in 16 Variables]
    8183
    8284    sage: C[0].groebner_basis()
    8385    Polynomial Sequence with 26 Polynomials in 16 Variables
     
    147149        sage: P.<x,y> = PolynomialRing(QQ)
    148150        sage: I = [[x^2 + y^2], [x^2 - y^2]]
    149151        sage: F = mq.MPolynomialSystem(P,I); F
    150         doctest:...: DeprecationWarning: (Since 4.6.2) This function is replaced by sage.rings.polynomial.multi_polynomial_sequence.PolynomialSequence.
     152        doctest:...: DeprecationWarning: This function is replaced by sage.rings.polynomial.multi_polynomial_sequence.PolynomialSequence.
     153        See http://trac.sagemath.org/1819 for details.
    151154        Polynomial System with 2 Polynomials in 2 Variables
    152155        sage: mq.is_MPolynomialSystem(F)
    153156        True
     
    167170        sage: P.<x,y> = PolynomialRing(QQ)
    168171        sage: I = [[x^2 + y^2], [x^2 - y^2]]
    169172        sage: F = mq.MPolynomialSystem(P,I); F
    170         doctest:...: DeprecationWarning: (Since 4.6.2) This function is replaced by sage.rings.polynomial.multi_polynomial_sequence.PolynomialSequence.
     173        doctest:...: DeprecationWarning: This function is replaced by sage.rings.polynomial.multi_polynomial_sequence.PolynomialSequence.
     174        See http://trac.sagemath.org/1819 for details.
    171175        Polynomial System with 2 Polynomials in 2 Variables
    172176        sage: mq.is_MPolynomialRoundSystem(F.round(0))
    173177        True
     
    212216    parts::
    213217   
    214218        sage: mq.MPolynomialSystem(I.ring(), [mq.MPolynomialRoundSystem(I.ring(),I.gens())])
    215         doctest:1: DeprecationWarning: (Since 4.6.2) This function is replaced by sage.rings.polynomial.multi_polynomial_sequence.PolynomialSequence.
     219        doctest:...: DeprecationWarning: This function is replaced by sage.rings.polynomial.multi_polynomial_sequence.PolynomialSequence.
     220        See http://trac.sagemath.org/1819 for details.
    216221        Polynomial System with 4 Polynomials in 4 Variables
    217222   
    218223    If an ideal is provided, the generators are used::
     
    327332            sage: sr = mq.SR(allow_zero_inversions=True,gf2=True,order='block')
    328333            sage: F,s = sr.polynomial_system()
    329334            sage: F = mq.MPolynomialSystem(F.ring(),tuple(F.parts()))
    330             doctest... DeprecationWarning: (Since 4.6.2) This function is replaced by sage.rings.polynomial.multi_polynomial_sequence.PolynomialSequence.
     335            doctest:...: DeprecationWarning: This function is replaced by sage.rings.polynomial.multi_polynomial_sequence.PolynomialSequence.
     336            See http://trac.sagemath.org/1819 for details.
    331337            sage: R0 = F.round(0)
    332338            sage: print R0.ring().repr_long()
    333339            Polynomial Ring
     
    349355            sage: sr = mq.SR(allow_zero_inversions=True,gf2=True,order='block')
    350356            sage: F,s = sr.polynomial_system()
    351357            sage: F = mq.MPolynomialSystem(F.ring(),tuple(F.parts()))
    352             doctest... DeprecationWarning: (Since 4.6.2) This function is replaced by sage.rings.polynomial.multi_polynomial_sequence.PolynomialSequence.
     358            doctest:...: DeprecationWarning: This function is replaced by sage.rings.polynomial.multi_polynomial_sequence.PolynomialSequence.
     359            See http://trac.sagemath.org/1819 for details.
    353360            sage: R0 = F.round(0)
    354361            sage: R0.ngens()
    355362            4
     
    594601        ::
    595602       
    596603            sage: mq.MPolynomialSystem(I.ring(), [mq.MPolynomialRoundSystem(I.ring(),I.gens())])
    597             doctest:...: DeprecationWarning: (Since 4.6.2) This function is replaced by sage.rings.polynomial.multi_polynomial_sequence.PolynomialSequence.
     604            doctest:...: DeprecationWarning: This function is replaced by sage.rings.polynomial.multi_polynomial_sequence.PolynomialSequence.
     605            See http://trac.sagemath.org/1819 for details.
    598606            Polynomial System with 4 Polynomials in 4 Variables
    599607       
    600608        If an ideal is provided, the generators are used.
     
    696704            sage: sr = mq.SR(allow_zero_inversions=True,gf2=True,order='block')
    697705            sage: F,s = sr.polynomial_system()
    698706            sage: F = mq.MPolynomialSystem(F.ring(),tuple(F))
    699             doctest:...: DeprecationWarning: (Since 4.6.2) This function is replaced by sage.rings.polynomial.multi_polynomial_sequence.PolynomialSequence.
     707            doctest:...: DeprecationWarning: This function is replaced by sage.rings.polynomial.multi_polynomial_sequence.PolynomialSequence.
     708            See http://trac.sagemath.org/1819 for details.
    700709            sage: F.ngens()
    701710            56
    702711        """
     
    711720            sage: sr = mq.SR(allow_zero_inversions=True)
    712721            sage: F,s = sr.polynomial_system()
    713722            sage: F = mq.MPolynomialSystem(F.ring(),tuple(F))
    714             doctest:...: DeprecationWarning: (Since 4.6.2) This function is replaced by sage.rings.polynomial.multi_polynomial_sequence.PolynomialSequence.
     723            doctest:...: DeprecationWarning: This function is replaced by sage.rings.polynomial.multi_polynomial_sequence.PolynomialSequence.
     724            See http://trac.sagemath.org/1819 for details.
    715725            sage: l = F.gens()
    716726            sage: len(l), type(l)
    717727            (40, <type 'tuple'>)
     
    731741       
    732742            sage: P.<a,b,c,d> = PolynomialRing(GF(127),4)
    733743            sage: F = mq.MPolynomialSystem(sage.rings.ideal.Katsura(P))
    734             doctest:1: DeprecationWarning: (Since 4.6.2) This function is replaced by sage.rings.polynomial.multi_polynomial_sequence.PolynomialSequence.
     744            doctest:...: DeprecationWarning: This function is replaced by sage.rings.polynomial.multi_polynomial_sequence.PolynomialSequence.
     745            See http://trac.sagemath.org/1819 for details.
    735746       
    736747        ``ij``-th polynomial overall::
    737748       
     
    772783            sage: sr = mq.SR(allow_zero_inversions=True)
    773784            sage: F,s = sr.polynomial_system()
    774785            sage: F = mq.MPolynomialSystem(F.ring(),tuple(F.parts()))
    775             doctest:1: DeprecationWarning: (Since 4.6.2) This function is replaced by sage.rings.polynomial.multi_polynomial_sequence.PolynomialSequence.
     786            doctest:...: DeprecationWarning: This function is replaced by sage.rings.polynomial.multi_polynomial_sequence.PolynomialSequence.
     787            See http://trac.sagemath.org/1819 for details.
    776788            sage: l = F.rounds()
    777789            sage: len(l)
    778790            4
     
    788800            sage: sr = mq.SR(allow_zero_inversions=True)
    789801            sage: F,s = sr.polynomial_system()
    790802            sage: F = mq.MPolynomialSystem(F.ring(),tuple(F.parts()))
    791             doctest:1: DeprecationWarning: (Since 4.6.2) This function is replaced by sage.rings.polynomial.multi_polynomial_sequence.PolynomialSequence.
     803            doctest:...: DeprecationWarning: This function is replaced by sage.rings.polynomial.multi_polynomial_sequence.PolynomialSequence.
     804            See http://trac.sagemath.org/1819 for details.
    792805            sage: R0 = F.round(1)
    793806            sage: R0
    794807            (k000^2 + k001, k001^2 + k002, k002^2 + k003, k003^2 + k000)
     
    804817            sage: sr = mq.SR(allow_zero_inversions=True)
    805818            sage: F,s = sr.polynomial_system()
    806819            sage: F = mq.MPolynomialSystem(F.ring(),tuple(F.parts()))
    807             doctest:1: DeprecationWarning: (Since 4.6.2) This function is replaced by sage.rings.polynomial.multi_polynomial_sequence.PolynomialSequence.
     820            doctest:...: DeprecationWarning: This function is replaced by sage.rings.polynomial.multi_polynomial_sequence.PolynomialSequence.
     821            See http://trac.sagemath.org/1819 for details.
    808822            sage: type(iter(F))
    809823            <type 'generator'>
    810824        """
     
    948962            + 2*c*d - b, b^2 + 2*a*c + 2*b*d - c]
    949963       
    950964            sage: F = mq.MPolynomialSystem(I)
    951             doctest:1: DeprecationWarning: (Since 4.6.2) This function is replaced by sage.rings.polynomial.multi_polynomial_sequence.PolynomialSequence.
     965            doctest:...: DeprecationWarning: This function is replaced by sage.rings.polynomial.multi_polynomial_sequence.PolynomialSequence.
     966            See http://trac.sagemath.org/1819 for details.
    952967            sage: A,v = F.coefficient_matrix()
    953968            sage: A
    954969            [  0   0   0   0   0   0   0   0   0   1   2   2   2 126]
     
    10281043            sage: P.<a,b,c,d> = PolynomialRing(GF(127))
    10291044            sage: I = sage.rings.ideal.Katsura(P)
    10301045            sage: F = mq.MPolynomialSystem(I); F
    1031             doctest:1: DeprecationWarning: (Since 4.6.2) This function is replaced by sage.rings.polynomial.multi_polynomial_sequence.PolynomialSequence.
     1046            doctest:...: DeprecationWarning: This function is replaced by sage.rings.polynomial.multi_polynomial_sequence.PolynomialSequence.
     1047            See http://trac.sagemath.org/1819 for details.
    10321048            Polynomial System with 4 Polynomials in 4 Variables
    10331049            sage: F._singular_()
    10341050            a+2*b+2*c+2*d-1,
     
    10701086            sage: P.<a,b,c,d> = PolynomialRing(GF(127))
    10711087            sage: I = sage.rings.ideal.Katsura(P)
    10721088            sage: F = mq.MPolynomialSystem(I); F # indirect doctest
    1073             doctest:1: DeprecationWarning: (Since 4.6.2) This function is replaced by sage.rings.polynomial.multi_polynomial_sequence.PolynomialSequence.
     1089            doctest:...: DeprecationWarning: This function is replaced by sage.rings.polynomial.multi_polynomial_sequence.PolynomialSequence.
     1090            See http://trac.sagemath.org/1819 for details.
    10741091            Polynomial System with 4 Polynomials in 4 Variables
    10751092        """
    10761093        return "Polynomial System with %d Polynomials in %d Variables"%(self.ngens(),self.nvariables())
     
    10851102            sage: P.<a,b,c,d> = PolynomialRing(GF(127))
    10861103            sage: I = sage.rings.ideal.Katsura(P)
    10871104            sage: F = mq.MPolynomialSystem(I)
    1088             doctest:1: DeprecationWarning: (Since 4.6.2) This function is replaced by sage.rings.polynomial.multi_polynomial_sequence.PolynomialSequence.
     1105            doctest:...: DeprecationWarning: This function is replaced by sage.rings.polynomial.multi_polynomial_sequence.PolynomialSequence.
     1106            See http://trac.sagemath.org/1819 for details.
    10891107            sage: F + [a^127 + a]
    1090             doctest:...: DeprecationWarning: (Since 4.6.2) This function is replaced by sage.rings.polynomial.multi_polynomial_sequence.PolynomialSequence.
     1108            doctest:...: DeprecationWarning: This function is replaced by sage.rings.polynomial.multi_polynomial_sequence.PolynomialSequence.
     1109            See http://trac.sagemath.org/1819 for details.
    10911110            Polynomial System with 5 Polynomials in 4 Variables
    10921111       
    10931112            sage: F + P.ideal([a^127 + a])
    1094             doctest:...: DeprecationWarning: (Since 4.6.2) This function is replaced by sage.rings.polynomial.multi_polynomial_sequence.PolynomialSequence.            Polynomial System with 5 Polynomials in 4 Variables
     1113            doctest:...: DeprecationWarning: This function is replaced by sage.rings.polynomial.multi_polynomial_sequence.PolynomialSequence.
     1114            See http://trac.sagemath.org/1819 for details.
     1115            Polynomial System with 5 Polynomials in 4 Variables
    10951116       
    10961117            sage: F + mq.MPolynomialSystem(P,[a^127 + a])
    1097             doctest:...: DeprecationWarning: (Since 4.6.2) This function is replaced by sage.rings.polynomial.multi_polynomial_sequence.PolynomialSequence.
     1118            doctest:...: DeprecationWarning: This function is replaced by sage.rings.polynomial.multi_polynomial_sequence.PolynomialSequence.
     1119            See http://trac.sagemath.org/1819 for details.
    10981120            Polynomial System with 5 Polynomials in 4 Variables
    10991121        """
    11001122        if is_MPolynomialSystem(right) and right.ring() == self.ring():
     
    11161138       
    11171139            sage: P.<a,b,c,d> = PolynomialRing(GF(127),4)
    11181140            sage: F = mq.MPolynomialSystem(sage.rings.ideal.Katsura(P))
    1119             doctest... DeprecationWarning: (Since 4.6.2) This function is replaced by sage.rings.polynomial.multi_polynomial_sequence.PolynomialSequence.
     1141            doctest:...: DeprecationWarning: This function is replaced by sage.rings.polynomial.multi_polynomial_sequence.PolynomialSequence.
     1142            See http://trac.sagemath.org/1819 for details.
    11201143       
    11211144        `ij`-th polynomial overall::
    11221145       
     
    11591182            sage: P.<x0,x1,x2,x3> = PolynomialRing(GF(37))
    11601183            sage: I = sage.rings.ideal.Katsura(P)
    11611184            sage: F = mq.MPolynomialSystem(I)
    1162             doctest:1: DeprecationWarning: (Since 4.6.2) This function is replaced by sage.rings.polynomial.multi_polynomial_sequence.PolynomialSequence.
     1185            doctest:...: DeprecationWarning: This function is replaced by sage.rings.polynomial.multi_polynomial_sequence.PolynomialSequence.
     1186            See http://trac.sagemath.org/1819 for details.
    11631187            sage: f = x0 + 2*x1 + 2*x2 + 2*x3 -1
    11641188            sage: f in F
    11651189            True
     
    11831207            sage: P.<x0,x1,x2,x3> = PolynomialRing(GF(37))
    11841208            sage: I = sage.rings.ideal.Katsura(P)
    11851209            sage: F = mq.MPolynomialSystem(P,I.gens())
    1186             doctest:1: DeprecationWarning: (Since 4.6.2) This function is replaced by sage.rings.polynomial.multi_polynomial_sequence.PolynomialSequence.
     1210            doctest:...: DeprecationWarning: This function is replaced by sage.rings.polynomial.multi_polynomial_sequence.PolynomialSequence.
     1211            See http://trac.sagemath.org/1819 for details.
    11871212            sage: list(F)
    11881213            [x0 + 2*x1 + 2*x2 + 2*x3 - 1,
    11891214            x0^2 + 2*x1^2 + 2*x2^2 + 2*x3^2 - x0,
     
    12051230       
    12061231            sage: B.<x,y,z> = BooleanPolynomialRing()
    12071232            sage: F = mq.MPolynomialSystem([x*y + y + 1, z + 1])
    1208             doctest:1: DeprecationWarning: (Since 4.6.2) This function is replaced by sage.rings.polynomial.multi_polynomial_sequence.PolynomialSequence.
     1233            doctest:...: DeprecationWarning: This function is replaced by sage.rings.polynomial.multi_polynomial_sequence.PolynomialSequence.
     1234            See http://trac.sagemath.org/1819 for details.
    12091235            sage: F.connection_graph()
    12101236            Graph on 3 vertices
    12111237        """
     
    12331259            sage: sr = mq.SR(2,4,4,8,gf2=True,polybori=True)
    12341260            sage: F,s = sr.polynomial_system()
    12351261            sage: F = mq.MPolynomialSystem(F.ring(),tuple(F.parts()))
    1236             doctest:1: DeprecationWarning: (Since 4.6.2) This function is replaced by sage.rings.polynomial.multi_polynomial_sequence.PolynomialSequence.
     1262            doctest:...: DeprecationWarning: This function is replaced by sage.rings.polynomial.multi_polynomial_sequence.PolynomialSequence.
     1263            See http://trac.sagemath.org/1819 for details.
    12371264            sage: Fz = mq.MPolynomialSystem(F.round(2))
    12381265            sage: Fz.connected_components()
    12391266            [Polynomial System with 128 Polynomials in 128 Variables,
     
    12611288
    12621289            sage: P.<x,y,z> = PolynomialRing(GF(127))
    12631290            sage: F = mq.MPolynomialSystem([x*y + z, y + z + 1])
    1264             doctest:1: DeprecationWarning: (Since 4.6.2) This function is replaced by sage.rings.polynomial.multi_polynomial_sequence.PolynomialSequence.
     1291            doctest:...: DeprecationWarning: This function is replaced by sage.rings.polynomial.multi_polynomial_sequence.PolynomialSequence.
     1292            See http://trac.sagemath.org/1819 for details.
    12651293            sage: F._groebner_strategy()
    12661294            Groebner Strategy for ideal generated by 2 elements over
    12671295            Multivariate Polynomial Ring in x, y, z over Finite Field of size 127
     
    13051333       
    13061334            sage: B.<a,b,c,d> = BooleanPolynomialRing()
    13071335            sage: F = mq.MPolynomialSystem([c + d + b + 1, a + c + d, a*b + c, b*c*d + c])
    1308             doctest:1: DeprecationWarning: (Since 4.6.2) This function is replaced by sage.rings.polynomial.multi_polynomial_sequence.PolynomialSequence.
     1336            doctest:...: DeprecationWarning: This function is replaced by sage.rings.polynomial.multi_polynomial_sequence.PolynomialSequence.
     1337            See http://trac.sagemath.org/1819 for details.
    13091338            sage: F.eliminate_linear_variables().gens() # everything vanishes
    1310             doctest... DeprecationWarning: (Since 4.6.2) This function is replaced by sage.rings.polynomial.multi_polynomial_sequence.PolynomialSequence.
     1339            doctest:...: DeprecationWarning: This function is replaced by sage.rings.polynomial.multi_polynomial_sequence.PolynomialSequence.
     1340            See http://trac.sagemath.org/1819 for details.
    13111341            ()
    13121342            sage: F.eliminate_linear_variables(maxlength=2).gens()
    13131343            (b + c + d + 1, b*c + b*d + c, b*c*d + c)
     
    13191349            sage: B.<a,b,c,d> = BooleanPolynomialRing()
    13201350            sage: F = mq.MPolynomialSystem([a + b + d, a + b + c])
    13211351            sage: F,R = F.eliminate_linear_variables(return_reductors=True)
    1322             doctest:...: DeprecationWarning: (Since 4.6.2) This function is replaced by sage.rings.polynomial.multi_polynomial_sequence.PolynomialSequence.
     1352            doctest:...: DeprecationWarning: This function is replaced by sage.rings.polynomial.multi_polynomial_sequence.PolynomialSequence.
     1353            See http://trac.sagemath.org/1819 for details.
    13231354
    13241355            sage: F.gens()
    13251356            (c + d,)
     
    14131444
    14141445            sage: P.<x,y,z> = PolynomialRing(GF(2))
    14151446            sage: F = mq.MPolynomialSystem([x*y + z, y + z + 1])
    1416             doctest:1: DeprecationWarning: (Since 4.6.2) This function is replaced by sage.rings.polynomial.multi_polynomial_sequence.PolynomialSequence.
     1447            doctest:...: DeprecationWarning: This function is replaced by sage.rings.polynomial.multi_polynomial_sequence.PolynomialSequence.
     1448            See http://trac.sagemath.org/1819 for details.
    14171449            sage: F._groebner_strategy()
    14181450            Groebner Strategy for ideal generated by 2 elements over
    14191451            Multivariate Polynomial Ring in x, y, z over Finite Field of size 2
     
    14581490            sage: P.<x,y> = PolynomialRing(k,2)
    14591491            sage: a = P.base_ring().gen()
    14601492            sage: F = mq.MPolynomialSystem(P,[x*y + 1, a*x + 1])
    1461             doctest:1: DeprecationWarning: (Since 4.6.2) This function is replaced by sage.rings.polynomial.multi_polynomial_sequence.PolynomialSequence.
     1493            doctest:...: DeprecationWarning: This function is replaced by sage.rings.polynomial.multi_polynomial_sequence.PolynomialSequence.
     1494            See http://trac.sagemath.org/1819 for details.
    14621495            sage: F
    14631496            Polynomial System with 2 Polynomials in 2 Variables
    14641497            sage: F2 = F.change_ring(GF(2)); F2
    14651498            doctest:1: DeprecationWarning: The use of this function is deprecated please use the weil_restriction() function instead.
    1466             doctest... DeprecationWarning: (Since 4.6.2) This function is replaced by sage.rings.polynomial.multi_polynomial_sequence.PolynomialSequence.
     1499            See http://trac.sagemath.org/5576 for details.
     1500            doctest:...: DeprecationWarning: This function is replaced by sage.rings.polynomial.multi_polynomial_sequence.PolynomialSequence.
     1501            See http://trac.sagemath.org/1819 for details.
    14671502            Polynomial System with 8 Polynomials in 4 Variables
    14681503            sage: F2.gens()
    14691504            (x1*y0 + x0*y1 + x1*y1,
     
    14971532            sage: P.<x,y> = PolynomialRing(k,2)
    14981533            sage: a = P.base_ring().gen()
    14991534            sage: F = mq.MPolynomialSystem(P,[x*y + 1, a*x + 1])
    1500             doctest... DeprecationWarning: (Since 4.6.2) This function is replaced by sage.rings.polynomial.multi_polynomial_sequence.PolynomialSequence.
     1535            doctest:...: DeprecationWarning: This function is replaced by sage.rings.polynomial.multi_polynomial_sequence.PolynomialSequence.
     1536            See http://trac.sagemath.org/1819 for details.
    15011537            sage: F
    15021538            Polynomial System with 2 Polynomials in 2 Variables
    15031539            sage: F2 = F.weil_restriction(); F2
  • sage/functions/log.py

    diff --git a/sage/functions/log.py b/sage/functions/log.py
    a b  
    123123
    124124            sage: exp(2,prec=100)
    125125            doctest:...: DeprecationWarning: The prec keyword argument is deprecated. Explicitly set the precision of the input, for example exp(RealField(300)(1)), or use the prec argument to .n() for exact inputs, e.g., exp(1).n(300), instead.
     126            See http://trac.sagemath.org/7490 for details.
    126127            7.3890560989306502272304274606
    127128        """
    128129        if prec is not None:
  • sage/functions/other.py

    diff --git a/sage/functions/other.py b/sage/functions/other.py
    a b  
    748748
    749749            sage: gamma(6, prec=53)
    750750            doctest:...: DeprecationWarning: The prec keyword argument is deprecated. Explicitly set the precision of the input, for example gamma(RealField(300)(1)), or use the prec argument to .n() for exact inputs, e.g., gamma(1).n(300), instead.
     751            See http://trac.sagemath.org/7490 for details.
    751752            120.000000000000
    752753
    753754        TESTS::
     
    10221023            sage: Q.<i> = NumberField(x^2+1)
    10231024            sage: gamma(i)
    10241025            doctest:...: DeprecationWarning: Calling symbolic functions with arguments that cannot be coerced into symbolic expressions is deprecated.
     1026            See http://trac.sagemath.org/7490 for details.
    10251027            -0.154949828301811 - 0.498015668118356*I
    10261028
    10271029        We make an exception for elements of AA or QQbar, which cannot be
  • sage/functions/special.py

    diff --git a/sage/functions/special.py b/sage/functions/special.py
    a b  
    16821682       
    16831683        sage: lngamma(RR(6))
    16841684        doctest:...: DeprecationWarning: The method lngamma() is deprecated. Use log_gamma() instead.
     1685        See http://trac.sagemath.org/6992 for details.
    16851686        4.78749174278205
    16861687    """
    16871688    from sage.misc.superseded import deprecation
     
    16981699       
    16991700        sage: exp_int(6)
    17001701        doctest:...: DeprecationWarning: The method exp_int() is deprecated. Use -Ei(-x) or exponential_integral_1(x) as needed instead.
     1702        See http://trac.sagemath.org/6992 for details.
    17011703        0.000360082452162659
    17021704    """
    17031705    from sage.misc.superseded import deprecation
  • sage/functions/transcendental.py

    diff --git a/sage/functions/transcendental.py b/sage/functions/transcendental.py
    a b  
    342342
    343343            sage: Ei(1.1, prec=300)
    344344            doctest:...: DeprecationWarning: The prec keyword argument is deprecated. Explicitly set the precision of the input, for example Ei(RealField(300)(1)), or use the prec argument to .n() for exact inputs, e.g., Ei(1).n(300), instead.
     345            See http://trac.sagemath.org/7748 for details.
    345346            2.16737827956340306615064476647912607220394065907142504328679588538509331805598360907980986
    346347        """
    347348        if prec is not None:
  • sage/geometry/cone.py

    diff --git a/sage/geometry/cone.py b/sage/geometry/cone.py
    a b  
    968968
    969969            sage: c = Cone([(1,0), (0,1), (-1, 0)])
    970970            sage: [ray for ray in c.ray_iterator()]
    971             doctest:...: DeprecationWarning: (Since Sage Version 5.1)
     971            doctest:...: DeprecationWarning:
    972972            ray_iterator(...) is deprecated!
     973            See http://trac.sagemath.org/12544 for details.
    973974            [N(0, 1), N(1, 0), N(-1, 0)]
    974975        """
    975976        # I couldn't move it to the new Cython class due to some issues with
     
    10001001
    10011002            sage: c = Cone([(1,0), (0,1), (-1, 0)])
    10021003            sage: c.ray_matrix()
    1003             doctest:...: DeprecationWarning: (Since Sage Version 5.1)
     1004            doctest:...: DeprecationWarning:
    10041005            ray_matrix(...) is deprecated,
    10051006            please use rays().column_matrix() instead!
     1007            See http://trac.sagemath.org/12544 for details.
    10061008            [ 0  1 -1]
    10071009            [ 1  0  0]
    10081010        """
     
    10241026
    10251027            sage: c = Cone([(1,0), (0,1), (-1, 0)])
    10261028            sage: c.ray_set()
    1027             doctest:1: DeprecationWarning: (Since Sage Version 5.1)
     1029            doctest:1: DeprecationWarning:
    10281030            ray_set(...) is deprecated, please use rays().set() instead!
     1031            See http://trac.sagemath.org/12544 for details.
    10291032            frozenset([N(0, 1), N(1, 0), N(-1, 0)])
    10301033        """
    10311034        deprecation(12544, "ray_set(...) is deprecated, "
     
    10861089
    10871090            sage: c = Cone([(1,1,1,1), (1,-1,1,1), (-1,-1,1,1), (-1,1,1,1), (0,0,0,1)])
    10881091            sage: c.ray_basis()
    1089             doctest:...: DeprecationWarning: (Since Sage Version 5.1)
     1092            doctest:...: DeprecationWarning:
    10901093            ray_basis(...) is deprecated,
    10911094            please use rays().basis() instead!
     1095            See http://trac.sagemath.org/12544 for details.
    10921096            N( 1,  1, 1, 1),
    10931097            N( 1, -1, 1, 1),
    10941098            N(-1, -1, 1, 1),
     
    11211125
    11221126            sage: c = Cone([(1,1,1,1), (1,-1,1,1), (-1,-1,1,1), (-1,1,1,1), (0,0,0,1)])
    11231127            sage: c.ray_basis_matrix()
    1124             doctest:...: DeprecationWarning: (Since Sage Version 5.1)
     1128            doctest:...: DeprecationWarning:
    11251129            ray_basis_matrix(...) is deprecated,
    11261130            please use rays().basis().column_matrix() instead!
     1131            See http://trac.sagemath.org/12544 for details.
    11271132            [ 1  1 -1  0]
    11281133            [ 1 -1 -1  0]
    11291134            [ 1  1  1  0]
     
    28602865
    28612866            sage: halfplane = Cone([(1,0), (0,1), (-1,0)])
    28622867            sage: halfplane.line_set()
    2863             doctest:1: DeprecationWarning: (Since Sage Version 5.1)
     2868            doctest:1: DeprecationWarning:
    28642869            line_set(...) is deprecated, please use lines().set() instead!
     2870            See http://trac.sagemath.org/12544 for details.
    28652871            frozenset([N(1, 0)])
    28662872            sage: fullplane = Cone([(1,0), (0,1), (-1,-1)])
    28672873            sage: fullplane.line_set()
  • sage/geometry/polyhedron/base.py

    diff --git a/sage/geometry/polyhedron/base.py b/sage/geometry/polyhedron/base.py
    a b  
    18421842
    18431843            sage: Polyhedron(vertices = [[5,0,0],[0,5,0],[5,5,0],[2,2,5]]
    18441844            ...             ).triangulated_facial_incidences()
    1845             doctest:...: DeprecationWarning: (Since Sage Version 4.7.1)
    1846             This method is deprecated. Use triangulate() instead.
     1845            doctest:...: DeprecationWarning: This method is
     1846            deprecated. Use triangulate() instead.
     1847            See http://trac.sagemath.org/11634 for details.
    18471848            [[0, [0, 1, 2]], [1, [0, 1, 3]], [2, [0, 2, 3]], [3, [1, 2, 3]]]
    18481849                             
    18491850        Otherwise some faces get split up to triangles::
    18501851
    18511852            sage: Polyhedron(vertices = [[2,0,0],[4,1,0],[0,5,0],[5,5,0],
    18521853            ...       [1,1,0],[0,0,1]]).triangulated_facial_incidences()
    1853             doctest:...: DeprecationWarning: (Since Sage Version 4.7.1)
    1854             This method is deprecated. Use triangulate() instead.
     1854            doctest:...: DeprecationWarning: This method is
     1855            deprecated. Use triangulate() instead.
     1856            See http://trac.sagemath.org/11634 for details.
    18551857            [[0, [1, 2, 5]], [0, [2, 5, 3]], [0, [5, 3, 4]], [1, [0, 1, 2]],
    18561858             [2, [0, 2, 3]], [3, [0, 3, 4]], [4, [0, 4, 5]], [5, [0, 1, 5]]]
    18571859        """
     
    19231925
    19241926            sage: p = polytopes.cuboctahedron()
    19251927            sage: sc = p.simplicial_complex()
    1926             doctest:...: DeprecationWarning: (Since Sage Version 4.7.1)
     1928            doctest:...: DeprecationWarning:
    19271929            This method is deprecated. Use triangulate().simplicial_complex() instead.
    1928             doctest:...: DeprecationWarning: (Since Sage Version 4.7.1)
     1930            See http://trac.sagemath.org/11634 for details.
     1931            doctest:...: DeprecationWarning:
    19291932            This method is deprecated. Use triangulate() instead.
     1933            See http://trac.sagemath.org/11634 for details.
    19301934            sage: sc
    19311935            Simplicial complex with 13 vertices and 20 facets
    19321936        """
     
    20482052        EXAMPLES::
    20492053       
    20502054            sage: Polyhedron(vertices=[[0]]).union( Polyhedron(vertices=[[1]]) )
    2051             doctest:...: DeprecationWarning: (Since Sage Version 4.4.4)
     2055            doctest:...: DeprecationWarning:
    20522056            The function union is replaced by convex_hull.
     2057            See http://trac.sagemath.org/11634 for details.
    20532058            A 1-dimensional polyhedron in QQ^1 defined as the convex hull of 2 vertices
    20542059        """
    20552060        from sage.misc.superseded import deprecation
  • sage/graphs/generic_graph.py

    diff --git a/sage/graphs/generic_graph.py b/sage/graphs/generic_graph.py
    a b  
    1090810908            doctest:...: DeprecationWarning: The option 'return_vertex_weights'
    1090910909            has been deprecated. Only offered for backwards compatibility with
    1091010910            NetworkX 1.2.
     10911            See http://trac.sagemath.org/12806 for details.
    1091110912            ({0: 0.3333333333333333, 1: 0.3333333333333333, 2: 0.0,
    1091210913              3: 0.3333333333333333, 4: 0.3333333333333333,
    1091310914              5: 0.3333333333333333, 6: 0.3333333333333333,
  • sage/graphs/graph.py

    diff --git a/sage/graphs/graph.py b/sage/graphs/graph.py
    a b  
    38033803            sage: C = Graph('DJ{')
    38043804            sage: C.cliques()
    38053805            doctest:...: DeprecationWarning: The function 'cliques' has been deprecated. Use 'cliques_maximal' or 'cliques_maximum'.
     3806            See http://trac.sagemath.org/5793 for details.
    38063807            [[4, 0], [4, 1, 2, 3]]
    38073808
    38083809        """
  • sage/groups/perm_gps/permgroup.py

    diff --git a/sage/groups/perm_gps/permgroup.py b/sage/groups/perm_gps/permgroup.py
    a b  
    17981798            sage: N = PermutationGroup([(1,2,3)])
    17991799            sage: G.quotient_group(N)
    18001800            doctest:...: DeprecationWarning: quotient_group() is deprecated; use quotient() instead.
     1801            See http://trac.sagemath.org/7371 for details.
    18011802            Permutation Group with generators [(1,2)]
    18021803        """
    18031804        from sage.misc.superseded import deprecation
  • sage/groups/perm_gps/permgroup_morphism.py

    diff --git a/sage/groups/perm_gps/permgroup_morphism.py b/sage/groups/perm_gps/permgroup_morphism.py
    a b  
    6969            sage: G = PSL(2,7)
    7070            sage: D, iota1, iota2, pr1, pr2 = G.direct_product(G)
    7171            sage: pr1.range()
    72             doctest... DeprecationWarning: (Since Sage Version 5.0) range is deprecated. Please use codomain instead.
     72            doctest:...: DeprecationWarning: range is deprecated. Please use codomain instead.
     73            See http://trac.sagemath.org/10334 for details.
    7374            Permutation Group with generators [(3,7,5)(4,8,6), (1,2,6)(3,4,8)]
    7475        """
    7576        deprecation(10334, 'range is deprecated. Please use codomain instead.')
  • sage/libs/pari/gen.pyx

    diff --git a/sage/libs/pari/gen.pyx b/sage/libs/pari/gen.pyx
    a b  
    50425042           
    50435043            sage: pari(100).lngamma()
    50445044            doctest:...: DeprecationWarning: The method lngamma() is deprecated. Use log_gamma() instead.
     5045            See http://trac.sagemath.org/6992 for details.
    50455046            359.134205369575
    50465047        """
    50475048        from sage.misc.superseded import deprecation
  • sage/matrix/matrix0.pyx

    diff --git a/sage/matrix/matrix0.pyx b/sage/matrix/matrix0.pyx
    a b  
    138138            sage: a = matrix([[1,2],[3,4]])
    139139            sage: b = a.copy()
    140140            doctest:...: DeprecationWarning: the .copy() method is deprecated; please use the copy() function instead, for example, copy(M)
     141            See http://trac.sagemath.org/6521 for details.
    141142            sage: b = copy(a)
    142143
    143144        ::
  • sage/matrix/matrix2.pyx

    diff --git a/sage/matrix/matrix2.pyx b/sage/matrix/matrix2.pyx
    a b  
    93949394            [    1.0   121.0  1555.0  7381.0 22621.0]
    93959395            [    1.0   341.0  4681.0 22621.0 69905.0]
    93969396            sage: L = m.cholesky_decomposition(); L
    9397             doctest:...: DeprecationWarning: (Since Sage Version 5.1)
     9397            doctest:...: DeprecationWarning:
    93989398            cholesky_decomposition() is deprecated; please use cholesky() instead.
     9399            See http://trac.sagemath.org/13045 for details.
    93999400            [          1.0           0.0           0.0           0.0           0.0]
    94009401            [          1.0           2.0           0.0           0.0           0.0]
    94019402            [          1.0          15.0 10.7238052948           0.0           0.0]
  • sage/matrix/matrix_double_dense.pyx

    diff --git a/sage/matrix/matrix_double_dense.pyx b/sage/matrix/matrix_double_dense.pyx
    a b  
    13121312            doctest:...: DeprecationWarning: Eigenspaces of RDF/CDF matrices are
    13131313            deprecated as of Sage version 5.0,
    13141314            please use "eigenmatrix_left" instead
     1315            See http://trac.sagemath.org/11603 for details.
    13151316
    13161317        ::
    13171318
     
    13991400            doctest:...: DeprecationWarning: Eigenspaces of RDF/CDF matrices are
    14001401            deprecated as of Sage version 5.0,
    14011402            please use "eigenmatrix_right" instead
     1403            See http://trac.sagemath.org/11603 for details.
    14021404
    14031405        ::
    14041406
  • sage/matrix/matrix_space.py

    diff --git a/sage/matrix/matrix_space.py b/sage/matrix/matrix_space.py
    a b  
    428428            [1 2]
    429429            [3 4]
    430430            sage: MS([1,2,3,4], rows=True)
    431             doctest:...: DeprecationWarning: (Since Sage 5.1)
     431            doctest:...: DeprecationWarning:
    432432            'rows=True/False' parameter is deprecated!
     433            See http://trac.sagemath.org/13012 for details.
     434            doctest:...: DeprecationWarning:
     435            'rows=True/False' parameter is deprecated!
     436            See http://trac.sagemath.org/13012 for details.
    433437            [1 2]
    434438            [3 4]
    435439            sage: MS([1,2,3,4], rows=False)
     
    12161220            [1 2]
    12171221            [3 4]
    12181222            sage: M.matrix([1,2,3,4],rows=False)
    1219             doctest:...: DeprecationWarning: (Since Sage 5.1)
     1223            doctest:...: DeprecationWarning:
    12201224            'rows=True/False' parameter is deprecated!
     1225            See http://trac.sagemath.org/13012 for details.
    12211226            [1 3]
    12221227            [2 4]
    12231228           
  • sage/matrix/matrix_symbolic_dense.pyx

    diff --git a/sage/matrix/matrix_symbolic_dense.pyx b/sage/matrix/matrix_symbolic_dense.pyx
    a b  
    485485            [    x^2 y^2 + 2]
    486486            sage: m.is_simplified()
    487487            doctest:...: DeprecationWarning: is_simplified is deprecated
     488            See http://trac.sagemath.org/6115 for details.
    488489            False
    489490            sage: ms = m.simplify(); ms
    490491            [      z       1]
     
    660661            [              0 sin(x) + cos(x)]
    661662            sage: h(1)
    662663            doctest:...: DeprecationWarning: Substitution using function-call syntax and unnamed arguments is deprecated and will be removed from a future release of Sage; you can use named arguments instead, like EXPR(x=..., y=...)
     664            See http://trac.sagemath.org/4513 for details.
     665            doctest:...: DeprecationWarning: Substitution using function-call syntax and unnamed arguments is deprecated and will be removed from a future release of Sage; you can use named arguments instead, like EXPR(x=..., y=...)
     666            See http://trac.sagemath.org/5930 for details.
    663667            [sin(1) + cos(1)               0]
    664668            [              0 sin(1) + cos(1)]
    665669            sage: h(x)
  • sage/misc/functional.py

    diff --git a/sage/misc/functional.py b/sage/misc/functional.py
    a b  
    15941594   
    15951595        sage: numerical_sqrt(10.1)
    15961596        doctest:1: DeprecationWarning: numerical_sqrt is deprecated, use sqrt(x, prec=n) instead
     1597        See http://trac.sagemath.org/5404 for details.
    15971598        3.17804971641414
    15981599        sage: numerical_sqrt(9)
    15991600        3
  • sage/misc/latex.py

    diff --git a/sage/misc/latex.py b/sage/misc/latex.py
    a b  
    15041504
    15051505            sage: latex.pdflatex()
    15061506            doctest:...: DeprecationWarning: Use engine() instead.
     1507            See http://trac.sagemath.org/8486 for details.
    15071508            False
    15081509            sage: latex.pdflatex(True)
    15091510            doctest:...: DeprecationWarning: Use engine("pdflatex") instead.
     1511            See http://trac.sagemath.org/8552 for details.
    15101512            sage: latex.pdflatex()
    15111513            True
    15121514            sage: latex.pdflatex(False)
    15131515            doctest:...: DeprecationWarning: Use engine("latex") instead.
     1516            See http://trac.sagemath.org/8552 for details.
    15141517        """
    15151518        if t is None:
    15161519            from sage.misc.superseded import deprecation
     
    18951898        sage: g = f.integrate()
    18961899        sage: jsmath(f)
    18971900        doctest:1: DeprecationWarning: The jsmath function is deprecated.  Use html('$math$') for inline mode or html('$$math$$') for display mode.
     1901        See http://trac.sagemath.org/8552 for details.
    18981902        <html><font color='black'><div class="math">{{1}\over{x^2+1}}</div></font></html>
     1903        <BLANKLINE>
    18991904        sage: jsmath(g, 'inline')
    19001905        <html><font color='black'><span class="math">\tan^{-1} x</span></font></html>
    19011906        sage: jsmath('\int' + latex(f) + '\ dx=' + latex(g))
  • sage/modules/free_module_element.pyx

    diff --git a/sage/modules/free_module_element.pyx b/sage/modules/free_module_element.pyx
    a b  
    11211121       
    11221122            sage: v = vector(ZZ, [2, 12, 22])
    11231123            sage: transpose(vector(v))
    1124             doctest:...: DeprecationWarning: (Since Sage Version 4.6.2) The transpose() method for vectors has been deprecated, use column() instead
     1124            doctest:...: DeprecationWarning: The transpose() method for vectors has been deprecated, use column() instead
    11251125            (or check to see if you have a vector when you really want a matrix)
     1126            See http://trac.sagemath.org/10541 for details.
    11261127            [ 2]
    11271128            [12]
    11281129            [22]
  • sage/plot/misc.py

    diff --git a/sage/plot/misc.py b/sage/plot/misc.py
    a b  
    7878        ...
    7979        ValueError: Some variable ranges specify variables while others do not
    8080        sage: sage.plot.misc.setup_for_eval_on_grid(x+y, [(1,-1),(-1,1)], plot_points=5)
    81         doctest:...: DeprecationWarning: Unnamed ranges for more than one variable is deprecated and will be removed from a future release of Sage; you can used named ranges instead, like (x,0,2)
     81        doctest:...: DeprecationWarning:
     82        Unnamed ranges for more than one variable is deprecated and
     83        will be removed from a future release of Sage; you can used
     84        named ranges instead, like (x,0,2)
     85        See http://trac.sagemath.org/7008 for details.
    8286        (<sage.ext...>, [(1.0, -1.0, 0.5), (-1.0, 1.0, 0.5)])
    8387        sage: sage.plot.misc.setup_for_eval_on_grid(x+y, [(y,1,-1),(x,-1,1)], plot_points=5)
    8488        (<sage.ext...>, [(1.0, -1.0, 0.5), (-1.0, 1.0, 0.5)])
  • sage/plot/plot.py

    diff --git a/sage/plot/plot.py b/sage/plot/plot.py
    a b  
    21712171        sage: from sage.plot.plot import var_and_list_of_values
    21722172        sage: var_and_list_of_values((var('theta'), 2, 5),  5)
    21732173        doctest:...: DeprecationWarning: var_and_list_of_values is deprecated.  Please use sage.plot.misc.setup_for_eval_on_grid; note that that function has slightly different calling and return conventions which make it more generally applicable
     2174        See http://trac.sagemath.org/7008 for details.
    21742175        (theta, [2.0, 2.75, 3.5, 4.25, 5.0])
    21752176        sage: var_and_list_of_values((2, 5),  5)
    21762177        (None, [2.0, 2.75, 3.5, 4.25, 5.0])
     
    22452246        sage: x,y = var('x,y')
    22462247        sage: sage.plot.plot.setup_for_eval_on_grid([x^2 + y^2], (x,0,5), (y,0,pi), 11)
    22472248        doctest:...: DeprecationWarning: sage.plot.plot.setup_for_eval_on_grid is deprecated.  Please use sage.plot.misc.setup_for_eval_on_grid; note that that function has slightly different calling and return conventions which make it more generally applicable
     2249        See http://trac.sagemath.org/7008 for details.
    22482250        ([<sage.ext... object at ...>],
    22492251         0.5,
    22502252         0.3141592653589793,
  • sage/plot/plot3d/shapes.pyx

    diff --git a/sage/plot/plot3d/shapes.pyx b/sage/plot/plot3d/shapes.pyx
    a b  
    579579    The thickness option is now deprecated.  It has been replaced by the width option.
    580580   
    581581        sage: arrow3d((0,0,0), (1,1,1), thickness=1)
    582         doctest:...: DeprecationWarning: (Since Sage 4.6) use the option 'width' instead of 'thickness'
     582        doctest:...: DeprecationWarning: use the option 'width' instead of 'thickness'
     583        See http://trac.sagemath.org/7154 for details.
    583584        <BLANKLINE>
    584585    """
    585586    if radius is None:
  • sage/rings/integer.pyx

    diff --git a/sage/rings/integer.pyx b/sage/rings/integer.pyx
    a b  
    49624962       
    49634963            sage: 5.sqrt_approx(prec=200)
    49644964            doctest:...: DeprecationWarning: This function is deprecated.  Use sqrt with a given number of bits of precision instead.
     4965            See http://trac.sagemath.org/10107 for details.
    49654966            2.2360679774997896964091736687312762354406183596115257242709
    49664967            sage: 5.sqrt_approx()
    49674968            2.23606797749979
  • sage/rings/polynomial/multi_polynomial_ideal.py

    diff --git a/sage/rings/polynomial/multi_polynomial_ideal.py b/sage/rings/polynomial/multi_polynomial_ideal.py
    a b  
    19841984            sage: I = Ideal([z*x+y^3,z+y^3,z+x*y])
    19851985            sage: I.reduced_basis()
    19861986            doctest:...: DeprecationWarning: This function is deprecated. It will be removed in a future release of Sage. Please use the interreduced_basis() function instead.
     1987            See http://trac.sagemath.org/5058 for details.
    19871988            [y^3 + z, x*y + z, x*z - z]
    19881989
    19891990            sage: R.<x,y,z> = PolynomialRing(QQ,order='negdegrevlex')
  • sage/rings/polynomial/multi_polynomial_ring.py

    diff --git a/sage/rings/polynomial/multi_polynomial_ring.py b/sage/rings/polynomial/multi_polynomial_ring.py
    a b  
    738738       
    739739            sage: P.<x,y,z>=MPolynomialRing(ZZ,3, order='degrevlex')
    740740            doctest:1: DeprecationWarning: MPolynomialRing is deprecated, use PolynomialRing instead!
     741            See http://trac.sagemath.org/6500 for details.
    741742            sage: P.monomial_divides(x*y*z, x^3*y^2*z^4)
    742743            True
    743744            sage: P.monomial_divides(x^3*y^2*z^4, x*y*z)
  • sage/rings/polynomial/polynomial_element.pyx

    diff --git a/sage/rings/polynomial/polynomial_element.pyx b/sage/rings/polynomial/polynomial_element.pyx
    a b  
    54095409            -theta^3 + 6*theta^2 - 12*theta + 8
    54105410            sage: f.name()
    54115411            doctest:...: DeprecationWarning: This function is deprecated. It will be removed in a future release of Sage. Please use the .variable_name() function instead.
     5412            See http://trac.sagemath.org/4522 for details.
    54125413            'theta'
    54135414        """
    54145415        from sage.misc.superseded import deprecation
  • sage/rings/rational.pyx

    diff --git a/sage/rings/rational.pyx b/sage/rings/rational.pyx
    a b  
    15041504       
    15051505            sage: (5/3).sqrt_approx()
    15061506            doctest:...: DeprecationWarning: This function is deprecated.  Use sqrt with a given number of bits of precision instead.
     1507            See http://trac.sagemath.org/9859 for details.
    15071508            1.29099444873581
    15081509            sage: (990829038092384908234098239048230984/4).sqrt_approx()
    15091510            4.9770197862083713747374920870362581922510725585130996993055116540856385e17
  • sage/rings/real_mpfr.pyx

    diff --git a/sage/rings/real_mpfr.pyx b/sage/rings/real_mpfr.pyx
    a b  
    45914591           
    45924592            sage: RR(6).lngamma()
    45934593            doctest:...: DeprecationWarning: The method lngamma() is deprecated. Use log_gamma() instead.
     4594            See http://trac.sagemath.org/6992 for details.
    45944595            4.78749174278205
    45954596        """
    45964597        from sage.misc.superseded import deprecation
  • sage/sets/set.py

    diff --git a/sage/sets/set.py b/sage/sets/set.py
    a b  
    139139
    140140        sage: EnumeratedSet([1,1,2,3])
    141141        doctest:1: DeprecationWarning: EnumeratedSet is deprecated; use Set instead.
     142        See http://trac.sagemath.org/8930 for details.
    142143        {1, 2, 3}
    143144        sage: EnumeratedSet(ZZ)
    144145        Traceback (most recent call last):
  • sage/structure/element.pyx

    diff --git a/sage/structure/element.pyx b/sage/structure/element.pyx
    a b  
    18441844            sage: a = Integers(12)(5)
    18451845            sage: a.order()
    18461846            doctest... DeprecationWarning: The function order is deprecated for ring elements; use additive_order or multiplicative_order instead.
     1847            See http://trac.sagemath.org/5716 for details.
    18471848            12
    18481849        """
    18491850        # deprecation added 2009-05
  • sage/structure/sage_object.pyx

    diff --git a/sage/structure/sage_object.pyx b/sage/structure/sage_object.pyx
    a b  
    11131113
    11141114        sage: sage.structure.sage_object.unpickle_all()  # (4s on sage.math, 2011)
    11151115        doctest:... DeprecationWarning: This class is replaced by Matrix_modn_dense_float/Matrix_modn_dense_double.
     1116        See http://trac.sagemath.org/4260 for details.
    11161117        Successfully unpickled ... objects.
    11171118        Failed to unpickle 0 objects.
    11181119
  • sage/symbolic/expression.pyx

    diff --git a/sage/symbolic/expression.pyx b/sage/symbolic/expression.pyx
    a b  
    66666666
    66676667            sage: x.lgamma()
    66686668            doctest:...: DeprecationWarning: The lgamma() function is deprecated. Use log_gamma() instead.
     6669            See http://trac.sagemath.org/6992 for details.
    66696670            log_gamma(x)
    66706671        """
    66716672        from sage.misc.superseded import deprecation
  • sage/symbolic/expression_conversions.py

    diff --git a/sage/symbolic/expression_conversions.py b/sage/symbolic/expression_conversions.py
    a b  
    10831083        deprecated::
    10841084       
    10851085            sage: f = x._fast_float_()
    1086             doctest:...: DeprecationWarning: Substitution using function-call syntax and unnamed arguments is deprecated and will be removed from a future release of Sage; you can use named arguments instead, like EXPR(x=..., y=...)
     1086            doctest:...: DeprecationWarning: Substitution using
     1087            function-call syntax and unnamed arguments is deprecated
     1088            and will be removed from a future release of Sage; you
     1089            can use named arguments instead, like EXPR(x=..., y=...)
     1090            See http://trac.sagemath.org/5930 for details.
    10871091            sage: f(1.2)
    10881092            1.2
    10891093
  • sage/symbolic/integration/integral.py

    diff --git a/sage/symbolic/integration/integral.py b/sage/symbolic/integration/integral.py
    a b  
    280280        sage: _normalize_integral_input(x^2, [0, 3], None, None)
    281281        doctest:...: DeprecationWarning:
    282282        Variable of integration should be specified explicitly.
     283        See http://trac.sagemath.org/12438 for details.
    283284        (x^2, x, 0, 3)
    284285        sage: _normalize_integral_input(x^2, [x], None, None)
    285286        (x^2, x, None, None)
     
    613614    Test deprecation warning when variable is not specified::
    614615
    615616        sage: x.integral()
    616         doctest:...: DeprecationWarning: Variable of integration should be specified explicitly.
     617        doctest:...: DeprecationWarning:
     618        Variable of integration should be specified explicitly.
     619        See http://trac.sagemath.org/12438 for details.
    617620        1/2*x^2
    618621
    619622    Test that #8729 is fixed::
  • sage/symbolic/ring.pyx

    diff --git a/sage/symbolic/ring.pyx b/sage/symbolic/ring.pyx
    a b  
    615615            x + y
    616616            sage: f(3)
    617617            doctest:...: DeprecationWarning: Substitution using function-call syntax and unnamed arguments is deprecated and will be removed from a future release of Sage; you can use named arguments instead, like EXPR(x=..., y=...)
     618            See http://trac.sagemath.org/5930 for details.
    618619            y + 3
    619620            sage: f(x=3)
    620621            y + 3