Issue #16421: allow to load multiple modules from the same shared object.

Patch by Václav Šmilauer.
This commit is contained in:
Andrew Svetlov 2012-12-14 17:04:59 +02:00
parent f76f0eea5c
commit 6b2cbeba58
12 changed files with 887 additions and 10 deletions

View file

@ -594,6 +594,8 @@ class PyBuildExt(build_ext):
depends=['testcapi_long.h']) )
# Python PEP-3118 (buffer protocol) test module
exts.append( Extension('_testbuffer', ['_testbuffer.c']) )
# Test loading multiple modules from one compiled file (http://bugs.python.org/issue16421)
exts.append( Extension('_testimportmultiple', ['_testimportmultiple.c']) )
# profiler (_lsprof is for cProfile.py)
exts.append( Extension('_lsprof', ['_lsprof.c', 'rotatingtree.c']) )
# static Unicode character database