logilab-devtools #77378 lgp must not search modules in the current directory [rejected]

Lgp must drop the empty path in its sys.path to avoid import clashes.

From http://docs.python.org/library/sys.html?highlight=sys.path#sys.path

As initialized upon program startup, the first item of this list, path[0], is the directory containing the script that was used to invoke the Python interpreter. If the script directory is not available (e.g. if the interpreter is invoked interactively or if the script is read from standard input), path[0] is the empty string, which directs Python to search modules in the current directory first. Notice that the script directory is inserted before the entries inserted as a result of PYTHONPATH.

A program is free to modify this list for its own purposes.

appeared in<not specified>
done in0.19.0
load left0.000
closed by<not specified>