Some bugs...

Python 3 compiling Python 2 tolerance. Fixes issue #180.
pytest test_grammar.py and validate.py fixes for 3.6 testing
This commit is contained in:
rocky
2018-06-22 21:06:54 -04:00
parent 6fd8d2556b
commit 1350f4c899
3 changed files with 8 additions and 5 deletions

View File

@@ -43,6 +43,10 @@ from xdis.bytecode import (
_get_const_info)
from xdis.util import code2num
from uncompyle6 import PYTHON3
if PYTHON3:
from sys import intern
from uncompyle6.scanner import Scanner, Token
class Scanner2(Scanner):