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

Steven D'Aprano steve+comp.lang.python at pearwood.info
Sat May 12 00:29:45 EDT 2018


On 2018年5月11日 16:56:09 +0100, bartc wrote:
> 0100, if not intended as octal, is
> an undetectable error in C and Python 2.

How fortunate then that Python 2 is history (soon to be ancient history) 
and people can use Python 3 where that error of judgement has been 
rectified.
-- 
Steve


More information about the Python-list mailing list

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