[issue13882] Add format argument for time.time(), time.clock(), ... to get a timestamp as a Decimal object
Alexander Belopolsky
report at bugs.python.org
Fri Jan 27 23:07:20 CET 2012
Alexander Belopolsky <alexander.belopolsky at gmail.com> added the comment:
Can we pick an API for this functionality that does not follow the worst of design anti-patterns? Constant arguments, varying return type, hidden import, and the list can go on.
What is wrong with simply creating a new module, say "hirestime" with functions called decimal_time(), float_time(), datetime_time() and whatever else you would like. Let's keep the good old 'time' module simple.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13882>
_______________________________________
More information about the Python-bugs-list
mailing list