On the other hand, using a leading zero to indicate octal is a fairly standard convention in computer science. And it's nice to minimize these kinds of differences between Python ints and Sage Integers. David
On Sun, Apr 13, 2008 at 3:36 PM, Harald Schilly <[EMAIL PROTECTED]> wrote: > > On Apr 13, 9:08 pm, "William Stein" <[EMAIL PROTECTED]> wrote: > > the other option -- changing > > Python -- is not an option. > > > > I know, but my "picture" is a high-school teacher explaining that > leading zeros don't matter, and when someone tries it in sage, it > suddenly matters. So, imho, there is something not ok with that. The > preparser could filter this, also depending its behaviour based on the > current mode. And the inconsistency should be fixed, too. > > Harald > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---