STINNER Victor <victor.stin...@gmail.com> added the comment: > Why global _PyTime_GetWinPerfCounterWithInfo() is needed at all? It seems to > me that _PyTime_GetPerfCounterWithInfo() can be used instead. Smaller API is > better.
I chose to expose _PyTime_GetWinPerfCounterWithInfo() to make my change as small as possible. I didn't want to break the old time.clock() clock by mistake. By the way, time.clock() is deprecated since Python 3.3. It's maybe time to drop it? ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue31415> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com