Message212832
| Author | bdkearns |
|---|---|
| Recipients | bdkearns |
| Date | 2014-03-06.18:37:34 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1394131058.9.0.404670194335.issue20858@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
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 |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2014-03-06 18:37:39 | bdkearns | set | recipients: + bdkearns |
| 2014-03-06 18:37:38 | bdkearns | set | messageid: <1394131058.9.0.404670194335.issue20858@psf.upfronthosting.co.za> |
| 2014-03-06 18:37:38 | bdkearns | link | issue20858 messages |
| 2014-03-06 18:37:38 | bdkearns | create | |