[issue22285] The Modules/ directory should not be added to sys.path

Martin v. Löwis report at bugs.python.org
Wed Aug 27 12:29:52 CEST 2014


Martin v. Löwis added the comment:

The motivation for this feature is that modules built as shared libraries through Modules/Setup end up in Modules, so Modules is added so that they are found.

I'd like to preserve support for building dynamic extension modules through Modules/Setup, but they don't have to live in Modules; putting them into build (say) would be fine as well.

----------
nosy: +loewis

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22285>
_______________________________________


More information about the Python-bugs-list mailing list