This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author belopolsky
Recipients Arfrever, belopolsky, loewis, vstinner
Date 2012-01-27.22:07:19
SpamBayes Score 1.5089247e-05
Marked as misclassified No
Message-id <1327702040.39.0.245264029025.issue13882@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2012-01-27 22:07:20belopolskysetrecipients: + belopolsky, loewis, vstinner, Arfrever
2012-01-27 22:07:20belopolskysetmessageid: <1327702040.39.0.245264029025.issue13882@psf.upfronthosting.co.za>
2012-01-27 22:07:19belopolskylinkissue13882 messages
2012-01-27 22:07:19belopolskycreate