[Python-Dev] Python on ThreadX

2008-04-02 Thread Pree Raj
Hi,
I have an application that used python on linux.
I want to port it to run on ThreadX.
Can you tell me if this can be possible.
If yes, how can I get started.

Thanks.
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


[Python-Dev] __module__ not found on ported Python

2008-07-07 Thread Pree Raj
Hi,
I am trying to port Python to ThreadX.
I have managed to get the prompt.
However when I try "import sys" or any built in module I get an error

__import__ not found.

initmain() in the Initialization code is commented out at present because of
some errors.
Could it be because of this ?

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.

Thanks,
Priya
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] __module__ not found on ported Python

2008-07-07 Thread Pree Raj
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 <[EMAIL PROTECTED]> wrote:

> On Mon, Jul 7, 2008 at 1:48 PM, Pree Raj <[EMAIL PROTECTED]> 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
>
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com