Search found 1 match

by pbljung
Mon Apr 23, 2018 9:45 pm
Forum: General Discussion and Questions
Topic: see code emitted by bytecode, native, viper decorators?
Replies: 4
Views: 3849

see code emitted by bytecode, native, viper decorators?

How do I see the code emitted by decorators bytecode, native or viper? In "normal" python I can see the bytecode with foo.func_code.co_code, or import dis and use dis.dis(foo). I would like to see the dis-like output that D. George shows on https://gotocon.com/dl/goto-amsterdam-2016/slides/DamienGeo...