Alexander Belopolsky <belopol...@users.sourceforge.net> added the comment:
On Mon, Nov 1, 2010 at 1:43 PM, Antoine Pitrou <rep...@bugs.python.org> wrote: .. > Well, the problem is that the "appropriate test" is not easy to guess a > priori, so it would > be useful for the stdlib to provide the right tool for the job. This sounds like an argument against this feature, not for it. If it is hard for the application code to implement an appropriate test "a priori", what is the chance to get it right in stdlib? > As for where it should live, I have no strong opinion, but it's true that the > time module looks appropriate. Having time.time and time.clock is already confusing enough. Having the third function which is either the first or the second depending on some unspecified criterion does not strike me as a clean design. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue10278> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com