1. 12 Mar, 2007 2 kayıt (commit)
  2. 18 Haz, 2006 1 kayıt (commit)
  3. 25 Eyl, 2002 1 kayıt (commit)
    • Tim Peters's avatar
      SF bug 613233: test_threadedtempfile hangs · d8a9d2a0
      Tim Peters yazdı
      A possibility to deadlock (on the hidden import lock) was created here
      in 2.3, seemingly when tempfile.py started to call functions in
      random.py.  The cure is "the usual":  don't spawn threads as a side
      effect of importing, when the spawned threads themselves do imports
      (directly or indirectly), and the code that spawned the threads is
      waiting for the threads to finish (they can't finish, because they're
      waiting for the import lock the spawner still holds).  Worming around
      this is why the "test_main" mechanism was introduced in regrest, so
      it's a straightforward fix.
      
      NOT a bugfix candidate; the problem was introduced in 2.3.
      d8a9d2a0
  4. 23 Tem, 2002 1 kayıt (commit)
    • Barry Warsaw's avatar
      Get rid of relative imports in all unittests. Now anything that · 04f357cf
      Barry Warsaw yazdı
      imports e.g. test_support must do so using an absolute package name
      such as "import test.test_support" or "from test import test_support".
      
      This also updates the README in Lib/test, and gets rid of the
      duplicate data dirctory in Lib/test/data (replaced by
      Lib/email/test/data).
      
      Now Tim and Jack can have at it. :)
      04f357cf
  5. 14 Nis, 2001 1 kayıt (commit)
  6. 13 Ock, 2001 2 kayıt (commit)
    • Tim Peters's avatar
      Fix stupidity. · 73cbc5e6
      Tim Peters yazdı
      73cbc5e6
    • Tim Peters's avatar
      Guido found a brand new race in tempfile on Linux, due to Linux changing · 9fadfb0d
      Tim Peters yazdı
      pid across threads (but in that case, it's still the same process, and so
      still sharing the "template" cache in tempfile.py).  Repaired that, and
      added a new std test.
      On Linux, someone please run that standalone with more files and/or more
      threads; e.g.,
      
          python lib/test/test_threadedtempfile.py -f 1000 -t 10
      
      to run with 10 threads each creating (and deleting) 1000 temp files.
      9fadfb0d