import parser does not import parser.py in same dir on win
fredrik at pythonware.com
Sat Nov 11 16:26:54 CET 2006
Joel Hedlund wrote:
> It turns out that on Windows, the builtin parser module is imported
> instead. Why?
the table of built-in modules are checked before searching the path.
> Why is there a difference? What other names are "taken"?
depends on how the interpreter is built; there's a sys variable that
contains a list of all built-ins:
More information about the Python-list