| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Issue#26616:Fixed a bug in datetime.astimezone() method. | Alexander Belopolsky | 2016-03-25 | 1 | -0/+8 |
| | | |||||
| * | Issue #19265: Improve test coverage of datetime.tzinfo | Berker Peksag | 2016-03-19 | 1 | -0/+3 |
| | | | | | | | | Without the patch, line 1010 of Lib/datetime.py wasn't covered by the test suite. Patch by Colin Williams. | ||||
| * | Issue #26198: Make datetime error tests more lenient. | Serhiy Storchaka | 2016-02-08 | 1 | -3/+3 |
| | | |||||
| * | Issue #9051: Added tests for pickling and copying the timezone objects. | Serhiy Storchaka | 2015-11-16 | 1 | -1/+28 |
| |\ | |||||
| | * | Issue #9051: Added tests for pickling and copying the timezone objects. | Serhiy Storchaka | 2015-11-16 | 1 | -1/+28 |
| | | | |||||
| | * | Closes issue #23600: Wrong results from tzinfo.fromutc(). | Alexander Belopolsky | 2015-09-28 | 1 | -0/+23 |
| | | | |||||
| * | | Closes issue #23600: Wrong results from tzinfo.fromutc(). | Alexander Belopolsky | 2015-09-28 | 1 | -0/+23 |
| | | | |||||
| * | | Merge 3.4 (datetime rounding) | Victor Stinner | 2015-09-18 | 1 | -6/+17 |
| |\ \ | |/ | |||||
| | * | Issue #23517: Fix rounding in fromtimestamp() and utcfromtimestamp() methods | Victor Stinner | 2015-09-18 | 1 | -4/+20 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | of datetime.datetime: microseconds are now rounded to nearest with ties going to nearest even integer (ROUND_HALF_EVEN), instead of being rounding towards zero (ROUND_DOWN). It's important that these methods use the same rounding mode than datetime.timedelta to keep the property: (datetime(1970,1,1) + timedelta(seconds=t)) == datetime.utcfromtimestamp(t) It also the rounding mode used by round(float) for example. Add more unit tests on the rounding mode in test_datetime. | ||||
| * | | Issue #21741: Update 147 test modules to use test discovery. | Zachary Ware | 2015-04-13 | 1 | -4/+1 |
| | | | | | | | | | | | | | | | I have compared output between pre- and post-patch runs of these tests to make sure there's nothing missing and nothing broken, on both Windows and Linux. The only differences I found were actually tests that were previously *not* run. | ||||
| * | | Fixes #23521: Corrected pure python implementation of timedelta division. | Alexander Belopolsky | 2015-02-28 | 1 | -0/+34 |
| |\ \ | |/ | | | | | | | * Eliminated OverflowError from timedelta * float for some floats; * Corrected rounding in timedlta true division. | ||||
| | * | Fixes #23521: Corrected pure python implementation of timedelta division. | Alexander Belopolsky | 2015-02-28 | 1 | -0/+34 |
| | | | | | | | | | | | * Eliminated OverflowError from timedelta * float for some floats; * Corrected rounding in timedlta true division. | ||||
| * | | Issue #23326: Removed __ne__ implementations. Since fixing default __ne__ | Serhiy Storchaka | 2015-01-31 | 1 | -2/+0 |
| | | | | | | | | | implementation in issue #21408 they are redundant. | ||||
| * | | Issue #22777: Test pickling with all protocols. | Serhiy Storchaka | 2014-12-15 | 1 | -5/+6 |
| |\ \ | |/ | |||||
| | * | Issue #22777: Test pickling with all protocols. | Serhiy Storchaka | 2014-12-15 | 1 | -5/+6 |
| | | | |||||
| * | | Make test_datetime a better citizen (issue #22540) | Antoine Pitrou | 2014-10-03 | 1 | -1/+1 |
| | | | |||||
| * | | Closes issue #20858: Enhancements/fixes to pure-python datetime module | Alexander Belopolsky | 2014-09-28 | 1 | -5/+89 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch brings the pure-python datetime more in-line with the C module. Patch contributed by Brian Kearns, a PyPy developer. PyPy project has been running these modifications in PyPy2 stdlib. This commit includes: - General PEP8/cleanups; - Better testing of argument types passed to constructors; - Removal of duplicate operations; - Optimization of timedelta creation; - Caching the result of __hash__ like the C accelerator; - Enhancements/bug fixes in tests. | ||||
| * | | merge | Raymond Hettinger | 2014-07-25 | 1 | -0/+11 |
| |\ \ | |/ | |||||
| | * | Issue #22044: Fixed premature DECREF in call_tzinfo_method. | Raymond Hettinger | 2014-07-25 | 1 | -0/+11 |
| | | | |||||
| * | | remove the ability of datetime.time to be considered false (closes #13936) | Benjamin Peterson | 2014-03-20 | 1 | -16/+5 |
| |/ | |||||
| * | Issue 19572: More silently skipped tests explicitly skipped. | Zachary Ware | 2013-12-08 | 1 | -0/+1 |
| |\ | |||||
| | * | Issue 19572: More silently skipped tests explicitly skipped. | Zachary Ware | 2013-12-08 | 1 | -0/+1 |
| | | | |||||
| * | | Issue #19605: Use specific asserts in datetime tests | Serhiy Storchaka | 2013-11-17 | 1 | -79/+80 |
| |\ \ | |/ | |||||
| | * | Issue #19605: Use specific asserts in datetime tests | Serhiy Storchaka | 2013-11-17 | 1 | -79/+80 |
| | | | |||||
| * | | #18466: merge with 3.3. | Ezio Melotti | 2013-08-17 | 1 | -1/+1 |
| |\ \ | |/ | |||||
| | * | #18466: fix more typos. Patch by Févry Thibault. | Ezio Melotti | 2013-08-17 | 1 | -1/+1 |
| | | | |||||
| * | | Fixes #8860: Round half-microseconds to even in the timedelta constructor. | Alexander Belopolsky | 2013-08-04 | 1 | -0/+4 |
| |/ | | | | (Original patch by Mark Dickinson.) | ||||
| * | Closes #15973: fix a segmentation fault when comparing timezone objects. | Georg Brandl | 2012-09-22 | 1 | -0/+2 |
| | | |||||
| * | Issue #9527: tm_gmtoff has 'correct' sign. | Alexander Belopolsky | 2012-06-22 | 1 | -2/+4 |
| | | |||||
| * | Issue #9527: datetime.astimezone() method will now supply a class | Alexander Belopolsky | 2012-06-22 | 1 | -2/+2 |
| | | | | | | timezone instance corresponding to the system local timezone when called with no arguments. | ||||
| * | Issue #9527: datetime.astimezone() method will now supply a class | Alexander Belopolsky | 2012-06-22 | 1 | -3/+18 |
| | | | | | | timezone instance corresponding to the system local timezone when called with no arguments. | ||||
| * | Issue #15006: Allow equality comparison between naive and aware time | Alexander Belopolsky | 2012-06-16 | 1 | -6/+6 |
| | | | | | or datetime objects. | ||||
| * | Relax datetime.timestamp() test around DST change | Alexander Belopolsky | 2012-06-08 | 1 | -1/+1 |
| | | |||||
| * | Relax datetime.timestamp() test around DST change | Alexander Belopolsky | 2012-06-08 | 1 | -3/+3 |
| | | |||||
| * | Issue #2736: Added datetime.timestamp() method. | Alexander Belopolsky | 2012-06-08 | 1 | -0/+36 |
| | | |||||
| * | Issue #14180: TestDateTime.test_microsecond_rounding() handles localtime() and | Victor Stinner | 2012-03-13 | 1 | -10/+15 |
| | | | | | gmtime() failure on Windows | ||||
| * | Close #14180: Factorize code to convert a number of seconds to time_t, ↵ | Victor Stinner | 2012-03-13 | 1 | -7/+27 |
| | | | | | | | | | | | | | | timeval or timespec time.ctime(), gmtime(), time.localtime(), datetime.date.fromtimestamp(), datetime.datetime.fromtimestamp() and datetime.datetime.utcfromtimestamp() now raises an OverflowError, instead of a ValueError, if the timestamp does not fit in time_t. datetime.datetime.fromtimestamp() and datetime.datetime.utcfromtimestamp() now round microseconds towards zero instead of rounding to nearest with ties going away from zero. | ||||
| * | Merge 3.2: Issue #13703 plus some related test suite fixes. | Georg Brandl | 2012-02-20 | 1 | -2/+0 |
| |\ | |||||
| | * | Fix obscure failures of datetime-related tests due to the datetime tests ↵ | Georg Brandl | 2012-02-20 | 1 | -2/+0 |
| | | | | | | | | | failing to restore the system state completely after testing the pure-Python versions. | ||||
| * | | Strengthen the tests for format '%Y', in relation with issue #13305. | Florent Xicluna | 2011-11-01 | 1 | -2/+10 |
| | | | |||||
| * | | Relax %Y test. | Alexander Belopolsky | 2011-05-02 | 1 | -2/+2 |
| | | | |||||
| * | | Issue #11930: Remove year >= 1000 limitation from datetime.strftime. | Alexander Belopolsky | 2011-05-02 | 1 | -6/+4 |
| |/ | | | | Patch by Victor Stinner. | ||||
| * | Issue #11576: Fixed timedelta subtraction glitch on big timedelta values | Alexander Belopolsky | 2011-04-06 | 1 | -0/+6 |
| | | |||||
| * | #11565: Merge with 3.1. | Ezio Melotti | 2011-03-16 | 1 | -1/+1 |
| | | |||||
| * | Issue #1777412: extended year range of strftime down to 1000. | Alexander Belopolsky | 2011-01-08 | 1 | -3/+3 |
| | | |||||
| * | Issue 10825: Minor updates to the test suite. | Raymond Hettinger | 2011-01-06 | 1 | -1/+1 |
| | | |||||
| * | Issue #6697: Fixed instances of _PyUnicode_AsString() result not checked for ↵ | Alexander Belopolsky | 2010-12-08 | 1 | -1/+7 |
| | | | | | NULL | ||||
| * | Issue #10624: Use support.requires_IEEE_754 in all appropriate tests. | Eric Smith | 2010-12-04 | 1 | -7/+2 |
| | | |||||
| * | Issue 9183: Intern UTC timezone. | Alexander Belopolsky | 2010-10-14 | 1 | -1/+3 |
| | | |||||
| * | Fixed microsecond rounding in python version of utcfromtimestamp | Alexander Belopolsky | 2010-09-21 | 1 | -4/+4 |
| | | |||||
