I remember vaguely that about two decades ago Greg Stein hatched an idea for code objects loaded from a read-only segment in shared libraries. I believe we went as far as ensuring that the interpreter could read bytecode from other things that strings, and I vaguely recall seeing a design for a layout of the code object as well. But the idea was never consummated, and I think there were unsolved problems regarding reference counts and constants incorporated in the code object. The objectives were the same as the subject line of this thread, and I believe so were the objections.
-- --Guido van Rossum (python.org/~guido) *Pronouns: he/him **(why is my pronoun here?)* <http://feministing.com/2015/02/03/how-using-they-as-a-singular-pronoun-can-change-the-world/>
_______________________________________________ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email to python-ideas-le...@python.org https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/python-ideas@python.org/message/67X6ESILQ2PQUSC5BYR62QPOQUYIDYDQ/ Code of Conduct: http://python.org/psf/codeofconduct/