消息 [212832]
This patch brings the pure-python datetime more in-line with the C module. We have been running these modifications in PyPy2 stdlib for more than a year with no issue.
Includes:
- General PEP8/cleanups
- Better testing of argument types passed to constructors
- Removal of duplicate operations (in some paths values were checked twice for validity)
- Optimization of timedelta creation (brings it from 8-9usec to ~6 usec on CPython 3.3 on local machine)
- Enhancements/bug fixes in tests |
|
| 日期 |
用户 |
动作 |
参数 |
| 2014-03-06 18:37:39 | bdkearns | 修改 | recipients:
+ bdkearns |
| 2014-03-06 18:37:38 | bdkearns | 修改 | messageid: <1394131058.9.0.404670194335.issue20858@psf.upfronthosting.co.za> |
| 2014-03-06 18:37:38 | bdkearns | 链接 | issue20858 messages |
| 2014-03-06 18:37:38 | bdkearns | 创建 | |
|