[Python-Dev] Re: [Python-checkins] CVS: python/dist/src/Lib/test
test_os.py,1.6,1.
Paul Prescod
paulp@ActiveState.com
Thu, 18 Oct 2001 17:48:46 -0700
David Ascher wrote:
>
>...
> 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
I never liked that either. Plus Python doesn't have a real distinction
between "structs" and "objects" so it is just one more thing to
remember: "does this thing use the obsolete C struct convention or the
modern Python object convention?"
Paul Prescod