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

Jon Ribbens jon+usenet at unequivocal.eu
Fri May 11 11:37:41 EDT 2018


On 2018-05-11, Grant Edwards <grant.b.edwards at gmail.com> wrote:
> On 2018-05-11, Gene Heskett <gheskett at shentel.net> wrote:
>> Computers haven't read a single 8 bit byte in years, some reading
>> 128 or 256 bits in a single read cycle today.
>
> Nonsense.  All modern CPUs that I'm aware of still still support
> single byte reads, and compilers still use those instructions when the
> size of the object being read is 8 bits.

It's not nonsense. The CPU might have a 'load a byte' instruction but
it will actually read more than a byte and then throw away the extra.



More information about the Python-list mailing list