[Python-Dev] __module__ not found on ported Python
Pree Raj
priyarp.tech at gmail.com
Tue Jul 8 01:39:39 CEST 2008
Thanks Brett.
I have been able to do initmain() now.
However, if I do "import sys" from the python prompt I still get
ImportError: __import__ not found
I am not sure where the initialization is going wrong for this error to show
up.
Can someone please help.
On Mon, Jul 7, 2008 at 2:15 PM, Brett Cannon <brett at python.org> wrote:
> On Mon, Jul 7, 2008 at 1:48 PM, Pree Raj <priyarp.tech at gmail.com> wrote:
> [SNIP]
> > Also, I would like to know which are the MUST HAVE built in modules to be
> > included for normal working of my ported version of Python.
>
> You can look at sys.builtin_module_names to see what CPython compiles
> in. Otherwise you just have to go based on what error messages say. =)
>
> -Brett
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20080707/b325d8b0/attachment.htm>
More information about the Python-Dev
mailing list