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

[matrix branch] time.clock deprecated since python3.3 #426

Closed
XayOn opened this issue Jul 24, 2020 · 1 comment
Closed

[matrix branch] time.clock deprecated since python3.3 #426

XayOn opened this issue Jul 24, 2020 · 1 comment

Comments

@XayOn
Copy link

XayOn commented Jul 24, 2020

time.clock has been deprecated since python3.3, current matrix branch uses it.

A recommended replacement is process_time() https://docs.python.org/3/library/time.html#time.process_time

XayOn added a commit to XayOn/romcollectionbrowser that referenced this issue Jul 24, 2020
This commit replaces all time.clock() references for
time.process_time().

https://docs.python.org/3/library/time.html#time.process_time
"Value (in fractional seconds) of the sum of the system and user CPU
time of the current process"
maloep added a commit that referenced this issue Sep 9, 2020
fix: #426 time.clock() deprecated since python3.3
@maloep
Copy link
Owner

maloep commented Sep 9, 2020

Fixed with ef82f82

@maloep maloep closed this as completed Sep 9, 2020
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