Speaker
Elizaveta Shashkova
Material
Note
- Stack Frame
sys._getframe([depth])
- frame object
f_locals
f_globals
f_lineno
f_trace
: tracing functionf_back
: previous framef_code
: code objectco_filename
co_name
: name of function or moduleco_varnames
co_code
: compiled bytecode- disassemble with
dis.dis()
- disassemble with
- frame object
- Development Tools:
- pytest
- debugger
- code coverage
- typing information
- fault handler