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

Steve D'Aprano steve+python at pearwood.info
Fri Oct 13 01:16:27 EDT 2017


On Fri, 13 Oct 2017 03:37 pm, Gregory Ewing wrote:

> If the compiler can tell where p is initially pointing, it could
> put the pointer in read-only memory.

If it's read-only, how can the compiler write to it?


(I come from the days when ROM was actual ROM, burned in at the factory.)




-- 
Steve
“Cheer up,” they said, “things could be worse.” So I cheered up, and sure
enough, things got worse.




More information about the Python-list mailing list