cpython/Python
Alexandre Vassalotti 7b82b40a47 Merged revisions 72487-72488,72879 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72487 | jeffrey.yasskin | 2009-05-08 17:51:06 -0400 (Fri, 08 May 2009) | 7 lines

  PyCode_NewEmpty:
  Most uses of PyCode_New found by http://www.google.com/codesearch?q=PyCode_New
  are trying to build an empty code object, usually to put it in a dummy frame
  object. This patch adds a PyCode_NewEmpty wrapper which lets the user specify
  just the filename, function name, and first line number, instead of also
  requiring lots of code internals.
........
  r72488 | jeffrey.yasskin | 2009-05-08 18:23:21 -0400 (Fri, 08 May 2009) | 13 lines

  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.
........
  r72879 | jeffrey.yasskin | 2009-05-23 19:23:01 -0400 (Sat, 23 May 2009) | 14 lines

  Issue #6042:
  lnotab-based tracing is very complicated and isn't documented very well.  There
  were at least 3 comment blocks purporting to document co_lnotab, and none did a
  very good job. This patch unifies them into Objects/lnotab_notes.txt which
  tries to completely capture the current state of affairs.

  I also discovered that we've attached 2 layers of patches to the basic tracing
  scheme. The first layer avoids jumping to instructions that don't start a line,
  to avoid problems in if statements and while loops.  The second layer
  discovered that jumps backward do need to trace at instructions that don't
  start a line, so it added extra lnotab entries for 'while' and 'for' loops, and
  added a special case for backward jumps within the same line. I replaced these
  patches by just treating forward and backward jumps differently.
