set use_workaround to boolean True if current_version tuple elements are smaller than the tuple (2,7,3), respectively,
use_workaround = ( ( current_version < ( 2 , 7 , 3 ) ) or ( current_version >= ( 3 , 0 ) and current_version < ( 3 , 2 , 3 ) ) )