merge 3.4

This commit is contained in:
Benjamin Peterson 2015-03-01 20:59:41 -05:00
commit e35a17af68
1 changed files with 5 additions and 6 deletions

View File

@ -216,12 +216,11 @@ LLTRACE
Compile in support for Low Level TRACE-ing of the main interpreter loop. Compile in support for Low Level TRACE-ing of the main interpreter loop.
When this preprocessor symbol is defined, before PyEval_EvalFrame (eval_frame in When this preprocessor symbol is defined, before PyEval_EvalFrame executes a
2.3 and 2.2, eval_code2 before that) executes a frame's code it checks the frame's code it checks the frame's global namespace for a variable
frame's global namespace for a variable "__lltrace__". If such a variable is "__lltrace__". If such a variable is found, mounds of information about what
found, mounds of information about what the interpreter is doing are sprayed to the interpreter is doing are sprayed to stdout, such as every opcode and opcode
stdout, such as every opcode and opcode argument and values pushed onto and argument and values pushed onto and popped off the value stack.
popped off the value stack.
Not useful very often, but very useful when needed. Not useful very often, but very useful when needed.