[Python-Dev] file (original) (raw)
Henning von Bargen henning.vonbargen at arcor.de
Wed Mar 3 21:30:34 CET 2010
- Previous message: [Python-Dev] FWD: Broken link in 2.6.5 rc 1 download page.
- Next message: [Python-Dev] __file__
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Nick Coghlan wrote:
Another option is to remove bytecode-only support from the default filesystem importer, but keep it for zipimport (since the stat call savings don't apply in the latter case).
+1
Baptiste Carvello wrote:
However, making a difference between zipimport and the filesystem importer means the application will stop working if I unzip the library zip file, which is surprising. Unzipping the zip file can be handy when debugging a bug caused by a forgotten module.
If the ZIP contains only bytecode files, it is just not intended for changing any code, so I don't think this is an argument. If you have access to the source code, you still can use that instead of messing around with byte code.
Henning
- Previous message: [Python-Dev] FWD: Broken link in 2.6.5 rc 1 download page.
- Next message: [Python-Dev] __file__
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]