[issue8955] import doesn't notice changes to working directory

2010-06-09 Thread R. David Murray
R. David Murray added the comment: This is working as designed. Try printing sys.path in your scripts. It is what's in sys.path that matters, not the cwd. (The cwd is put in the path as "" in the specific case of running the python interactive shell...and in certain applications that embed

[issue8955] import doesn't notice changes to working directory

2010-06-09 Thread James
New submission from James : Attempting to change the working directory and then import based on that change has no effect. Import seems impossible. Attached is tarball example. As seen below, bar1.py can import foo from src, however bar2.py bar3.py and bar4.py cannot, despite their respective