1. 27 Jul, 2006 3 commits
    • Neal Norwitz's avatar
      Closure can't be NULL at this point since we know it's a tuple. · 101bac20
      Neal Norwitz authored
      Reported by Klocwork # 74.
      101bac20
    • Neal Norwitz's avatar
      Don't kill a normal instance of python running on windows when checking · e4abc232
      Neal Norwitz authored
      to kill a cygwin instance.  build\\python.exe was matching a normal windows
      instance.  Prefix that with a \\ to ensure build is a directory and not
      PCbuild.  As discussed on python-dev.
      e4abc232
    • Tim Peters's avatar
      Bug #1521947: possible bug in mystrtol.c with recent gcc. · bc24eee3
      Tim Peters authored
      In general, C doesn't define anything about what happens when
      an operation on a signed integral type overflows, and PyOS_strtol()
      did several formally undefined things of that nature on signed
      longs.  Some version of gcc apparently tries to exploit that now,
      and PyOS_strtol() could fail to detect overflow then.
      
      Tried to repair all that, although it seems at least as likely to me
      that we'll get screwed by bad platform definitions for LONG_MIN
      and/or LONG_MAX now.  For that reason, I don't recommend backporting
      this.
      
      Note that I have no box on which this makes a lick of difference --
      can't really test it, except to note that it didn't break anything
      on my boxes.
      
      Silent change:  PyOS_strtol() used to return the hard-coded 0x7fffffff
      in case of overflow.  Now it returns LONG_MAX.  They're the same only on
      32-bit boxes (although C doesn't guarantee that either ...).
      bc24eee3
  2. 26 Jul, 2006 14 commits
  3. 25 Jul, 2006 15 commits
  4. 24 Jul, 2006 8 commits