Arrggghhh. When you do code inspection via factor_padic?, the period apparently gets filtered out. That's not very helpful somehow.
david On Oct 18, 2007, at 10:37 AM, David Roe wrote: > The reason is that that doctest has sage.: > David > > On 10/18/07, David Harvey <[EMAIL PROTECTED] > wrote: > > Ummmmmm...... > > sage: R.<x> = QQ[] > sage: f = x^3 - 2 > sage: f.factor_padic(2) > ---------------------------------------------------------------------- > -- > --- > <type 'exceptions.TypeError'> Traceback (most recent call > last) > > /Users/david/sage- 2.8.4/<ipython console> in <module>() > > /Users/david/sage-2.8.4/local/lib/python2.5/site-packages/sage/rings/ > polynomial/polynomial_element_generic.py in factor_padic(self, p, > prec) > 875 K = Qp(p, prec, type='capped-rel') > 876 R = > sage.rings.polynomial.polynomial_ring.PolynomialRing(K, > names=self.parent().variable_name()) > --> 877 return R(self).factor(absprec = prec) > 878 > 879 def list(self): > > <type 'exceptions.TypeError'>: factor() got an unexpected keyword > argument 'absprec' > > > This happens on the current version of sage on sage.math, it also > happens on sage 2.8.5 on my machine at home. But that's exactly the > example code in the doctest for factor_padic! Why isn't it failing > doctests? > > david > > > --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/ -~----------~----~----~----~------~----~------~--~---