-
-
Notifications
You must be signed in to change notification settings - Fork 29.2k
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
-S hides standard dynamic modules #36928
Comments
This only applies when os.name == 'posix'. Running an un-installed build of Python with the -S The build/lib.<platform>-<version>/ directory array dbm math regex termios Perhaps the best way to fix this is to add the |
We have lived this long without changing this that I don't think this needs fixing. Requiring the use of site.py when running from a build from a repository checkout seems totally reasonable to me. |
Note that this does cause incompatibility between development copies and $ python -S -c "import itertools; print itertools"
<module 'itertools' from ...> $ ./python -S -c "import itertools; print itertools"
Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: No module named itertools |
If we think once can reliably add the directory based purely on whether |
On Thu, Sep 18, 2008 at 6:58 PM, Brett Cannon <report@bugs.python.org> wrote:
... and if there is more than one match in the build directory, either |
r83988 does really fix this issue in python 3.2, 8 years later, yeah! |
Ooops, I didn't notice that Antoine did already updated this issue. Restore the resolution as duplicate since the superseder field is set. |
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: