C
Christos TZOTZIOY Georgiou
Hi all.
Hi Stelios.
Basically, I'd like to use python as my system shell. It's not suitable
for a general purpose shell but since it is very programmable it can
eventually do whatever bash does and even more.
You might like to take a look at IPython then:
http://ipython.scipy.org/
One thing I'd like python to do is: attach the *python code* of a
function to a function object. The same for class.
This can be done in python as it is but it doesn't feel very right. I
think it should be the job of the parser. So there is a patch vs 2.3.4 at:
http://students.ceid.upatras.gr/~sxanth/ISYSTEM/python-PIESS.tar.bz2
If you don't have an account already in sourceforge.net (where Python
sources are located so far), you could create one, and submit your
patches there; you might also want to subscribe to the Python-Dev
mailing list:
http://mail.python.org/mailman/listinfo/python-dev
since your post would be considered more on-topic if posted there.
Nonetheless, you are most welcome as a contributing pythonista
("santinista pou'xw" - non-greeks forgive my greeklish pun
With this patch when the command line option -P is passed to python,
all functions and classes have an extra member __pycode__ which is the
code of the thing!
<snip>