[Python-checkins] python/dist/src/Doc/ref ref3.tex,1.95,1.96

mwh@users.sourceforge.net mwh@users.sourceforge.net
Tue, 17 Dec 2002 08:15:47 -0800


Update of /cvsroot/python/python/dist/src/Doc/ref
In directory sc8-pr-cvs1:/tmp/cvs-serv23499/Doc/ref

Modified Files:
	ref3.tex 
Log Message:
This is Richie Hindle's patch

[ 643835 ] Set Next Statement for Python debuggers

with a few tweaks by me: adding an unsigned or two, mentioning that
not all jumps are allowed in the doc for pdb, adding a NEWS item and
a note to whatsnew, and AuCTeX doing something cosmetic to libpdb.tex.



Index: ref3.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/ref/ref3.tex,v
retrieving revision 1.95
retrieving revision 1.96
diff -C2 -d -r1.95 -r1.96
*** ref3.tex	24 Sep 2002 21:09:13 -0000	1.95
--- ref3.tex	17 Dec 2002 16:15:12 -0000	1.96
***************
*** 813,818 ****
  \member{f_builtins} is used for built-in (intrinsic) names;
  \member{f_restricted} is a flag indicating whether the function is
! executing in restricted execution mode;
! \member{f_lineno} gives the line number and \member{f_lasti} gives the
  precise instruction (this is an index into the bytecode string of
  the code object).
--- 813,817 ----
  \member{f_builtins} is used for built-in (intrinsic) names;
  \member{f_restricted} is a flag indicating whether the function is
! executing in restricted execution mode; \member{f_lasti} gives the
  precise instruction (this is an index into the bytecode string of
  the code object).
***************
*** 822,826 ****
    \ttindex{f_globals}
    \ttindex{f_locals}
-   \ttindex{f_lineno}
    \ttindex{f_lasti}
    \ttindex{f_builtins}
--- 821,824 ----
***************
*** 831,840 ****
  the debugger); \member{f_exc_type}, \member{f_exc_value},
  \member{f_exc_traceback} represent the most recent exception caught in
! this frame.
  \withsubitem{(frame attribute)}{
    \ttindex{f_trace}
    \ttindex{f_exc_type}
    \ttindex{f_exc_value}
!   \ttindex{f_exc_traceback}}
  
  \item[Traceback objects] \label{traceback}
--- 829,842 ----
  the debugger); \member{f_exc_type}, \member{f_exc_value},
  \member{f_exc_traceback} represent the most recent exception caught in
! this frame; \member{f_lineno} is the current line number of the frame
! --- writing to this from within a trace function jumps to the given line
! (only for the bottom-most frame).  A debugger can implement a Jump
! command (aka Set Next Statement) by writing to f_lineno.
  \withsubitem{(frame attribute)}{
    \ttindex{f_trace}
    \ttindex{f_exc_type}
    \ttindex{f_exc_value}
!   \ttindex{f_exc_traceback}
!   \ttindex{f_lineno}}
  
  \item[Traceback objects] \label{traceback}