> Not really -- much of the code I've seen that tries to guess the source
> file name from a __file__ value just does something like this:
> 
>    if fname.lower().endswith(('.pyc', '.pyo')): fname = fname[:-1]
> 
> That's not compatible with using .pyr, either.

If a single pyc folder is used, I think an additional __source__
attribute would be needed to indicate what source file time stamp had
been checked (if any) to determine that the byte code file is current.

Regards,
Martin
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to