Linux vmi284606.contaboserver.net 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64
Apache/2.4.57 (Ubuntu)
: 167.86.127.34 | : 216.73.217.31
Cant Read [ /etc/named.conf ]
7.2.24-0ubuntu0.18.04.17
root
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
usr /
lib /
python3 /
dist-packages /
libfuturize /
fixes /
[ HOME SHELL ]
Name
Size
Permission
Action
__pycache__
[ DIR ]
drwxr-xr-x
__init__.py
5.02
KB
-rw-r--r--
fix_UserDict.py
3.75
KB
-rw-r--r--
fix_absolute_import.py
3.07
KB
-rw-r--r--
fix_add__future__imports_excep...
663
B
-rw-r--r--
fix_basestring.py
395
B
-rw-r--r--
fix_bytes.py
685
B
-rw-r--r--
fix_cmp.py
702
B
-rw-r--r--
fix_division.py
229
B
-rw-r--r--
fix_division_safe.py
2.19
KB
-rw-r--r--
fix_execfile.py
922
B
-rw-r--r--
fix_future_builtins.py
1.98
KB
-rw-r--r--
fix_future_standard_library.py
735
B
-rw-r--r--
fix_future_standard_library_ur...
1003
B
-rw-r--r--
fix_metaclass.py
9.34
KB
-rw-r--r--
fix_next_call.py
3.08
KB
-rw-r--r--
fix_object.py
407
B
-rw-r--r--
fix_oldstr_wrap.py
2.5
KB
-rw-r--r--
fix_order___future__imports.py
830
B
-rw-r--r--
fix_print.py
3.3
KB
-rw-r--r--
fix_print_with_import.py
736
B
-rw-r--r--
fix_raise.py
2.12
KB
-rw-r--r--
fix_remove_old__future__import...
852
B
-rw-r--r--
fix_unicode_keep_u.py
780
B
-rw-r--r--
fix_unicode_literals_import.py
372
B
-rw-r--r--
fix_xrange_with_import.py
479
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : fix_raise.py
"""Fixer for 'raise E, V' From Armin Ronacher's ``python-modernize``. raise -> raise raise E -> raise E raise E, V -> raise E(V) raise (((E, E'), E''), E'''), V -> raise E(V) CAVEATS: 1) "raise E, V" will be incorrectly translated if V is an exception instance. The correct Python 3 idiom is raise E from V but since we can't detect instance-hood by syntax alone and since any client code would have to be changed as well, we don't automate this. """ # Author: Collin Winter, Armin Ronacher # Local imports from lib2to3 import pytree, fixer_base from lib2to3.pgen2 import token from lib2to3.fixer_util import Name, Call, is_tuple class FixRaise(fixer_base.BaseFix): BM_compatible = True PATTERN = """ raise_stmt< 'raise' exc=any [',' val=any] > """ def transform(self, node, results): syms = self.syms exc = results["exc"].clone() if exc.type == token.STRING: msg = "Python 3 does not support string exceptions" self.cannot_convert(node, msg) return # Python 2 supports # raise ((((E1, E2), E3), E4), E5), V # as a synonym for # raise E1, V # Since Python 3 will not support this, we recurse down any tuple # literals, always taking the first element. if is_tuple(exc): while is_tuple(exc): # exc.children[1:-1] is the unparenthesized tuple # exc.children[1].children[0] is the first element of the tuple exc = exc.children[1].children[0].clone() exc.prefix = u" " if "val" not in results: # One-argument raise new = pytree.Node(syms.raise_stmt, [Name(u"raise"), exc]) new.prefix = node.prefix return new val = results["val"].clone() if is_tuple(val): args = [c.clone() for c in val.children[1:-1]] else: val.prefix = u"" args = [val] return pytree.Node(syms.raise_stmt, [Name(u"raise"), Call(exc, args)], prefix=node.prefix)
Close