#NEWLINE# def drop_bad_flags( flags ) : #NEWLINE# #INDENT# '\n    Drop flags that are problematic for compiling old scipy versions\n    ' #NEWLINE# if ( not flags ) : #NEWLINE# #INDENT# return flags #NEWLINE# #UNINDENT# return ' ' . join ( ( x for x in flags . split ( ) if ( not ( x . startswith ( '-Werror' ) or ( x in ( '-pedantic-errors' , ) ) ) ) ) )