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

Marko Rauhamaa marko at pacujo.net
Fri May 11 09:36:48 EDT 2018


Chris Angelico <rosuav at gmail.com>:

> On Fri, May 11, 2018 at 8:08 PM, Gregory Ewing
> <greg.ewing at canterbury.ac.nz> wrote:
>> I think the idea is that you could regroup those 4 groups of 3 into 3
>> groups of 4, and get a nice mapping to hex. If hex had been the
>> conventional way of writing binary numbers back then, Ken and Dennis
>> would probably have done it that way.
>
> But they aren't "four groups of three" that could be reorganized.
> They're three groups of three, plus three separate bits. Each group of
> three is the permissions for one category of user (the owner, anyone
> in the owning group, or everyone else).

   "And on far-off Earth, Dr. Carlisle Perera had as yet told no one how
   he had wakened from a restless sleep with the message from his
   subconscious still echoing in his brain: The Ramans do everything in
   threes.W

   <URL: https://en.wikipedia.org/wiki/Rendezvous_with_Rama>


Marko



More information about the Python-list mailing list