Leading 0's syntax error in datetime.date module (Python 3.6)

Gregory Ewing greg.ewing at canterbury.ac.nz
Fri May 11 05:55:17 EDT 2018


Marko Rauhamaa wrote:
> I think octal is a historical relic from a time when people weren't yet
> comfortable with hexadecimal.

Octal made perfect sense for all PDP models up to the
PDP-10, which had word sizes that were a multiple of
3 bits.

It still partly made sense for the PDP-11, because its
instruction encoding fitted well with octal.

Hex came into vogue in the DEC world with the VAX,
which was both byte-addressed and had a hex-oriented
instruction encoding.

-- 
Greg



More information about the Python-list mailing list