pyc files located elsewhere?

Skip Montanaro skip at pobox.com
Sat Oct 16 18:02:02 EDT 2004


    >> (Is what you describe really possible?  I've never heard of it.)

    Josiah> I know that importing from a non-writable location disables
    Josiah> writing of pyc files (zip imports, etc.), and I am fairly
    Josiah> certain it can be done with an import hook, though never having
    Josiah> need for it, I've never tried.

Please have a look at PEP 304.  Feedback welcome.

Skip



More information about the Python-list mailing list