[PATCH] Some new stuff

Christos TZOTZIOY Georgiou tzot at sil-tec.gr
Sat Nov 13 18:18:08 EST 2004


On Sun, 14 Nov 2004 00:55:12 -0800, rumours say that Stelios Xanthakis
<sxanth at ceid.upatras.gr> might have written:

>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>
-- 
TZOTZIOY, I speak England very best,
"Tssss!" --Brad Pitt as Achilles in unprecedented Ancient Greek



More information about the Python-list mailing list