On 2 Mrz., 04:17, "Joel B. Mohler" <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'd like discussion 
> on:http://trac.sagemath.org/sage_trac/ticket/2232http://trac.sagemath.org/sage_trac/ticket/2170
> I made comments in both of those last tickets.  I think the first is invalid

I don't think so! (Ok, i reported this bug, so maybe i'm not objective
enough ;-)
I posted a comment to your comment on #2232, but i will repeat it
here:

You're right that you should use ".str" if you just want to get the
string representation of a number in a given base.
But the digits function can do more. It can take any indexable object
as source for the digits. So i think this is really a bug which should
be fixed, because since

sage: 1.digits(11,'pleasefixme')
['l']

this

sage: 0.digits(11,'pleasefixme')

should return

['p']

(what it currently does not! It returns [] )
--~--~---------~--~----~------------~-------~--~----~
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://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to