]> granicus.if.org Git - python/commit
Use macro versions instead of function versions when we already know the type.
authorNeal Norwitz <nnorwitz@gmail.com>
Mon, 20 Mar 2006 01:53:23 +0000 (01:53 +0000)
committerNeal Norwitz <nnorwitz@gmail.com>
Mon, 20 Mar 2006 01:53:23 +0000 (01:53 +0000)
commit2aa9a5dfdd2966c57036dc836ba8e91ad47ecf14
tree49688fd8e420b9a1625345de6593e147523b7b66
parent70f05c5d7f0259d056dbb19bc5632c8357fd6998
Use macro versions instead of function versions when we already know the type.
This will hopefully get rid of some Coverity warnings, be a hint to
developers, and be marginally faster.

Some asserts were added when the type is currently known, but depends
on values from another function.
Modules/stropmodule.c
Objects/classobject.c
Objects/frameobject.c
Objects/stringobject.c
Parser/tokenizer.c
Python/import.c
Python/traceback.c