PyClock for Python 3