[Python-Dev] Putting a builtin module into a package

Jack Jansen jack@oratrix.nl
Tue, 21 Aug 2001 16:56:32 +0200

Is there a way to put a builtin module into a package, or should I really not 
want to do this?

It seems that if in the module init() routine I call 
and if I put the module into _PyImport_Inittab as "Carbon.Res" things sort-of 
work, at first glance.

Or should I rename the module to an underscore name and simply put a wrapper 
module in the package?
Jack Jansen             | ++++ stop the execution of Mumia Abu-Jamal ++++
Jack.Jansen@oratrix.com | ++++ if you agree copy these lines to your sig ++++
www.oratrix.nl/~jack    | ++++ see http://www.xs4all.nl/~tank/ ++++