- 17 Agu, 2016 1 kayıt (commit)
-
-
Victor Stinner yazdı
-
- 07 Eki, 2015 1 kayıt (commit)
-
-
Martin Panter yazdı
-
- 18 Eyl, 2015 1 kayıt (commit)
-
-
Victor Stinner yazdı
_PyTime_Divide() rounding was wrong: copy code from Python default which has now much better unit tests.
-
- 10 Eyl, 2015 4 kayıt (commit)
-
-
Victor Stinner yazdı
Overflow test in test_FromSecondsObject() fails on FreeBSD 10.0 buildbot which uses clang. clang implements more aggressive optimization which gives different result than GCC on undefined behaviours. Check if a multiplication will overflow, instead of checking if a multiplicatin had overflowed, to avoid undefined behaviour. Add also debug information if the test on overflow fails.
-
Victor Stinner yazdı
Filter also values for check_float_rounding().
-
Victor Stinner yazdı
Filter values which would overflow when converted to a C time_t type.
-
Victor Stinner yazdı
* Filter values which would overflow on conversion to the C long type (for timeval.tv_sec). * Adjust also the message of OverflowError on PyTime conversions * test_time: add debug information if a timestamp conversion fails
-
- 09 Eyl, 2015 1 kayıt (commit)
-
-
Victor Stinner yazdı
Drop all hardcoded tests. Instead, reimplement each function in Python, usually using decimal.Decimal for the rounding mode. Add much more values to the dataset. Test various timestamp units from picroseconds to seconds, in integer and float. Enhance also _PyTime_AsSecondsDouble().
-
- 08 Eyl, 2015 1 kayıt (commit)
-
-
Victor Stinner yazdı
datetime.datetime now round microseconds to nearest with ties going to nearest even integer (ROUND_HALF_EVEN), as round(float), instead of rounding towards -Infinity (ROUND_FLOOR). pytime API: replace _PyTime_ROUND_HALF_UP with _PyTime_ROUND_HALF_EVEN. Fix also _PyTime_Divide() for negative numbers. _PyTime_AsTimeval_impl() now reuses _PyTime_Divide() instead of reimplementing rounding modes.
-
- 07 Eyl, 2015 1 kayıt (commit)
-
-
Steve Dower yazdı
-
- 06 Eyl, 2015 1 kayıt (commit)
-
-
Larry Hastings yazdı
-
- 05 Eyl, 2015 1 kayıt (commit)
-
-
Steve Dower yazdı
-
- 04 Eyl, 2015 2 kayıt (commit)
-
-
Victor Stinner yazdı
datetime.datetime.fromtimestamp() and datetime.datetime.utcfromtimestamp(). microseconds sign should be kept before rounding.
-
Victor Stinner yazdı
_PyTime_ObjectToTimespec()
-
- 02 Eyl, 2015 3 kayıt (commit)
-
-
Victor Stinner yazdı
rounding
-
Victor Stinner yazdı
-
Victor Stinner yazdı
used.
-
- 01 Eyl, 2015 1 kayıt (commit)
-
-
Victor Stinner yazdı
-
- 24 Haz, 2015 1 kayıt (commit)
-
-
Steve Dower yazdı
-
- 03 Nis, 2015 1 kayıt (commit)
-
-
Victor Stinner yazdı
Fix also _Py_InitializeEx_Private(): initialize time before initializing import, import_init() uses the _PyTime API (for thread locks).
-
- 01 Nis, 2015 1 kayıt (commit)
-
-
Victor Stinner yazdı
_PyTime_AsMicroseconds() rounding. Add also unit tests.
-
- 30 Mar, 2015 2 kayıt (commit)
-
-
Victor Stinner yazdı
Use _PyTime_ROUND_FLOOR and _PyTime_ROUND_CEILING instead.
-
Victor Stinner yazdı
Add also more tests for ROUNd_FLOOR.
-
- 29 Mar, 2015 1 kayıt (commit)
-
-
Victor Stinner yazdı
- _PyTime_ObjectToTime_t() - _PyTime_ObjectToTimespec() - _PyTime_ObjectToTimeval()
-
- 28 Mar, 2015 2 kayıt (commit)
-
-
Victor Stinner yazdı
module. time.clock_settime() now uses this rounding method instead of _PyTime_ROUND_DOWN to handle correctly dates before 1970.
-
Victor Stinner yazdı
* _PyTime_AsTimeval() now ensures that tv_usec is always positive * _PyTime_AsTimespec() now ensures that tv_nsec is always positive * _PyTime_AsTimeval() now returns an integer on overflow instead of raising an exception
-
- 27 Mar, 2015 3 kayıt (commit)
-
-
Victor Stinner yazdı
* Add _PyTime_AsTimespec() * Add unit tests for _PyTime_AsTimespec()
-
Victor Stinner yazdı
* Add _PyTime_FromNanoseconds() * Add _PyTime_AsSecondsDouble() * Add unit tests for _PyTime_AsSecondsDouble()
-
Victor Stinner yazdı
* Rename _PyTime_FromObject() to _PyTime_FromSecondsObject() * Add _PyTime_AsNanosecondsObject() and _testcapi.pytime_fromsecondsobject() * Add unit tests
-
- 21 Şub, 2014 2 kayıt (commit)
-
-
Victor Stinner yazdı
is used as a sentinel () to detect if -1 is really an error or a valid timestamp. On AIX, tm_wday is unchanged even on success and so cannot be used as a sentinel.
-
Victor Stinner yazdı
outsize range [1902; 2037].
-
- 16 Şub, 2014 1 kayıt (commit)
-
-
Victor Stinner yazdı
aways from zero, instead of rounding towards zero. It should make test_asyncio more reliable, especially test_timeout_rounding() test.
-
- 07 Şub, 2014 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
-
- 02 Ock, 2014 1 kayıt (commit)
-
-
Zachary Ware yazdı
time.get_clock_info('monotonic').resolution == 0.015600099999999999 This is just a workaround pending a real resolution to #20101.
-
- 16 Ara, 2013 1 kayıt (commit)
-
-
Victor Stinner yazdı
busy/slow buildbot
-
- 08 Ara, 2013 1 kayıt (commit)
-
-
Zachary Ware yazdı
-
- 24 Kas, 2013 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
time.strptime(). Initial patch by Claudiu Popa.
-
- 22 Kas, 2013 1 kayıt (commit)
-
-
Victor Stinner yazdı
-
- 03 Tem, 2013 1 kayıt (commit)
-
-
Victor Stinner yazdı
-
- 11 Nis, 2013 1 kayıt (commit)
-
-
Ezio Melotti yazdı
-