1. 03 Nov, 2017 5 commits
  2. 02 Nov, 2017 9 commits
  3. 01 Nov, 2017 7 commits
  4. 31 Oct, 2017 11 commits
  5. 30 Oct, 2017 2 commits
  6. 28 Oct, 2017 4 commits
  7. 27 Oct, 2017 2 commits
    • Victor Stinner's avatar
      faulthandler: use _PyTime_t rather than double for timeout (#4139) · 93fd4782
      Victor Stinner authored
      Use the _PyTime_t type rather than double for the faulthandler
      timeout in dump_traceback_later().
      
      This change should fix the following Coverity warning:
      
      CID 1420311:  Incorrect expression  (UNINTENDED_INTEGER_DIVISION)
      Dividing integer expressions "9223372036854775807LL" and "1000LL",
      and then converting the integer quotient to type "double". Any
      remainder, or fractional part of the quotient, is ignored.
      
          if ((timeout * 1e6) >= (double) PY_TIMEOUT_MAX) {
      
      The warning comes from (double)PY_TIMEOUT_MAX with:
      
          #define PY_TIMEOUT_MAX (PY_LLONG_MAX / 1000)
      93fd4782
    • Serhiy Storchaka's avatar