Hi Zbyszek,
See below my comment.
2011/11/26 Zbigniew Jędrzejewski-Szmek :
> Hi,
> I apologize in advance for the length of this mail.
>
> sys.path
>
> When a script or a module is executed by invoking python with proper
> arguments, sys.path is extended. When a path to script is given
2011/11/27 Zbigniew Jędrzejewski-Szmek :
> I guess that it would be useful to have an option to turn off those sys.path
> manipulations.
Yeah, I recently proposed exactly that (a '--nopath0' option) in
http://bugs.python.org/issue13475 (that issue also proposes a
"-p/--path0" option to *override*
Hi,
I apologize in advance for the length of this mail.
sys.path
When a script or a module is executed by invoking python with proper
arguments, sys.path is extended. When a path to script is given, the
directory containing the script is prepended. When '-m' or '-c' is used,
$CWD is p