[Python-checkins] python/dist/src/Include opcode.h,2.39,2.40
mwh@users.sourceforge.net
mwh@users.sourceforge.net
Thu, 15 Aug 2002 07:59:02 -0700
- Previous message: [Python-checkins] python/dist/src/Misc NEWS,1.468,1.469
- Next message: [Python-checkins] python/dist/src/Lib dis.py,1.41,1.42 inspect.py,1.37,1.38 pdb.py,1.54,1.55 traceback.py,1.27,1.28
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/python/python/dist/src/Include
In directory usw-pr-cvs1:/tmp/cvs-serv10908/Include
Modified Files:
opcode.h
Log Message:
This is my patch
[ 587993 ] SET_LINENO killer
Remove SET_LINENO. Tracing is now supported by inspecting co_lnotab.
Many sundry changes to document and adapt to this change.
Index: opcode.h
===================================================================
RCS file: /cvsroot/python/python/dist/src/Include/opcode.h,v
retrieving revision 2.39
retrieving revision 2.40
diff -C2 -d -r2.39 -r2.40
*** opcode.h 13 Jun 2002 17:59:51 -0000 2.39
--- opcode.h 15 Aug 2002 14:59:00 -0000 2.40
***************
*** 72,75 ****
--- 72,78 ----
#define BREAK_LOOP 80
+ #define RETURN_NONE 81 /* *only* for function epilogues
+ -- see comments in
+ ceval.c:maybe_call_line_trace for why */
#define LOAD_LOCALS 82
#define RETURN_VALUE 83
***************
*** 119,124 ****
#define STORE_FAST 125 /* Local variable number */
#define DELETE_FAST 126 /* Local variable number */
-
- #define SET_LINENO 127 /* Current line number */
#define RAISE_VARARGS 130 /* Number of raise arguments (1, 2 or 3) */
--- 122,125 ----
- Previous message: [Python-checkins] python/dist/src/Misc NEWS,1.468,1.469
- Next message: [Python-checkins] python/dist/src/Lib dis.py,1.41,1.42 inspect.py,1.37,1.38 pdb.py,1.54,1.55 traceback.py,1.27,1.28
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]