#9634: binomial does not accept variable when only in the lower argument
-------------------------+-------------------------------------------------
       Reporter:         |        Owner:  burcin
  Henryk.Trappmann       |       Status:  positive_review
           Type:         |    Milestone:  sage-6.2
  defect                 |   Resolution:
       Priority:  major  |    Merged in:
      Component:         |    Reviewers:  Ralf Stephan
  symbolics              |  Work issues:
       Keywords:         |       Commit:
        Authors:         |  0b0e75ecb4eb41b505d0557af22059051513f946
  Burcin Erocal          |     Stopgaps:
Report Upstream:  N/A    |
         Branch:         |
  u/rws/ticket/9634      |
   Dependencies:         |
-------------------------+-------------------------------------------------

Comment (by vbraun):

 The branch loses the "Polynomial" global which causes a number of doctest
 falures
 {{{
 sage -t --long src/sage/rings/polynomial/polynomial_element.pyx
 **********************************************************************
 File "src/sage/rings/polynomial/polynomial_element.pyx", line 2592, in
 sage.rings.polynomial.polynomial_element.Polynomial.denominator
 Failed example:
     isinstance(x.numerator() / x.denominator(), Polynomial)
 Exception raised:
     Traceback (most recent call last):
       File
 "/scratch/buildbot/sage/redhawk-1/sage_git/build/local/lib/python2.7/site-
 packages/sage/doctest/forker.py", line 480, in _run
         self.execute(example, compiled, test.globs)
       File
 "/scratch/buildbot/sage/redhawk-1/sage_git/build/local/lib/python2.7/site-
 packages/sage/doctest/forker.py", line 839, in execute
         exec compiled in globs
       File "<doctest
 sage.rings.polynomial.polynomial_element.Polynomial.denominator[13]>",
 line 1, in <module>
         isinstance(x.numerator() / x.denominator(), Polynomial)
     NameError: name 'Polynomial' is not defined
 }}}

--
Ticket URL: <http://trac.sagemath.org/ticket/9634#comment:16>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to