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.

作者 belopolsky
收信人 Arfrever, belopolsky, loewis, vstinner
日期 2012-01-27.22:07:19
SpamBayes Score 1.5089247e-05
Marked as misclassified
Message-id <1327702040.39.0.245264029025.issue13882@psf.upfronthosting.co.za>
In-reply-to
内容
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.
历史
日期 用户 动作 参数
2012-01-27 22:07:20belopolsky修改recipients: + belopolsky, loewis, vstinner, Arfrever
2012-01-27 22:07:20belopolsky修改messageid: <1327702040.39.0.245264029025.issue13882@psf.upfronthosting.co.za>
2012-01-27 22:07:19belopolsky链接issue13882 messages
2012-01-27 22:07:19belopolsky创建