cpython/Python
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
..
_warnings.c Issue 5954, PyFrame_GetLineNumber: 2009-05-08 22:23:21 +00:00
asdl.c Merge in release25-maint r60793: 2008-06-11 07:41:16 +00:00
ast.c #4077: No need to append \n when calling Py_FatalError 2009-01-17 20:18:59 +00:00
atof.c
bltinmodule.c Issue #1869: Fix a couple of minor round() issues. 2009-04-18 14:59:42 +00:00
ceval.c Issue 5954, PyFrame_GetLineNumber: 2009-05-08 22:23:21 +00:00
codecs.c This reverts r63675 based on the discussion in this thread: 2008-06-09 04:58:54 +00:00
compile.c Backport r69961 to trunk, replacing JUMP_IF_{TRUE,FALSE} with 2009-02-28 19:03:21 +00:00
dup2.c
dynload_aix.c
dynload_atheos.c
dynload_beos.c
dynload_dl.c
dynload_hpux.c
dynload_next.c
dynload_os2.c
dynload_shlib.c
dynload_stub.c
dynload_win.c On Windows, use the Python 'Activation Context' when loading extensions 2009-01-27 23:12:23 +00:00
errors.c PyErr_NormalizeException may not set an error, so convert the PyErr_SetObject 2009-04-02 18:09:04 +00:00
formatter_string.c Issue #1588: Add complex.__format__. 2009-04-30 00:58:58 +00:00
formatter_unicode.c Issue #1588: Add complex.__format__. 2009-04-30 00:58:58 +00:00
frozen.c
frozenmain.c
future.c move unprefixed error into .c file 2008-10-30 23:59:18 +00:00
getargs.c #5580: no need to use parentheses when converterr() argument is actually a type description. 2009-04-05 11:54:07 +00:00
getcompiler.c
getcopyright.c welcome to 2009, Python! 2009-01-01 17:29:49 +00:00
getcwd.c
getopt.c
getplatform.c
getversion.c
graminit.c Issue #4279: Fix build of parsermodule under Cygwin. 2009-01-11 09:26:54 +00:00
import.c Fix two issues introduced by issue #71031 by changing the signature of 2009-04-02 03:34:53 +00:00
importdl.c
importdl.h
mactoolboxglue.c This reverts r63675 based on the discussion in this thread: 2008-06-09 04:58:54 +00:00
marshal.c Issue #4258: Use 30-bit digits for Python longs, on 64-bit platforms. 2009-03-20 15:51:55 +00:00
modsupport.c This reverts r63675 based on the discussion in this thread: 2008-06-09 04:58:54 +00:00
mysnprintf.c Fix issue2588: Do not execute str[size-1] = '\0' when a 0 size is 2008-05-26 22:07:28 +00:00
mystrtoul.c
peephole.c Backport r69961 to trunk, replacing JUMP_IF_{TRUE,FALSE} with 2009-02-28 19:03:21 +00:00
pyarena.c
pyctype.c Issue #5793: rationalize isdigit / isalpha / tolower, etc. Will port to py3k. Should fix Windows buildbot errors. 2009-04-27 19:04:37 +00:00
pyfpe.c
pymath.c Backport r71704 (add configure check for C99 round function) to trunk. 2009-04-18 14:41:37 +00:00
pystate.c Adds a sanity check to avoid a *very rare* infinite loop due to a corrupt tls 2008-08-04 07:33:37 +00:00
pystrcmp.c
pystrtod.c 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
Python-ast.c fix compiler warning 2008-10-19 13:59:01 +00:00
pythonrun.c - Issue #3845: In PyRun_SimpleFileExFlags avoid invalid memory access with 2009-04-04 14:18:13 +00:00
sigcheck.c
strdup.c
strtod.c
structmember.c This reverts r63675 based on the discussion in this thread: 2008-06-09 04:58:54 +00:00
symtable.c fix error handling 2009-04-02 02:52:46 +00:00
sysmodule.c Issue #4258: Use 30-bit digits for Python longs, on 64-bit platforms. 2009-03-20 15:51:55 +00:00
thread.c Issue #4893: Use NT threading on CE. 2009-01-12 08:11:24 +00:00
thread_atheos.h
thread_beos.h
thread_cthread.h
thread_foobar.h
thread_lwp.h
thread_nt.h Issue #4893: Use NT threading on CE. 2009-01-12 08:11:24 +00:00
thread_os2.h
thread_pth.h
thread_pthread.h
thread_sgi.h
thread_solaris.h
thread_wince.h
traceback.c Issue 5954, PyFrame_GetLineNumber: 2009-05-08 22:23:21 +00:00