PyThred_set_key_value deprecated error python 3.8 code example Example: ignoring warnings import warnings warnings.filterwarnings(action= 'ignore')