A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2010-March/098075.html below:

[Python-Dev] __file__

[Python-Dev] __file__ [Python-Dev] __file__Greg Ewing greg.ewing at canterbury.ac.nz
Mon Mar 1 22:53:35 CET 2010
Ron Adam wrote:

> What if ... a bytecode-only mode is triggered by "__main__" loading from 
> a bytecode file, otherwise the .py files are needed and are checked to 
> make sure the bytecode files are current.

That would preclude having a bytecode-only library that
could be used by a sourceful program.

Such a situation might arise if you have an application
with a scripting interface that is used by importing
stuff from the application's internal libraries.

-- 
Greg
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4