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 bdkearns
Recipients bdkearns
Date 2014-03-06.18:37:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
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.

- 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
Date User Action Args
2014-03-06 18:37:39bdkearnssetrecipients: + bdkearns
2014-03-06 18:37:38bdkearnssetmessageid: <>
2014-03-06 18:37:38bdkearnslinkissue20858 messages
2014-03-06 18:37:38bdkearnscreate