1. 07 Apr, 2008 5 commits
  2. 06 Apr, 2008 5 commits
  3. 05 Apr, 2008 12 commits
  4. 04 Apr, 2008 13 commits
  5. 03 Apr, 2008 5 commits
    • Amaury Forgeot d'Arc's avatar
      #1733757: the interpreter would hang on shutdown, if the function set by sys.settrace · d7a26512
      Amaury Forgeot d'Arc authored
      calls threading.currentThread.
      
      The correction somewhat improves the code, but it was close.
      Many thanks to the "with" construct, which turns python code into C calls.
      
      I wonder if it is not better to sys.settrace(None) just after
      running the __main__ module and before finalization.
      d7a26512
    • Trent Nelson's avatar
      Make kill_python a little more forgiving if it can't obtain a snapshot of... · 2aae1d92
      Trent Nelson authored
      Make kill_python a little more forgiving if it can't obtain a snapshot of module information for a given python[_d].exe process.  Failing here was too pessimistic; the python[_d].exe process may be owned by another user, which is the case in some buildbot environments.
      2aae1d92
    • Trent Nelson's avatar
    • Trent Nelson's avatar
      Reimplement kill_python. The existing version had a number of flaws, namely,... · d6dffbcc
      Trent Nelson authored
      Reimplement kill_python.  The existing version had a number of flaws, namely, it didn't work for x64 and it wasn't precise about which python_d.exe it was killing -- it just killed the first one it came across that happened to have 'pcbuild\python_d.exe' or 'build\python_d.exe' in it's path.  The new version has been rewritten from the ground up and now lives in PCbuild, instead of Tools\buildbot, and it has also been incorporated into the Visual Studio solution (pcbuild.sln) as 'kill_python'.  The solution has also been altered such that kill_python is called where necessary in the build process in order to prevent any linking errors due to open file locks.  In lieu of this, all of the existing bits and pieces in Tools\buildbot that called out to kill_python at various points have also been removed as they are now obsolete.  Tested on both Win32 and x64.
      
      Change set (included to improve usefulness of svnmerge log entry):
      M      PCbuild\pythoncore.vcproj
      M      PCbuild\pcbuild.sln
      M      PCbuild\release.vsprops
      A      PCbuild\kill_python.vcproj
      M      PCbuild\debug.vsprops
      A      PCbuild\kill_python.c
      D      Tools\buildbot\kill_python.bat
      D      Tools\buildbot\kill_python.mak
      M      Tools\buildbot\build.bat
      D      Tools\buildbot\Makefile
      M      Tools\buildbot\build-amd64.bat
      M      Tools\buildbot\buildmsi.bat
      D      Tools\buildbot\kill_python.c
      d6dffbcc
    • Trent Nelson's avatar