Repository navigation
Conversation
This is a monotonic clock suitable for measuring durations and timeouts.
|
Python 2 support is being removed in the relatively near term, with a 3.0 release. Given that this isn't an urgent fix, I'd say go ahead and rewrite in the simpler, Python 3-only fashion, and we'll just aim it for 3.0. Keep the current git history intact, though, so that if @bitprophet should want to use the Python 2-compatible version he can just cherry-pick from 94d840f or thereabouts. |
|
Thanks. For the Python 3 only version would you prefer I keep the |
|
That's a call for @bitprophet -- I'll bump the question to his attention. |
|
Re: Python 2, nah, that's going out the window RSN. Re: whether it's nice hiding
I'll put this in a milestone so there's a chance I'll get to it when crafting 3.0. Thanks! |
|
Linking to #2045 (doing it in the subject doesn't work, sadly) |
I've tried to retain Python 2.7 compatibility by using
timeit.default_timeras the monotonic clock. If Python 2.7 support was not needed this change would be simpler.