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

Marko Rauhamaa marko at pacujo.net
Thu May 10 20:25:02 EDT 2018


Chris Angelico <rosuav at gmail.com>:
> Octal makes a lot of sense in the right contexts.

I think octal is a historical relic from a time when people weren't yet
comfortable with hexadecimal.
> Allowing octal literals is a Good Thing.

I think it's just unavoidable mainly because of os.chmod.
Marko


More information about the Python-list mailing list

AltStyle によって変換されたページ (->オリジナル) /