aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorChristoph Reiter <reiter.christoph@gmail.com>2019-07-25 22:17:22 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2019-07-27 12:03:01 -0400
commit6535ec6b95d3b3978fe52ea31523c7bd14f4e95b (patch)
treeae0dc1ef5fae5cfdc299e4c78584d1264b750ab9 /doc
parent74c6bdaf8c631ce9af957edb0ae6c96b17bca6e2 (diff)
downloadexternal_python_mako-6535ec6b95d3b3978fe52ea31523c7bd14f4e95b.tar.gz
external_python_mako-6535ec6b95d3b3978fe52ea31523c7bd14f4e95b.tar.bz2
external_python_mako-6535ec6b95d3b3978fe52ea31523c7bd14f4e95b.zip
use timeit.default_timer instead of time.clock() / time.time()
Replaced usage of time.clock() on windows as well as time.time() elsewhere for microsecond timestamps with timeit.default_timer(), as time.clock() is being removed in Python 3.8. Pull request courtesy Christoph Reiter. Fixes: #301 Closes: #302 Pull-request: https://github.com/sqlalchemy/mako/pull/302 Pull-request-sha: a706e952727337702692fd1d8369d259e1600d6e Change-Id: I24e2cd3d2c02323a6fa2b063e86cabe555df2036
Diffstat (limited to 'doc')
-rw-r--r--doc/build/unreleased/301.rst8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/build/unreleased/301.rst b/doc/build/unreleased/301.rst
new file mode 100644
index 0000000..7e9f1d2
--- /dev/null
+++ b/doc/build/unreleased/301.rst
@@ -0,0 +1,8 @@
+.. change::
+ :tags: bug, py3k, windows
+ :tickets: 301
+
+ Replaced usage of time.clock() on windows as well as time.time() elsewhere
+ for microsecond timestamps with timeit.default_timer(), as time.clock() is
+ being removed in Python 3.8. Pull request courtesy Christoph Reiter.
+