cpython/Doc/c-api
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
..
abstract.rst
allocation.rst Issue #4129: Documentation notes for int -> Py_ssize_t changes. 2009-04-25 19:46:19 +00:00
arg.rst Reference to an int type, whereas it's a Py_ssize_t as the synopsis states. 2009-04-25 18:57:32 +00:00
bool.rst
buffer.rst Since I edited this file, reformat for future edits. 2009-04-25 19:04:15 +00:00
bytearray.rst
cell.rst
class.rst
cobject.rst
code.rst PyCode_NewEmpty: 2009-05-08 21:51:06 +00:00
complex.rst
concrete.rst PyCode_NewEmpty: 2009-05-08 21:51:06 +00:00
conversion.rst Issue #5920: Changed format.__float__ and complex.__float__ to use a precision of 12 when using the empty presentation type. This more closely matches str()'s behavior and reduces surprises when adding alignment flags to an empty format string. Patch by Mark Dickinson. 2009-05-05 18:26:08 +00:00
datetime.rst
descriptor.rst
dict.rst Issue #4129: Belatedly document which C API functions had their argument(s) or 2009-04-25 17:59:03 +00:00
exceptions.rst PyErr_PrintEx is also in 2.x... 2009-02-05 11:23:47 +00:00
file.rst Fix uses of the default role. 2009-01-03 20:47:01 +00:00
float.rst
function.rst
gcsupport.rst Issue #4129: More documentation pointers about int -> Py_ssize_t. 2009-04-25 19:44:55 +00:00
gen.rst
import.rst PyImport_AppendInittab() took a char * as a first argument even though that 2009-04-02 03:17:39 +00:00
index.rst
init.rst #5840: dont claim we dont support TLS. 2009-04-27 17:09:53 +00:00
int.rst
intro.rst Demote warnings to notices where appropriate, following the goal that as few "red box" warnings 2009-04-27 15:29:09 +00:00
iter.rst
iterator.rst
list.rst Since it's a macro, actually refer to it as such instead of function. 2009-04-25 20:37:39 +00:00
long.rst Issue #4129: Belatedly document which C API functions had their argument(s) or 2009-04-25 17:59:03 +00:00
mapping.rst Issue #4129: Belatedly document which C API functions had their argument(s) or 2009-04-25 17:59:03 +00:00
marshal.rst Issue #4129: int -> Py_ssize_t documentation. 2009-04-25 20:41:40 +00:00
memory.rst
method.rst
module.rst Remove trailing whitespace. 2009-01-03 20:55:06 +00:00
none.rst
number.rst Fix 'the the'; grammar fix 2009-04-03 21:44:49 +00:00
objbuffer.rst Issue #4129: int -> Py_ssize_t documentation. 2009-04-25 20:44:58 +00:00
object.rst Issue #4129: Belatedly document which C API functions had their argument(s) or 2009-04-25 17:59:03 +00:00
objimpl.rst
refcounting.rst
reflection.rst Issue 5954, PyFrame_GetLineNumber: 2009-05-08 22:23:21 +00:00
sequence.rst Issue #4129: int -> Py_ssize_t documentation. 2009-04-25 20:50:27 +00:00
set.rst Issue #4129: Belatedly document which C API functions had their argument(s) or 2009-04-25 17:59:03 +00:00
slice.rst Issue #4129: Document more int -> Py_ssize_t changes. 2009-04-25 18:46:03 +00:00
string.rst Issue #4129: more int -> Py_ssize_t documentation. 2009-04-25 20:55:39 +00:00
structures.rst First attempt to document PyObject_HEAD_INIT and PyVarObject_HEAD_INIT. 2009-04-25 11:59:09 +00:00
sys.rst Issue #4817: Remove unused function PyOS_GetLastModificationTime. 2009-01-03 17:19:26 +00:00
tuple.rst Issue #4129: more int -> Py_ssize_t documentation. 2009-04-25 20:58:35 +00:00
type.rst Issue #4129: Belatedly document which C API functions had their argument(s) or 2009-04-25 17:59:03 +00:00
typeobj.rst Issue #4129: field changed from int to Py_ssize_t. 2009-04-25 21:02:34 +00:00
unicode.rst Issue #4129: document int -> Py_ssize_t changes. 2009-04-25 21:16:05 +00:00
utilities.rst
veryhigh.rst #5227: note that Py_Main doesnt return on SystemExit. 2009-03-31 18:33:10 +00:00
weakref.rst