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

Skip Montanaro skip.montanaro at gmail.com
Thu May 10 15:11:06 EDT 2018


> This whole thread is reminding me PHP 2, which would magically treat
> the second parameter of ChMod() as octal, because clearly if weak
> typing is good then *no* typing must be best of all!

>    ChMod($filename, 644); // second parameter is actually 420 base 10

I knew there was a reason I never used PHP...

Skip



More information about the Python-list mailing list