1. 17 Jun, 2011 5 commits
    • Victor Stinner's avatar
      Issue #12333: run tests on the new module in a subprocess · 72399398
      Victor Stinner authored
      It is not possible to unload a module written in C, so use a subprocess to run
      the tests on the module compiled by test_build_ext(). Using a subprocess, we
      don't have to unload the module, save/restore sys.path, and the test can be run
      more than once.
      
      This commit fixes also an access error on rmtree() on Windows: because the
      module was not really unloaded, it was not possible to remove the temporary
      directory (it is not possible to remove a directory on Windows if it still
      contains an open file).
      72399398
    • Victor Stinner's avatar
      Issue #12333: close files before removing the directory · 0f270b2c
      Victor Stinner authored
      packaging.tests.support.TempdirManager: rmtree() fails on Windows if there are
      still open files in the directory.
      0f270b2c
    • Victor Stinner's avatar
      (Merge 3.2) Issue #12310: finalize the old process after _run_after_forkers() · 3bcc0170
      Victor Stinner authored
      multiprocessing: Process._bootstrap() keeps a reference to the old process to
      delay its finalization until after _run_after_forkers() as been executed. This
      change should fix a crash on Mac OS X Tiger when a lock is released after a
      fork.
      
      Patch written by Charles-François Nataliv and Antoine Pitrou.
      3bcc0170
    • Victor Stinner's avatar
      Issue #12310: finalize the old process after _run_after_forkers() · 0f83b151
      Victor Stinner authored
      multiprocessing: Process._bootstrap() keeps a reference to the old process to
      delay its finalization until after _run_after_forkers() as been executed. This
      change should fix a crash on Mac OS X Tiger when a lock is released after a
      fork.
      
      Patch written by Charles-François Nataliv and Antoine Pitrou.
      0f83b151
    • Victor Stinner's avatar
      Issue #12333: restore the previous dir before removing the current directory · ac6602bd
      Victor Stinner authored
      packaging.tests.support.TempdirManager: removing the current directory is not
      allowed on Windows or Solaris. Store the current directory and restore it
      before removing the temporary directory (which is used as the working directory
      during the tests).
      ac6602bd
  2. 16 Jun, 2011 7 commits
  3. 15 Jun, 2011 3 commits
  4. 14 Jun, 2011 4 commits
  5. 13 Jun, 2011 5 commits
  6. 12 Jun, 2011 4 commits
  7. 11 Jun, 2011 12 commits