This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author christian.heimes
Recipients brett.cannon, christian.heimes, miss-islington, ned.deily, zach.ware
Date 2021-10-23.10:14:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I ran into another problem. In shared mode, Modules/Setup places the shared modules in ./Modules/ instead of the build directory ./build/lib.something/. The ./Modules/ directory is not on sys.path. getpath.c only adds the build dir to sys.path. It takes the value from ./pybuilddir.txt. The file is generated by

$ make
*** WARNING: renaming "_asyncio" since importing it failed: No module named 'math'

The following modules found by detect_modules() in, have been
built by the Makefile instead, as configured by the Setup files:
_abc                  cmath                 math               
pwd                   time    

$ find -name 'math*.so'
Date User Action Args
2021-10-23 10:14:42christian.heimessetrecipients: + christian.heimes, brett.cannon, ned.deily, zach.ware, miss-islington
2021-10-23 10:14:42christian.heimessetmessageid: <>
2021-10-23 10:14:42christian.heimeslinkissue45548 messages
2021-10-23 10:14:42christian.heimescreate