Hello, this is certainly a bug. The error comes from (a/s**2).is_polynomial(s).
Christophe 2013/10/17 Alessandro Bernardini <alessandro.bernardini....@gmail.com> > sage: s, a, b= var('s a b') > > sage: (1/s^2 + s).is_polynomial(s) > False > sage: (a/s^2 + b*s).is_polynomial(s) > > True > sage: version() > 'Sage Version 5.6, Release Date: 2013-01-21' > sage: > > should return False ? > > > -- > You received this message because you are subscribed to the Google Groups > "sage-support" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to sage-support+unsubscr...@googlegroups.com. > To post to this group, send email to sage-support@googlegroups.com. > Visit this group at http://groups.google.com/group/sage-support. > For more options, visit https://groups.google.com/groups/opt_out. > -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at http://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/groups/opt_out.