Lies in education [was Re: The "loop and a half"]

Gregory Ewing greg.ewing at canterbury.ac.nz
Fri Oct 13 08:48:44 EDT 2017


Steve D'Aprano wrote:
> I wasn't questioning where the data came from, but how the compiler can write
> to READ ONLY MEMORY which might not even be in the same continent as the
> compiler that generated the code.

I thought it would be fairly obvious that by "put it in
read-only memory" I meant "arrange for it to be in a
location that is read-only at run time". Obviously it
can't be read-only at *compile* time, just as a
physical ROM can't be read-only at manufacture time.

-- 
Greg



More information about the Python-list mailing list