Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #14180: Fix an invalid rounding when compiler optimization are enabled | Victor Stinner | 2012-03-13 | 1 | -1/+3 |
| | | | | Use volatile keyword to disable localy unsafe float optimizations. | ||||
* | Issue #14180: Remove commented code | Victor Stinner | 2012-03-13 | 1 | -2/+0 |
| | |||||
* | Close #14180: Factorize code to convert a number of seconds to time_t, ↵ | Victor Stinner | 2012-03-13 | 1 | -22/+77 |
| | | | | | | | | | | | | | 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. | ||||
* | Issue #13964: signal.sigtimedwait() timeout is now a float instead of a tuple | Victor Stinner | 2012-03-02 | 1 | -0/+45 |
| | | | | Add a private API to convert an int or float to a C timespec structure. | ||||
* | Backout f8409b3d6449: the PEP 410 is not accepted yet | Victor Stinner | 2012-02-08 | 1 | -325/+18 |
| | |||||
* | PEP 410 | Victor Stinner | 2012-02-08 | 1 | -18/+325 |
| | |||||
* | Issue #13845: time.time() now uses GetSystemTimeAsFileTime() instead of ftime() | Victor Stinner | 2012-02-07 | 1 | -8/+25 |
| | | | | | to have a resolution of 100 ns instead of 1 ms (the clock accuracy is between 0.5 ms and 15 ms). | ||||
* | Issue #9079: Added _PyTime_gettimeofday(_PyTime_timeval *tp) to C API | Alexander Belopolsky | 2010-08-05 | 1 | -0/+60 |
exposed in Python.h. This function is similar to POSIX gettimeofday(struct timeval *tp), but available on platforms without gettimeofday(). |