Annoying octal notation

Matthew Woodcraft matthew at
Sun Aug 23 15:13:32 CEST 2009

Dennis Lee Bieber <wlfraed at> writes:
> 	About the only place one commonly sees leading zeros on decimal
> numbers, in my experience, is zero-filled COBOL data decks (and since
> classic COBOL stores in BCD anyway... binary (usage is
> computational/comp-1) was a later add-on to the data specification model
> as I recall...)

A more common case is dates.

I've seen people trip over this writing things like

xxx = [
    date(2009, 10, 12),
    date(2009, 12, 26),
    date(2010, 02, 09),


More information about the Python-list mailing list