[issue9716] The inittab modules cannot be packages

Kay Hayen report at bugs.python.org
Mon Aug 30 20:28:18 CEST 2010


New submission from Kay Hayen <kayhayen at gmx.de>:

Hello,

I try to include modules with PyImport_AppendInittab or PyImport_ExtendInittab and that works fine. But if these modules are part of a package, i.e. I provide "package_name.module_name" as the name, they never get considered.

Is there any way to add a package with modules below it from C/API? So that an import package_name.module_name from other modules will find it?

Yours,
Kay Hayen

----------
messages: 115235
nosy: kayhayen
priority: normal
severity: normal
status: open
title: The inittab modules cannot be packages
type: feature request
versions: Python 2.6, Python 2.7

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


More information about the Python-bugs-list mailing list