diff options
author | Guido van Rossum <guido@python.org> | 1997-11-19 18:53:33 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1997-11-19 18:53:33 (GMT) |
commit | 2e58ff3ef56c3bf0a7080743ec77e95ca1758b97 (patch) | |
tree | b4e43574becac26c33d0d35c55bd3d60138ab055 /Modules/tkappinit.c | |
parent | ee6fd1c392af19c7390bd1f8e25215fbd968a2c1 (diff) | |
download | cpython-2e58ff3ef56c3bf0a7080743ec77e95ca1758b97.zip cpython-2e58ff3ef56c3bf0a7080743ec77e95ca1758b97.tar.gz cpython-2e58ff3ef56c3bf0a7080743ec77e95ca1758b97.tar.bz2 |
Fix importing of shared libraries from inside packages.
This is a bit of a hack: when the shared library is loaded, the module
name is "package.module", but the module calls Py_InitModule*() with just
"module" for the name. The shared library loader squirrels away the true
name of the module in _Py_PackageContext, and Py_InitModule*() will
substitute this (if the name actually matches).
Diffstat (limited to 'Modules/tkappinit.c')
0 files changed, 0 insertions, 0 deletions