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 -- https://mail.python.org/mailman/listinfo/python-list