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

Grant Edwards grant.b.edwards at gmail.com
Thu May 10 15:32:24 EDT 2018


On 2018-05-10, Jon Ribbens <jon+usenet at unequivocal.eu> wrote:

> 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

Aaargh.  That's awful.

I didn't think it was possible for my opinion of PHP to get any lower.

I was wrong.

-- 
Grant Edwards               grant.b.edwards        Yow! I wonder if I could
                                  at               ever get started in the
                              gmail.com            credit world?




More information about the Python-list mailing list