[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:25:23 CET 2012

Alexander Belopolsky <alexander.belopolsky at gmail.com> added the comment:

On Fri, Jan 27, 2012 at 5:17 PM, Antoine Pitrou <report at bugs.python.org> wrote:
> Well, creating a separate module is an anti-pattern in itself. calendar vs. time vs. datetime, anyone?

Are you serious? Since the invention of structural programming,
creating a separate module for distinct functionality has been one of
the most powerful design techniques.  If I recall correctly, most of
the original GoF patterns were about separating functionality into a
separate module or a separate class.  The calendar module is indeed a
historical odd-ball, but what is wrong with time and datetime?

nosy: +Alexander.Belopolsky

Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list