<s> """<STR_LIT>""" <EOL> import operator <EOL> from nuitka . PythonVersions import python_version <EOL> if python_version >= <NUM_LIT> : <EOL> operator . div = operator . truediv <EOL> operator . idiv = operator . itruediv <EOL> binary_operator_functions = { <EOL> "<STR_LIT>" : operator . add , <EOL> "<STR_LIT>" : operator . sub , <EOL> "<STR_LIT>" : operator . pow , <EOL> "<STR_LIT>" : operator . mul , <EOL> "<STR_LIT>" : operator . div , <EOL> "<STR_LIT>" : operator . floordiv , <EOL> "<STR_LIT>" : operator . truediv , <EOL> "<STR_LIT>" : operator . mod , <EOL> "<STR_LIT>" : operator . lshift , <EOL> "<STR_LIT>" : operator . rshift , <EOL> "<STR_LIT>" : operator . and_ , <EOL> "<STR_LIT>" : operator . or_ , <EOL> "<STR_LIT>" : operator . xor , <EOL> "<STR_LIT>" : operator . iadd , <EOL> "<STR_LIT>" : operator . isub , <EOL> "<STR_LIT>" : operator . ipow , <EOL> "<STR_LIT>" : operator . imul , <EOL> "<STR_LIT>" : operator . idiv , <EOL> "<STR_LIT>" : operator . ifloordiv , <EOL> "<STR_LIT>" : operator . itruediv , <EOL> "<STR_LIT>" : operator . imod , <EOL> "<STR_LIT>" : operator . ilshift , <EOL> "<STR_LIT>" : operator . irshift , <EOL> "<STR_LIT>" : operator . iand , <EOL> "<STR_LIT>" : operator . ior , <EOL> "<STR_LIT>" : operator . ixor , <EOL> } <EOL> if python_version >= <NUM_LIT> : <EOL> binary_operator_functions [ "<STR_LIT>" ] = operator . matmul <EOL> binary_operator_functions [ "<STR_LIT>" ] = operator . imatmul <EOL> unary_operator_functions = { <EOL> "<STR_LIT>" : operator . pos , <EOL> "<STR_LIT>" : operator . neg , <EOL> "<STR_LIT>" : operator . invert , <EOL> "<STR_LIT>" : repr , <EOL> "<STR_LIT>" : operator . not_ , <EOL> } <EOL> rich_comparison_functions = { <EOL> "<STR_LIT>" : operator . lt , <EOL> "<STR_LIT>" : operator . le , <EOL> "<STR_LIT>" : operator . eq , <EOL> "<STR_LIT>" : operator . ne , <EOL> "<STR_LIT>" : operator . gt , <EOL> "<STR_LIT>" : operator . ge <EOL> } <EOL> other_comparison_functions = { <EOL> "<STR_LIT>" : operator . is_ , <EOL> "<STR_LIT>" : operator . is_not , <EOL> "<STR_LIT>" : lambda value1 , value2 : value1 in value2 , <EOL> "<STR_LIT>" : lambda value1 , value2 : value1 not in value2 <EOL> } <EOL> comparison_inversions = { <EOL> "<STR_LIT>" : "<STR_LIT>" , <EOL> "<STR_LIT>" : "<STR_LIT>" , <EOL> "<STR_LIT>" : "<STR_LIT>" , <EOL> "<STR_LIT>" : "<STR_LIT>" <EOL> } <EOL> all_comparison_functions = dict ( rich_comparison_functions ) <EOL> all_comparison_functions . update ( other_comparison_functions ) <EOL> def matchException ( left , right ) : <EOL> if python_version >= <NUM_LIT> : <EOL> if type ( right ) is tuple : <EOL> for element in right : <EOL> if not isinstance ( BaseException , element ) : <EOL> raise TypeError ( "<STR_LIT>" ) <EOL> elif not isinstance ( BaseException , right ) : <EOL> raise TypeError ( "<STR_LIT>" ) <EOL> import os <EOL> os . _exit ( <NUM_LIT:16> ) <EOL> assert False , left <EOL> all_comparison_functions [ "<STR_LIT>" ] = matchException </s>
