Skip to content

Replaced time.clock() by time.process_time()#5

Open
ctu0815 wants to merge 1 commit into
Rhoana:masterfrom
ctu0815:fix_time_clock_deprecated
Open

Replaced time.clock() by time.process_time()#5
ctu0815 wants to merge 1 commit into
Rhoana:masterfrom
ctu0815:fix_time_clock_deprecated

Conversation

@ctu0815

@ctu0815 ctu0815 commented May 18, 2022

Copy link
Copy Markdown

time.clock() is deprecated since Python 3.3 and was removed in Python
3.8. It is recommended to use process_time() instead.

time.clock() is deprecated since Python 3.3 and was removed in Python
3.8. It is recommended to use process_time() instead.
@geographika

Copy link
Copy Markdown

@ctu0815 - thanks for this fix - I just ran into it myself on Python 3.9.

@adisuissa - are there any plans to maintain and make this the official fork? I'm happy to review issues/pull requests.

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

Successfully merging this pull request may close these issues.

2 participants