Permalink
Please sign in to comment.
Browse files
Copy inspect.py from the standard library.
It uses 'tokenize', and we don't want 2 copies of that in the OPy binary. Instead we use pgen2/tokenize.py. Use imports relative to the repo root. Otherwise unit tests and bin/opyc won't both work.
- Loading branch information...
Showing
with
1,072 additions
and 7 deletions.
- +2 −1 opy/byterun/pyobj.py
- +0 −1 opy/byterun/pyvm2.py
- +2 −1 opy/callgraph.py
- +1,064 −0 opy/lib/inspect.py
- +4 −4 opy/test.sh
0 comments on commit
bf89a33