Python module dis

Python documentation here


python -m dis provides an interesting look into a python file’s guts
I could easily imagine this being part of some sort of static time inspect system where dis sits at the front and a parse
walks down the output lines, turning the data into a dependency and symbol graph. Unfortunately it doesn’t seem to provide anything more and is really just a test function most likely intended for unit-testing the python stdlib.

One thought on “Python module dis

  1. Pingback: Python – batteries included - Refactored scope

Comments are closed.