- 02 Eyl, 2015 29 kayıt (commit)
-
-
Victor Stinner yazdı
eintr_tester.py calls signal.setitimer() to send signals to the current process every 100 ms. The test sometimes hangs on FreeBSD. Maybe there is a race condition in the child process after fork(). It's unsafe to run arbitrary code after fork(). This change replace os.fork() with a regular call to subprocess.Popen(). This change avoids the risk of having a child process which continue to execute eintr_tester.py instead of exiting. It also ensures that the child process doesn't inherit unexpected file descriptors by mistake. Since I'm unable to reproduce the issue on FreeBSD, I will have to watch FreeBSD buildbots to check if the issue is fixed or not. Remove previous attempt to debug: remove call to faulthandler.dump_traceback_later().
-
Victor Stinner yazdı
-
Victor Stinner yazdı
I was not supposed to commit the function with the name pymonotonic_new(). I forgot to rename it.
-
Victor Stinner yazdı
Don't check anymore at runtime that the monotonic clock doesn't go backward. Yes, it happens. It occurs sometimes each month on a Debian buildbot slave running in a VM. The problem is that Python cannot do anything useful if a monotonic clock goes backward. It was decided in the PEP 418 to not fix the system, but only expose the clock provided by the OS.
-
Victor Stinner yazdı
-
Victor Stinner yazdı
-
Victor Stinner yazdı
BaseTest now ensures that unittest.TestCase.assertWarns() uses the same warnings module than warnings.catch_warnings(). Otherwise, warnings.catch_warnings() will be unable to remove the added filter.
-
Victor Stinner yazdı
-
Victor Stinner yazdı
-
Victor Stinner yazdı
when the test is interrupted (or fail).
-
Victor Stinner yazdı
Mention also the detected GDB version on verbose mode and on error (if the major version is smaller than 7).
-
Zachary Ware yazdı
Also fixes error in 'kill' target (already fixed in 2.7, somehow the fix didn't make it to this branch).
-
Yury Selivanov yazdı
-
Victor Stinner yazdı
with ties going away from zero (ROUND_HALF_UP), as Python 2 and Python older than 3.3, instead of rounding to nearest with ties going to nearest even integer (ROUND_HALF_EVEN).
-
Zachary Ware yazdı
-
Yury Selivanov yazdı
-
Victor Stinner yazdı
-
Victor Stinner yazdı
-
Victor Stinner yazdı
-
Victor Stinner yazdı
-
Victor Stinner yazdı
-
Victor Stinner yazdı
-
Victor Stinner yazdı
Don't rely on end of line. Open files in text mode, not in binary mode.
-
Victor Stinner yazdı
rounding
-
Victor Stinner yazdı
-
Victor Stinner yazdı
-
Victor Stinner yazdı
used.
-
Victor Stinner yazdı
* initialize numerator on overflow error ensure that numerator is smaller than * denominator.
-
Victor Stinner yazdı
Issue #23517: the change broke test_datetime. datetime.timedelta() rounding mode must also be changed, and test_datetime must be updated for the new rounding mode (half up).
-
- 01 Eyl, 2015 7 kayıt (commit)
-
-
Victor Stinner yazdı
datetime.datetime.utcfromtimestamp() now rounds to nearest with ties going away from zero, instead of rounding towards minus infinity (-inf), as Python 2 and Python older than 3.3.
-
Victor Stinner yazdı
-
Victor Stinner yazdı
Change also _PyTime_FromSeconds() assertion to ensure that the _PyTime_t type is used.
-
Victor Stinner yazdı
Move code to convert double timestamp to subfunctions.
-
Yury Selivanov yazdı
-
Raymond Hettinger yazdı
-
Raymond Hettinger yazdı
-
- 31 Agu, 2015 4 kayıt (commit)
-
-
Yury Selivanov yazdı
-
Yury Selivanov yazdı
-
Martin Panter yazdı
-
Martin Panter yazdı
-