✘✘ GRAYBYTE WORDPRESS FILE MANAGER ✘✘

​🇳​​🇦​​🇲​​🇪♯➤ server366.web-hosting.com ​🇻​♯➤ 4.18.0-553.50.1.lve.el8.x86_64 #1 SMP 🇾​♯➤ 2025

𝗛𝗢𝗠𝗘 𝗜𝗗 ♯➤ 67.223.118.204 ♯➤ 𝗔𝗗𝗠𝗜𝗡 𝗜𝗗 216.73.216.173
𝗢𝗣𝗧𝗜𝗢𝗡𝗦 ♯ CRL ♯➤ 𝗢𝗞 ┃ WGT ♯➤ 𝗢𝗞 ┃ SDO ♯➤ 𝗢𝗙𝗙 ┃ PKEX ♯➤ 𝗢𝗙𝗙
𝗗𝗘𝗔𝗖𝗧𝗜𝗩𝗔𝗧𝗘𝗗 ♯➤ 𝗔𝗟𝗟 𝗪𝗢𝗥𝗞𝗜𝗡𝗚....

𝗛𝗢𝗠𝗘
𝗖𝗨𝗥𝗥𝗘𝗡𝗧 𝗙𝗜𝗟𝗘 : /opt/alt/python27/lib64/python2.7/compiler//future.py
"""Parser for future statements

"""

from compiler import ast, walk

def is_future(stmt):
    """Return true if statement is a well-formed future statement"""
    if not isinstance(stmt, ast.From):
        return 0
    if stmt.modname == "__future__":
        return 1
    else:
        return 0

class FutureParser:

    features = ("nested_scopes", "generators", "division",
                "absolute_import", "with_statement", "print_function",
                "unicode_literals")

    def __init__(self):
        self.found = {} # set

    def visitModule(self, node):
        stmt = node.node
        for s in stmt.nodes:
            if not self.check_stmt(s):
                break

    def check_stmt(self, stmt):
        if is_future(stmt):
            for name, asname in stmt.names:
                if name in self.features:
                    self.found[name] = 1
                else:
                    raise SyntaxError, \
                          "future feature %s is not defined" % name
            stmt.valid_future = 1
            return 1
        return 0

    def get_features(self):
        """Return list of features enabled by future statements"""
        return self.found.keys()

class BadFutureParser:
    """Check for invalid future statements"""

    def visitFrom(self, node):
        if hasattr(node, 'valid_future'):
            return
        if node.modname != "__future__":
            return
        raise SyntaxError, "invalid future statement " + repr(node)

def find_futures(node):
    p1 = FutureParser()
    p2 = BadFutureParser()
    walk(node, p1)
    walk(node, p2)
    return p1.get_features()

if __name__ == "__main__":
    import sys
    from compiler import parseFile, walk

    for file in sys.argv[1:]:
        print file
        tree = parseFile(file)
        v = FutureParser()
        walk(tree, v)
        print v.found
        print


Current_dir [ 𝗡𝗢𝗧 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ] Document_root [ 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ]


[ Back ]
𝗡𝗔𝗠𝗘
𝗦𝗜𝗭𝗘
𝗟𝗔𝗦𝗧 𝗧𝗢𝗨𝗖𝗛
𝗨𝗦𝗘𝗥
𝗦𝗧𝗔𝗧𝗨𝗦
𝗙𝗨𝗡𝗖𝗧𝗜𝗢𝗡𝗦
..
--
1 May 2025 1.26 PM
root / linksafe
0755
__init__.py
0.999 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
__init__.pyc
1.279 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
__init__.pyo
1.279 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
ast.py
36.629 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
ast.pyc
75.373 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
ast.pyo
75.373 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
consts.py
0.457 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
consts.pyc
0.732 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
consts.pyo
0.732 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
future.py
1.849 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
future.pyc
3.014 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
future.pyo
3.014 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
misc.py
1.752 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
misc.pyc
3.887 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
misc.pyo
3.887 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
pyassem.py
23.699 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
pyassem.pyc
26.358 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
pyassem.pyo
25.798 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
pycodegen.py
46.688 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
pycodegen.pyc
57.387 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
pycodegen.pyo
56.953 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
symbols.py
14.149 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
symbols.pyc
17.974 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
symbols.pyo
17.94 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
syntax.py
1.41 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
syntax.pyc
1.914 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
syntax.pyo
1.914 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
transformer.py
51.871 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
transformer.pyc
48.115 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
transformer.pyo
46.343 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
visitor.py
3.805 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
visitor.pyc
4.216 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
visitor.pyo
4.216 KB
8 Jan 2025 10.43 AM
root / linksafe
0644

✘✘ GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME ✘✘
Static GIF Static GIF