uncertainties in Python implementation