Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Re: Annoying octal notation

0 views
Skip to first unread message

James Harris

unread,
Aug 23, 2009, 2:11:36 PM8/23/09
to
On 21 Aug, 00:59, James Harris <james.harri...@googlemail.com> wrote:

...

> > Is there some magic to make the 2.x CPython interpreter to ignore the
> > annoying octal notation?
> > I'd really like 012 to be "12" and not "10".
>
> This is (IMHO) a sad hangover from C (which took it from B ...

This seemed worth writing up so I've taken the snipped comments and
posted them at

http://sundry.wikispaces.com/octal-zero-prefix

The idea is that the page can be pointed to any time the issue comes
up again.

I've also fleshed the comments out a bit.

James

0 new messages