You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-03 00:45:53 +08:00
Merge branch 'master' into python-3.6-to-3.10
This commit is contained in:
@@ -6,17 +6,17 @@ repos:
|
|||||||
hooks:
|
hooks:
|
||||||
- id: check-merge-conflict
|
- id: check-merge-conflict
|
||||||
- id: debug-statements
|
- id: debug-statements
|
||||||
stages: [commit]
|
stages: [pre-commit]
|
||||||
- id: end-of-file-fixer
|
- id: end-of-file-fixer
|
||||||
stages: [commit]
|
stages: [pre-commit]
|
||||||
- repo: https://github.com/pycqa/isort
|
- repo: https://github.com/pycqa/isort
|
||||||
rev: 5.13.2
|
rev: 5.13.2
|
||||||
hooks:
|
hooks:
|
||||||
- id: isort
|
- id: isort
|
||||||
stages: [commit]
|
stages: [pre-commit]
|
||||||
- repo: https://github.com/psf/black
|
- repo: https://github.com/psf/black
|
||||||
rev: 23.12.1
|
rev: 23.12.1
|
||||||
hooks:
|
hooks:
|
||||||
- id: black
|
- id: black
|
||||||
language_version: python3
|
language_version: python3
|
||||||
stages: [commit]
|
stages: [pre-commit]
|
||||||
|
@@ -17,7 +17,7 @@ cd $mydir
|
|||||||
|
|
||||||
(cd $fulldir/.. && \
|
(cd $fulldir/.. && \
|
||||||
setup_version python-spark python-2.4 && \
|
setup_version python-spark python-2.4 && \
|
||||||
setup_verseion python-xdis python-2.4-to-2.7)
|
setup_version python-xdis python-2.4-to-2.7)
|
||||||
|
|
||||||
|
|
||||||
checkout_finish python-2.4-to-2.7
|
checkout_finish python-2.4-to-2.7
|
||||||
|
BIN
test/bytecode_2.7/06_nop.pyc
Normal file
BIN
test/bytecode_2.7/06_nop.pyc
Normal file
Binary file not shown.
BIN
test/bytecode_3.6/06_nop.pyc
Normal file
BIN
test/bytecode_3.6/06_nop.pyc
Normal file
Binary file not shown.
@@ -391,6 +391,10 @@ class PythonParser(GenericASTBuilder):
|
|||||||
|
|
||||||
returns ::= return
|
returns ::= return
|
||||||
returns ::= _stmts return
|
returns ::= _stmts return
|
||||||
|
|
||||||
|
# NOP
|
||||||
|
stmt ::= nop_stmt
|
||||||
|
nop_stmt ::= NOP
|
||||||
|
|
||||||
"""
|
"""
|
||||||
pass
|
pass
|
||||||
|
@@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
import re
|
import re
|
||||||
|
|
||||||
from uncompyle6.semantics.consts import INDENT_PER_LEVEL, PRECEDENCE, TABLE_DIRECT
|
from uncompyle6.semantics.consts import INDENT_PER_LEVEL, PRECEDENCE
|
||||||
from uncompyle6.semantics.helper import flatten_list
|
from uncompyle6.semantics.helper import flatten_list
|
||||||
|
|
||||||
# FIXME get from a newer xdis
|
# FIXME get from a newer xdis
|
||||||
|
Reference in New Issue
Block a user