Hi! I want to hear your opinions about a little problem. The following bug is already reported as #2232: "1.digits(16,'0123456789abcdef')" returns "['1']" but "0.digits(16,'0123456789abcdef')" returns "[]" (and not "['0']" as i wish)
So i started looking at the code to fix this little problem. But it looks like this was (maybe) intended, because the docstring says something like "0 has 0 digits", and so in particular "0.digits(base=10)" returns "[]". And here is my question: Should "0.digits(base=10)" return "[]" or "[0]" (which i prefer, but i'm here to get your opinions) Clearly i can just fix my first problem ("0.digits(16,'0123456789abcdef')") and let "0.digits(base=10)" as it is, but i think this is inconsistent or inconsequent. -vgermrk- --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---