where is upvar

Dirk-Ulrich Heise hei at adtranzsig.de
Thu Sep 21 14:23:39 CEST 2000


"Harald Kirsch" <kirschh at lionbioscience.com> schrieb im Newsbeitrag
news:yv28zsmfafv.fsf at lionsp093.lion-ag.de...
> My entrance into the world of python was to write a command line
> parser ala http://wsd.iitb.fhg.de/~kir/clighome/. It is quite natural
> to let the parser set variables directly in the calling stack frame,
> normally the __main__ of the script.

No, it's by no way natural. It's sick.
Admit it: You *like* modifying variables of other stack levels.
Just don't tell other people it's natural.
There's nothing wrong with being sick, you just
need to know you are, to avoid becoming a danger for your
surrounding or yourself. I mean, i don't show around that
nasty programming language i once invented that can freeze
program execution, inspect and modify all variables on the
stack and everywhere else including the source code of the
callers, and continue running. I hide it in the same case with my
female underwear and i don't go out telling people that's natural.
I know it ain't. I mean, even Larry Wall doesn't tell people Perl
is natural, or does he? I mean, that's a Pathetically Eclectic
Rubbish Lister, IIRC.
--
Dipl.Inform. Dirk-Ulrich Heise
hei at adtranzsig.de
dheise at debitel.net




More information about the Python-list mailing list