How to use the pythran.passmanager.Transformation.__init__ function in pythran

To help you get started, we’ve selected a few pythran examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github serge-sans-paille / pythran / pythran / optimizations / list_comp_to_genexp.py View on Github external
def __init__(self):
        Transformation.__init__(self, PotentialIterator)
github serge-sans-paille / pythran / pythran / transformations / normalize_method_calls.py View on Github external
def __init__(self):
        Transformation.__init__(self, Globals)
        self.imports = {'__builtin__': '__builtin__'}
        self.to_import = set()
github serge-sans-paille / pythran / pythran / optimizations / list_comp_to_map.py View on Github external
def __init__(self):
        Transformation.__init__(self, OptimizableComprehension)