I have ported the python interpreter to the sh1 hitachi, and now I would
like to get .py programs to test my python interpreter... that programs
should not have any import statment or any reference to files, so I need
some BASIC .py programs to test my python
I wonder if you could give me any addres where I can get some of them or
send me some of them by e-mail....
Thanks.
Raul Parra Bacete
Åbo Akademi
rpa...@abo.fi
The scripts in Lib/test/ of the Python source distribution
are intended to be a relatively complete test suite for the interpreter
and many of the standard libs modules.
See Lib/test/regrtest.py for details on how to run the suite.
--
Marc-Andre Lemburg Y2000: 249 days left
---------------------------------------------------------------------
: Python Pages >>> http://starship.skyport.net/~lemburg/ :
---------------------------------------------------------
>Hi,
>
>I have ported the python interpreter to the sh1 hitachi,
Raul,
as I remember from your previous posts, you were trying
to build a stripped off (WRT OS and file system specific
modules) Python interpreter for an embedded system
context.
Your mail lets me assume you succeeded :-) Can you
summarize you experiences when you are finished?
It would be very cool to have a kind of "Minimal core
Python" configure option in the standard distribution
as a starting point for similar tasks!
About a year ago I was in the position to make
suggestions for a scripting language in an embedded
application to my ex-employer, with a main focus on
immediate availability.
I chose LUA, Scheme, Tcl 7.6, Python (in this order),
but have loved to see Python in a better rank.
Unfortunately the porting effort seemed quite high.
Stefan
PS: Finally they chose a yucky BASIC interpreter - for them
a known language available at no cost. What they left out
of consideration was that there were no interfacing or
wrapping possibilities (like SWIG) at all...