"KPY" == Ka-Ping Yee firstname.lastname@example.org writes:
KPY> On Tue, 17 Apr 2001, Guido van Rossum wrote:
This is one of the reasons why I didn't want to add this to the 2.1 release at such a late point. I have no easy way to verify that this is always true, and in fact I have no idea what inspect.stack() means. :-(
KPY> Would you have preferred to write
KPY> ? It's the same thing.
It's certainly clearer that inspect.stack(). Does the existence of the inspect module imply that we need to maintain its interface? If we did, then we have some weird limits on the order of things in stack frames.