J
Julien Danjou
Hi,
I'm trying to embed Python and therefore use PyImport_ExtendInittab() to
register modules.
My current problem is that, if it works well with a simple module
"hello", naming a module "hello.foobar" in the inittab struct does not
seems to work.
imp.find_module("hello.foobar") returns correctly that the module is
found, but import hello.foobar fails badly.
Is . notation supported in inittab? Am I doing something wrong?
--
Julien Danjou
// á° <[email protected]> http://julien.danjou.info
// 9A0D 5FD9 EB42 22F6 8974 C95C A462 B51E C2FE E5CD
// Don't give up.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iEYEARECAAYFAksrx1kACgkQpGK1HsL+5c3DhwCfYwg/IlwJIjVW8BOgXnS8MRCD
EjoAnAlJPjrMrDjjJwPYEGLm+hTe0yEo
=FA4D
-----END PGP SIGNATURE-----
I'm trying to embed Python and therefore use PyImport_ExtendInittab() to
register modules.
My current problem is that, if it works well with a simple module
"hello", naming a module "hello.foobar" in the inittab struct does not
seems to work.
imp.find_module("hello.foobar") returns correctly that the module is
found, but import hello.foobar fails badly.
Is . notation supported in inittab? Am I doing something wrong?
--
Julien Danjou
// á° <[email protected]> http://julien.danjou.info
// 9A0D 5FD9 EB42 22F6 8974 C95C A462 B51E C2FE E5CD
// Don't give up.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iEYEARECAAYFAksrx1kACgkQpGK1HsL+5c3DhwCfYwg/IlwJIjVW8BOgXnS8MRCD
EjoAnAlJPjrMrDjjJwPYEGLm+hTe0yEo
=FA4D
-----END PGP SIGNATURE-----