"What is the name of the function/method that called me?"

Adrian Eyre a.eyre at optichrome.com
Mon Oct 25 04:36:06 EDT 1999


> I don't think Moshe was saying introspection is evil. I'd put it 
> this way: Python without double-underscore stuff is safe as 
> Mommy's milk.

Not quite:

l = []
m = []
l.append(l)
m.append(m)
l == m

But anyone using "unsafe" features deserves everything they get.
Same applies to using the traceback object in anything other than
a debugger.

--------------------------------------------
Adrian Eyre <mailto:a.eyre at optichrome.com>
Optichrome Computer Solutions Ltd
Maybury Road, Woking, Surrey, GU21 5HX, UK
Tel: +44 1483 740 233  Fax: +44 1483 760 644
http://www.optichrome.com 
--------------------------------------------





More information about the Python-list mailing list