jbkinney / suftware

SUFTware: Statistics Using Field Theory
MIT License
9 stars 3 forks source link

time.clock() is not avaliable in Python 3.8 #12

Open slawomirmarczynski opened 3 years ago

slawomirmarczynski commented 3 years ago

Suftware uses time.clock() to measure the time of computations.

This obsolete/deprecated (since Python 3.3) time.clock() method has been removed in Python 3.8. Therefore Suftware installed from PyPI need an hotfix to run - i.e. change from time.clock() to time.pref_counter() - to be compatible with Python 3.8.

See also https://github.com/wxWidgets/Phoenix/issues/1510

atareen commented 3 years ago

Thanks, I know about this issue, I will fix it in a new release, soon.