[issue31440] wrong default module search path in help message

2018-12-27 Thread Cheryl Sabella
Change by Cheryl Sabella : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue31440] wrong default module search path in help message

2017-11-28 Thread Christian Heimes
Christian Heimes added the comment: New changeset cb79c2203953bd465f2c53b7a09a51071717575f by Christian Heimes (Miss Islington (bot)) in branch '3.6': bpo-31440: Changed default module search path for windows (#4613)

[issue31440] wrong default module search path in help message

2017-11-28 Thread Christian Heimes
Christian Heimes added the comment: I'll do a backport tomorrow. -- assignee: -> christian.heimes ___ Python tracker ___

[issue31440] wrong default module search path in help message

2017-11-28 Thread STINNER Victor
STINNER Victor added the comment: I confirm that Python 2.7 is affected and should also be fixed. -- nosy: +vstinner ___ Python tracker

[issue31440] wrong default module search path in help message

2017-11-28 Thread Roundup Robot
Change by Roundup Robot : -- pull_requests: +4528 ___ Python tracker ___

[issue31440] wrong default module search path in help message

2017-11-28 Thread Christian Heimes
Christian Heimes added the comment: New changeset 08d2b86a1058b733bb7f1ae2b55818dd9687d21c by Christian Heimes (gauravbackback) in branch 'master': bpo-31440: Changed default module search path for windows

[issue31440] wrong default module search path in help message

2017-09-18 Thread Steve Dower
Steve Dower added the comment: I don't have time right this second to write it all up, but I did so in the past at https://docs.python.org/3/using/windows.html#finding-modules Hopefully the answer you need is somewhere in that. Module search paths are complicated (but eric.snow is going to

[issue31440] wrong default module search path in help message

2017-09-17 Thread Xiang Zhang
Xiang Zhang added the comment: Not sure about Windows. _get_path() looks to me is used for user site-packages. getsitepackages() doesn't do the same and seems matching the current message, also the OS2 branch in py2. Let's consult Windows guys. -- nosy: +eryksun, gauravbackback,

[issue31440] wrong default module search path in help message

2017-09-17 Thread Gaurav Singh
Changes by Gaurav Singh : -- keywords: +patch pull_requests: +3614 stage: needs patch -> patch review ___ Python tracker ___

[issue31440] wrong default module search path in help message

2017-09-16 Thread Christian Heimes
Christian Heimes added the comment: See site module, especially site._get_path() # Same to sysconfig.get_path('purelib', os.name+'_user') def _get_path(userbase): version = sys.version_info if os.name == 'nt': return f'{userbase}\\Python{version[0]}{version[1]}\\site-packages'

[issue31440] wrong default module search path in help message

2017-09-16 Thread Christian Heimes
Christian Heimes added the comment: You are right, the path is wrong on Unix-like platforms. It's os.path.join(sys.prefix, 'lib', 'python{major}.{minor}'). But the actual path may depend on the platform, too. I don't recall how Windows sets up the path. -- nosy: +christian.heimes

[issue31440] wrong default module search path in help message

2017-09-13 Thread Xiang Zhang
New submission from Xiang Zhang: In python --help: PYTHONHOME : alternate directory (or :). The default module search path uses /pythonX.X. I think the default module search path should be /lib/pythonX.X. -- keywords: easy messages: 302032 nosy: xiang.zhang priority: