class_docstr: Turns lambda into top-level functions.
  
  >>> import gast as ast
  >>> from pythran import passmanager, backend
  >>> node = ast.parse("def foo(y): lambda x:y+x")
  >>> pm = passmanager.PassManager("test")
  >>> _, node = pm.apply(RemoveLambdas, node)
  >>> print(pm.dump(backend.Python, node))
  import functools as __pythran_import_functools
  def foo(y):
      __pythran_import_functools.partial(foo_lambda0, y)
  def foo_lambda0(y, x):
      return (y + x)
class_docstr_tok: ["Turns","lambda","into","top-level","functions",".",">",">",">","import","gast","as","ast",">",">",">","from","pythran","import","passmanager",",","backend",">",">",">","node","=","ast.parse","(","``","def","foo","(","y",")",":","lambda","x",":","y+x","''",")",">",">",">","pm","=","passmanager.PassManager","(","``","test","''",")",">",">",">","_",",","node","=","pm.apply","(","RemoveLambdas",",","node",")",">",">",">","print","(","pm.dump","(","backend.Python",",","node",")",")","import","functools","as","__pythran_import_functools","def","foo","(","y",")",":","__pythran_import_functools.partial","(","foo_lambda0",",","y",")","def","foo_lambda0","(","y",",","x",")",":","return","(","y","+","x",")"]
code: def __init__(self):
      super(RemoveLambdas, self).__init__(GlobalDeclarations)
  
imports: from pythran.analyses import GlobalDeclarations, ImportedIds
  from pythran.analyses import Check
  from pythran.analyses import ExtendedDefUseChains
  from pythran.passmanager import Transformation
  from pythran.tables import MODULES
  from pythran.conversion import mangle
  import pythran.metadata
  from copy import copy, deepcopy
  import gast
label_desc: Use image node_id 1 to create a new RemoveLambdas object from inherited base classes: Transformation with example: obj = RemoveLambdas()