cpython/Objects
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
..
stringlib Merged revisions 72848 via svnmerge from 2009-05-23 14:23:22 +00:00
abstract.c Merged revisions 72907 via svnmerge from 2009-05-25 03:10:48 +00:00
boolobject.c Issue #1717: rename tp_compare to tp_reserved. I'll change the 2009-02-02 20:36:42 +00:00
bytearrayobject.c Merged revisions 72040 via svnmerge from 2009-04-27 20:39:49 +00:00
bytes_methods.c Merged revisions 72040 via svnmerge from 2009-04-27 20:39:49 +00:00
bytesobject.c rename internal methods of the bytes object to bytes_ 2009-04-18 15:17:02 +00:00
capsule.c fix useless comparison #6355 2009-06-28 16:23:55 +00:00
cellobject.c Issue #1717: rename tp_compare to tp_reserved. I'll change the 2009-02-02 20:36:42 +00:00
classobject.c Issue #1717: rename tp_compare to tp_reserved. I'll change the 2009-02-02 20:36:42 +00:00
codeobject.c Merged revisions 72487-72488,72879 via svnmerge from 2009-07-21 04:30:03 +00:00
complexobject.c Issue #5829: complex('1e500') shouldn't raise OverflowError 2009-05-20 18:41:04 +00:00
descrobject.c Merged revisions 72328 via svnmerge from 2009-05-05 09:21:07 +00:00
dictnotes.txt Merged revisions 53623-53858 via svnmerge from 2007-02-23 15:07:44 +00:00
dictobject.c Merged revisions 73196,73278-73280,73299,73308,73312-73313,73317-73318,73321,73324,73331,73335,73340,73363 via svnmerge from 2009-06-11 22:54:11 +00:00
enumobject.c Merged revisions 72907 via svnmerge from 2009-05-25 03:10:48 +00:00
exceptions.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
fileobject.c Issue #1717: rename tp_compare to tp_reserved. I'll change the 2009-02-02 20:36:42 +00:00
floatobject.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
frameobject.c Merged revisions 72487-72488,72879 via svnmerge from 2009-07-21 04:30:03 +00:00
funcobject.c Merged revisions 73004,73439,73496,73509,73529,73564,73576-73577,73595-73596,73605 via svnmerge from 2009-06-28 17:22:03 +00:00
genobject.c Merged revisions 70712,70714,70764-70765,70769-70771,70773,70776-70777,70788-70789,70824,70828,70832,70836,70842,70851,70855,70857,70866-70872,70883,70885,70893-70894,70896-70897,70903,70905-70907,70915,70927,70933,70951,70960,70962-70964,70998,71001,71006,71008,71010-71011,71019,71037,71056,71094,71101-71103,71106,71119,71123,71149-71150,71203,71212,71214-71217,71221,71240 via svnmerge from 2009-04-05 19:13:16 +00:00
iterobject.c Issue #1717: rename tp_compare to tp_reserved. I'll change the 2009-02-02 20:36:42 +00:00
listobject.c Issue 1242657: list(obj) can swallow KeyboardInterrupt. 2009-02-02 22:55:09 +00:00
listsort.txt Merged revisions 69846 via svnmerge from 2009-02-21 20:59:32 +00:00
lnotab_notes.txt Merged revisions 72487-72488,72879 via svnmerge from 2009-07-21 04:30:03 +00:00
longobject.c Merged revisions 72202 via svnmerge from 2009-05-02 17:57:52 +00:00
memoryobject.c Issue 6329: Fix iteration for memoryviews. 2009-06-23 20:38:54 +00:00
methodobject.c Issue #1717: rename tp_compare to tp_reserved. I'll change the 2009-02-02 20:36:42 +00:00
moduleobject.c Issue #1717: rename tp_compare to tp_reserved. I'll change the 2009-02-02 20:36:42 +00:00
object.c remove reference to PyCObject 2009-07-01 01:31:12 +00:00
obmalloc.c Merged revisions 66616 via svnmerge from 2008-09-25 04:15:27 +00:00
rangeobject.c Fix description of range_length_obj 2009-06-28 22:08:40 +00:00
setobject.c Issue #1717: rename tp_compare to tp_reserved. I'll change the 2009-02-02 20:36:42 +00:00
sliceobject.c Merged revisions 71734,71738-71739 via svnmerge from 2009-04-20 02:09:13 +00:00
structseq.c Issue #1717: rename tp_compare to tp_reserved. I'll change the 2009-02-02 20:36:42 +00:00
tupleobject.c Merged revisions 70550 via svnmerge from 2009-03-23 19:19:54 +00:00
typeobject.c #6428: py3k requires that __bool__ return a bool (and not an int) 2009-07-07 00:43:08 +00:00
unicodectype.c Merged revisions 71947 via svnmerge from 2009-04-26 01:02:07 +00:00
unicodeobject.c Merged revisions 73871 via svnmerge from 2009-07-21 00:39:03 +00:00
unicodetype_db.h Merged revisions 71894 via svnmerge from 2009-04-25 14:13:56 +00:00
weakrefobject.c Issue #1717: rename tp_compare to tp_reserved. I'll change the 2009-02-02 20:36:42 +00:00