I just found a problem with Integer(). It doesn't seem to work fine with
float strings.
Those work fine:
Integer("1")
Integer(1.)

But this doesn't:
Integer("1.")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/ronan/.sage/sage_notebook/worksheets/admin/8/code/6.py", line 6, 
in <module>
    Integer("1.")
  File 
"/home/ronan/progs/sage/local/lib/python2.5/site-packages/ZODB3-3.7.0-py2.5-linux-i686.egg/",
 line 1, in <module>
    
  File "integer.pyx", line 441, in sage.rings.integer.Integer.__init__ 
(sage/rings/integer.c:5593)
TypeError: unable to convert x (=1.) to an integer


Does that belong to a ticket?

Ronan Paixão


--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
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://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to