[Python-Dev] Re: [Python-checkins] CVS: python/dist/src/Lib/test test_os.py,1.6,1. (original) (raw)

David Ascher DavidA@ActiveState.com
Thu, 18 Oct 2001 17:19:22 -0700


Guido van Rossum wrote:

Call me old-fashioned, but I like struct fields with unique prefixes, in Python as well as in C. It's a hint about what kind of data structure we're looking at. And it greps nicely.

Ok. "Old fashioned!"

--david

PS: FWIW, I'm w/ /F on this one. It never made sense to me why I had to type:

traceback.tb_frame.f_code.co_consts

instead of

     traceback.frame.code.constants

Not a huge deal, though, in the scheme of things. =)