A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2001-August/017151.html below:

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

[Python-Dev] Putting a builtin module into a package [Python-Dev] Putting a builtin module into a packageJack 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 
Py_InitModule("Carbon.Res")
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/ ++++





RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4