New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sys.path is wrong in some cases #40212
Comments
Python version tested: 2.3.3 (But if I read the cvs On Windows, sys,path sometimes contains the 'current How to reproduce: Use plain-vanilla 2.3.3 Python, without _any_ Go to a subdirectory of your choice, e.g.,
The first entry should be the current directory or ''. How this was discovered: To give credit where credit is due, my friend Oren In some convoluted settings, this might have security I'm submitting a 2-line patch to the patch tracker (and |
Logged In: YES Patch uploaded to http://python.org/sf/947386 |
Logged In: YES This is the old "module in current path shadows standard |
This was fixed in Python 2.5 with patch bpo-1232023: |
Closing accordingly. |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: