def fix_2to3(source, aggressive=True, select=None, ignore=None, filename=u''):
 if (not aggressive):
  return source
 select = (select or [])
 ignore = (ignore or [])
 return refactor(source, code_to_2to3(select=select, ignore=ignore), filename=filename)

def fix_2to3 ( source , aggressive = True , select = None , ignore = None , filename = u'' ) : if ( not aggressive ) : return source select = ( select or [ ] ) ignore = ( ignore or [ ] ) return refactor ( source , code_to_2to3 ( select = select , ignore = ignore ) , filename = filename )
fix various deprecated code .