........
2009-07-21 04:30:03 +00:00
..
_warnings.c Merged revisions 72487-72488,72879 via svnmerge from 2009-07-21 04:30:03 +00:00
asdl.c Merged revisions 64114 via svnmerge from 2008-06-18 00:47:36 +00:00
ast.c In most cases, the parser will protect True, False, and None from being assign to. 2009-06-28 23:32:44 +00:00
bltinmodule.c refactor logic a little when no sep or end is passed 2009-07-02 18:25:26 +00:00
ceval.c Merged revisions 72487-72488,72879 via svnmerge from 2009-07-21 04:30:03 +00:00
codecs.c Rename utf8b error handler to surrogateescape. 2009-05-10 08:15:24 +00:00
compile.c Merged revisions 72487-72488,72879 via svnmerge from 2009-07-21 04:30:03 +00:00
dtoa.c Refactor to remove duplicated nan/inf parsing code in 2009-05-20 22:05:25 +00:00
dup2.c
dynload_aix.c Fix SF bug #1072182, problems with signed characters. 2005-12-19 06:05:18 +00:00
dynload_atheos.c Implement PEP 3121: new module initialization and finalization API. 2008-06-11 05:26:20 +00:00
dynload_dl.c Implement PEP 3121: new module initialization and finalization API. 2008-06-11 05:26:20 +00:00
dynload_hpux.c Implement PEP 3121: new module initialization and finalization API. 2008-06-11 05:26:20 +00:00
dynload_next.c Implement PEP 3121: new module initialization and finalization API. 2008-06-11 05:26:20 +00:00
dynload_os2.c Implement PEP 3121: new module initialization and finalization API. 2008-06-11 05:26:20 +00:00
dynload_shlib.c Implement PEP 3121: new module initialization and finalization API. 2008-06-11 05:26:20 +00:00
dynload_stub.c
dynload_win.c Merged revisions 69038 via svnmerge from 2009-01-27 23:46:57 +00:00
errors.c Merged revisions 72698-72699 via svnmerge from 2009-05-17 04:21:53 +00:00
formatter_unicode.c Issue #1588: Add complex.__format__. 2009-04-30 01:00:33 +00:00
frozen.c Fix for refleak tests through regrtest.py -R:: bug #1414 2007-11-12 19:19:07 +00:00
frozenmain.c #4004: Missing newline in some startup error messages. 2008-10-07 21:06:18 +00:00
future.c The BDFL has retired! Long live the FLUFL (Friendly Language Uncle For Life)! 2009-04-01 05:08:41 +00:00
getargs.c Issue #6012: Add cleanup support to O& argument parsing. 2009-05-29 14:47:46 +00:00
getcompiler.c
getcopyright.c Merged revisions 68112,68115,68120,68133,68141-68142,68145-68146,68148-68149 via svnmerge from 2009-01-03 22:33:39 +00:00
getcwd.c Much-needed merge (using svnmerge.py this time) of trunk changes into p3yk. 2006-05-27 19:21:47 +00:00
getopt.c Merged revisions 61440-61441,61443,61445-61448,61451-61452,61455-61457,61459-61464,61466-61467,61469-61470,61476-61477,61479,61481-61482,61485,61487,61490,61493-61494,61497,61499-61502,61505-61506,61508,61511-61514,61519,61521-61522,61530-61531,61533-61537,61541-61555,61557-61558,61561-61562,61566-61569,61572-61574,61578-61579,61583-61584,61588-61589,61592,61594,61598-61601,61603-61604,61607-61612,61617,61619-61620,61624,61626,61628-61630,61635-61638,61640-61643,61645,61648,61653-61655,61659-61662,61664,61666,61668-61671,61673,61675,61679-61680,61682,61685-61686,61689-61695,61697-61699,61701-61703,61706,61710,61713,61717,61723,61726-61730,61736,61738,61740,61742,61745-61752,61754-61760,61762-61764,61768,61770-61772,61774-61775,61784-61787,61789-61792,61794-61795,61797-61806,61808-61809,61811-61812,61814-61819,61824,61826-61833,61835-61840,61843-61845,61848,61850,61854-61862,61865-61866,61868,61872-61873,61876-61877,61883-61888,61890-61891,61893-61899,61901-61903,61905-61912,61914,61917,61920-61921,61927,61930,61932-61934,61939,61941-61942,61944-61951,61955,61960-61963,61980,61982-61983,61991,61994-61996,62001-62003,62008-62010,62016-62017,62022,62024,62027,62031-62034,62041,62045-62046,62055-62058,62060-62066,62068-62074,62076-62079,62081-62083,62086-62089,62092-62094,62098,62101,62104,62106-62109,62115-62122,62124-62125,62128,62130,62132,62134-62135,62137,62139-62140,62144,62146,62151,62155,62157,62162-62166,62171-62172,62175-62176,62178,62181-62186,62188-62192,62196,62200-62203,62206,62211-62213,62215-62218,62222,62224-62226,62228,62232,62236,62240-62245,62248,62250-62254,62256-62258,62262,62264-62265,62267-62270,62272-62276,62280-62288,62291-62292,62299-62301,62307,62312,62316-62318,62322-62331,62333-62337,62339-62344,62346-62348 via svnmerge from 2008-04-15 06:43:13 +00:00
getplatform.c
getversion.c
graminit.c Merged revisions 72924 via svnmerge from 2009-05-25 21:10:36 +00:00
import.c Merged revisions 73870,73879,73899-73900,73905-73906 via svnmerge from 2009-07-17 10:55:50 +00:00
importdl.c Implement PEP 3121: new module initialization and finalization API. 2008-06-11 05:26:20 +00:00
importdl.h
makeopcodetargets.py Make Python/makeopcodetargets runnable with Python 2.3. With any luck, this 2009-01-31 12:12:41 +00:00
marshal.c Merged revisions 72597 via svnmerge from 2009-05-13 12:27:21 +00:00
modsupport.c Py_BuildValue's 'c' code should use byte strings #5666 2009-04-03 22:18:11 +00:00
mysnprintf.c Removed unused #include. 2009-04-07 22:55:31 +00:00
mystrtoul.c Merged revisions 61981,61984-61987,61992-61993,61997-62000 via svnmerge from 2008-03-28 10:53:29 +00:00
opcode_targets.h Merged revisions 72912,72920,72940 via svnmerge from 2009-06-28 03:18:59 +00:00
peephole.c Merged revisions 73683,73786 via svnmerge from 2009-07-21 02:51:58 +00:00
pyarena.c Merged revisions 46753-51188 via svnmerge from 2006-08-11 14:57:12 +00:00
pyctype.c Include files missed in r72044. 2009-04-27 20:54:42 +00:00
pyfpe.c
pymath.c The SSE2 detection and enabling could potentially cause 2009-04-18 20:17:52 +00:00
pystate.c Issue #3327: Don't overallocate in the modules_by_index list. 2008-11-17 16:22:11 +00:00
pystrcmp.c Merged revisions 61724-61725,61731-61735,61737,61739,61741,61743-61744,61753,61761,61765-61767,61769,61773,61776-61778,61780-61783,61788,61793,61796,61807,61813 via svnmerge from 2008-03-23 21:54:12 +00:00
pystrtod.c Refactor to remove duplicated nan/inf parsing code in 2009-05-20 22:05:25 +00:00
Python-ast.c update ast version 2009-07-17 19:11:02 +00:00
pythonrun.c bytes -> bytearray 2009-05-10 23:43:14 +00:00
sigcheck.c
strdup.c
structmember.c Rename PyUnicode_AsString -> _PyUnicode_AsString and 2008-08-07 18:54:33 +00:00
symtable.c Merged revisions 73376,73393,73398,73400,73404-73405,73409,73419-73421,73432,73457,73460,73485-73486,73488-73489,73501-73502,73513-73514 via svnmerge from 2009-06-28 19:19:51 +00:00
sysmodule.c Merged revisions 73665,73693,73704-73705,73707,73712-73713,73824 via svnmerge from 2009-07-17 11:43:26 +00:00
thread.c Merged revisions 68455,68476,68542 via svnmerge from 2009-01-12 08:21:03 +00:00
thread_atheos.h
thread_cthread.h
thread_foobar.h
thread_lwp.h
thread_nt.h Merged revisions 68455,68476,68542 via svnmerge from 2009-01-12 08:21:03 +00:00
thread_os2.h Merged revisions 46753-51188 via svnmerge from 2006-08-11 14:57:12 +00:00
thread_pth.h
thread_pthread.h Merged revisions 46753-51188 via svnmerge from 2006-08-11 14:57:12 +00:00
thread_sgi.h
thread_solaris.h
thread_wince.h bug 1234979 addition 2005-07-09 15:26:33 +00:00
traceback.c Merged revisions 72487-72488,72879 via svnmerge from 2009-07-21 04:30:03 +00:00