Python 3.2 has some deadly infection

Marko Rauhamaa marko at pacujo.net
Thu Jun 5 19:21:54 EDT 2014


Steven D'Aprano <steve+comp.lang.python at pearwood.info>:

> In any case, I reject your premise. ALL data types are constructed on
> top of bytes,

Only in a very dull sense.

> and so long as you allow applications *any way* to coerce data types
> to different data types, you allow them to see "inside the black box".

I can't see the bytes inside Python objects, including strings, and
that's how it is supposed to be.

Similarly, I can't (easily) see how files are laid out on hard disks.
That's a true abstraction. Nothing in linux presents data, though,
except through bytes.


Marko



More information about the Python-list mailing list