消息 [152129]
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:20 | belopolsky | 修改 | recipients:
+ belopolsky, loewis, vstinner, Arfrever |
| 2012-01-27 22:07:20 | belopolsky | 修改 | messageid: <1327702040.39.0.245264029025.issue13882@psf.upfronthosting.co.za> |
| 2012-01-27 22:07:19 | belopolsky | 链接 | issue13882 messages |
| 2012-01-27 22:07:19 | belopolsky | 创建 | |
|