Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

time.clock has been deprecated since Python 3.3 and removed in 3.8 #1264

Closed
dhomeier opened this issue Jun 17, 2019 · 1 comment
Closed

time.clock has been deprecated since Python 3.3 and removed in 3.8 #1264

dhomeier opened this issue Jun 17, 2019 · 1 comment

Comments

@dhomeier
Copy link

Thus from time import clock in floatcanvas fails as of Python 3.8b1.
Canonical fix would be to change it to from time import perf_counter as clock (or process_time, for best measurement of either total elapsed system time or the current Python process, respectively) or simply replace the clock() calls with either of the substitutes throughout.

@RobinD42
Copy link
Member

RobinD42 commented Sep 6, 2019

This was fixed in 59e70e7

@RobinD42 RobinD42 closed this as completed Sep 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants