#NEWLINE# def install_possible_conversions( self , actualargs , formalargs ) : #NEWLINE# #INDENT# '\n        Install possible conversions from the actual argument types to\n        the formal argument types in the C++ type manager.\n        Return True if all arguments can be converted.\n        ' #NEWLINE# if ( len ( actualargs ) != len ( formalargs ) ) : #NEWLINE# #INDENT# return False #NEWLINE# #UNINDENT# for ( actual , formal ) in zip ( actualargs , formalargs ) : #NEWLINE# #INDENT# if ( self . tm . check_compatible ( actual , formal ) is not None ) : #NEWLINE# #INDENT# continue #NEWLINE# #UNINDENT# conv = self . can_convert ( actual , formal ) #NEWLINE# if ( conv is None ) : #NEWLINE# #INDENT# return False #NEWLINE# #UNINDENT# assert ( conv is not Conversion . exact ) #NEWLINE# self . tm . set_compatible ( actual , formal , conv ) #NEWLINE# #UNINDENT# return True