Re: import parser does not import parser.py in same dir on win

2006-11-11 Thread Joel Hedlund
> the table of built-in modules are checked before searching the path. I figured as much. But why is the behavior different on linux/win? Is this documented somewhere? /Joel -- http://mail.python.org/mailman/listinfo/python-list

Re: import parser does not import parser.py in same dir on win

2006-11-11 Thread Fredrik Lundh
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 varia