[Python-Dev] Re: String module
Barry A. Warsaw
Fri, 31 May 2002 11:36:59 -0400
>>>>> "FP" =3D=3D Fran=E7ois Pinard <email@example.com> writes:
>> By the way, I wonder why the `_' in `sys._getframe()'.
>> To discourage people from using it.
FP> Why was it introduced then, since there was already a way
FP> without it? Execution speed, maybe?
is slow, hard to remember, and too magical. Also, sys._getframe()
gives you a better interface for getting frames farther back than