cpython/Include
Jeffrey Yasskin f7f858d141 Issue 5954, PyFrame_GetLineNumber:
Most uses of PyCode_Addr2Line
(http://www.google.com/codesearch?q=PyCode_Addr2Line) are just trying to get
the line number of a specified frame, but there's no way to do that directly.
Forcing people to go through the code object makes them know more about the
guts of the interpreter than they should need.

The remaining uses of PyCode_Addr2Line seem to be getting the line from a
traceback (for example,
http://www.google.com/codesearch/p?hl=en#u_9_nDrchrw/pygame-1.7.1release/src/base.c&q=PyCode_Addr2Line),
which is replaced by the tb_lineno field.  So we may be able to deprecate
PyCode_Addr2Line entirely for external use.
2009-05-08 22:23:21 +00:00
..
Python-ast.h
Python.h
abstract.h
asdl.h
ast.h
bitset.h
boolobject.h
bufferobject.h
bytearrayobject.h
bytes_methods.h
bytesobject.h
cStringIO.h
cellobject.h
ceval.h
classobject.h
cobject.h
code.h Issue 5954, PyFrame_GetLineNumber: 2009-05-08 22:23:21 +00:00
codecs.h
compile.h
complexobject.h
datetime.h
descrobject.h
dictobject.h
enumobject.h
errcode.h
eval.h
fileobject.h
floatobject.h
frameobject.h Issue 5954, PyFrame_GetLineNumber: 2009-05-08 22:23:21 +00:00
funcobject.h
genobject.h
graminit.h
grammar.h
import.h
intobject.h
intrcheck.h
iterobject.h
listobject.h
longintrepr.h
longobject.h
marshal.h
memoryobject.h
metagrammar.h
methodobject.h
modsupport.h
moduleobject.h
node.h
object.h
objimpl.h
opcode.h
osdefs.h
parsetok.h
patchlevel.h
pgen.h
pgenheaders.h
py_curses.h
pyarena.h
pyctype.h
pydebug.h
pyerrors.h
pyexpat.h
pyfpe.h
pygetopt.h
pymacconfig.h
pymactoolbox.h
pymath.h
pymem.h
pyport.h
pystate.h
pystrcmp.h
pystrtod.h
pythonrun.h
pythread.h
rangeobject.h
setobject.h
sliceobject.h
stringobject.h
structmember.h
structseq.h
symtable.h
sysmodule.h
timefuncs.h
token.h
traceback.h
tupleobject.h
ucnhash.h
unicodeobject.h
warnings.h
weakrefobject.h