Author amaury.forgeotdarc
Recipients amaury.forgeotdarc, bpb
Date 2008-02-07.13:21:04
SpamBayes Score 0.00430771
Marked as misclassified No
Message-id <>
There is a difference between "-m" and starting the module directly:
- when running a module, its directory is inserted in front of sys.path.
- with "-m", the empty string '' is inserted in front of sys.path.

The problem with is that there is specific code that modifies
sys.path, and will remove the standard lib from sys.path!
Look for this comment:
   # Scripts don't get the current directory in their path by default.
We could delete three lines there and avoid to remove
dirname(sys.argv[0]) from the path.
Date User Action Args
2008-02-07 13:21:05amaury.forgeotdarcsetspambayes_score: 0.00430771 -> 0.00430771
recipients: + amaury.forgeotdarc, bpb
2008-02-07 13:21:05amaury.forgeotdarcsetspambayes_score: 0.00430771 -> 0.00430771
messageid: <>
2008-02-07 13:21:04amaury.forgeotdarclinkissue2029 messages
2008-02-07 13:21:04amaury.forgeotdarccreate