1. 28 Şub, 2008 1 kayıt (commit)
  2. 23 Şub, 2008 1 kayıt (commit)
  3. 19 Ara, 2007 1 kayıt (commit)
    • Guido van Rossum's avatar
      Patch #1583 by Adam Olsen. · 02de8979
      Guido van Rossum yazdı
      This adds signal.set_wakeup_fd(fd) which sets a file descriptor to
      which a zero byte will be written whenever a C exception handler runs.
      
      I added a simple C API as well, PySignal_SetWakeupFd(fd).
      02de8979
  4. 24 Agu, 2007 1 kayıt (commit)
  5. 12 Agu, 2006 2 kayıt (commit)
    • Tim Peters's avatar
      Ah, fudge. One of the prints here actually "shouldn't be" · 953c1897
      Tim Peters yazdı
      protected by "if verbose:", which caused the test to fail on
      all non-Windows boxes.
      
      Note that I deliberately didn't convert this to unittest yet,
      because I expect it would be even harder to debug this on Tru64
      after conversion.
      953c1897
    • Tim Peters's avatar
      test_signal: Signal handling on the Tru64 buildbot · 1742f333
      Tim Peters yazdı
      appears to be utterly insane.  Plug some theoretical
      insecurities in the test script:
      
      - Verify that the SIGALRM handler was actually installed.
      
      - Don't call alarm() before the handler is installed.
      
      - Move everything that can fail inside the try/finally,
        so the test cleans up after itself more often.
      
      - Try sending all the expected signals in
        force_test_exit(), not just SIGALRM.  Since that was
        fixed to actually send SIGALRM (instead of invisibly
        dying with an AttributeError), we've seen that sending
        SIGALRM alone does not stop this from hanging.
      
      - Move the "kill the child" business into the finally
        clause, so the child doesn't survive test failure
        to send SIGALRM to other tests later (there are also
        baffling SIGALRM-related failures in test_socket).
      
      - Cancel the alarm in the finally clause -- if the
        test dies early, we again don't want SIGALRM showing
        up to confuse a later test.
      
      Alas, this still relies on timing luck wrt the spawned
      script that sends the test signals, but it's hard to see
      how waiting for seconds can so often be so unlucky.
      
      test_threadedsignals:  curiously, this test never fails
      on Tru64, but doesn't normally signal SIGALRM.  Anyway,
      fixed an obvious (but probably inconsequential) logic
      error.
      1742f333
  6. 11 Agu, 2006 1 kayıt (commit)
    • Tim Peters's avatar
      force_test_exit(): This has been completely ineffective · 8b8c59cf
      Tim Peters yazdı
      at stopping test_signal from hanging forever on the Tru64
      buildbot.  That could be because there's no such thing as
      signal.SIGALARM.  Changed to the idiotic (but standard)
      signal.SIGALRM instead, and added some more debug output.
      8b8c59cf
  7. 02 Agu, 2006 1 kayıt (commit)
  8. 30 Tem, 2006 2 kayıt (commit)
  9. 23 Ock, 2006 1 kayıt (commit)
  10. 07 Agu, 2004 1 kayıt (commit)
  11. 11 Haz, 2004 1 kayıt (commit)
  12. 24 Nis, 2003 1 kayıt (commit)
  13. 13 Mar, 2003 1 kayıt (commit)
  14. 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
  15. 16 Tem, 2002 1 kayıt (commit)
  16. 27 May, 2002 1 kayıt (commit)
    • Michael W. Hudson's avatar
      This is patch · 34f20eac
      Michael W. Hudson yazdı
      [ 559250 ] more POSIX signal stuff
      
      Adds support (and docs and tests and autoconfery) for posix signal
      mask handling -- sigpending, sigprocmask and sigsuspend.
      34f20eac
  17. 24 Eki, 2001 1 kayıt (commit)
  18. 17 Ock, 2001 2 kayıt (commit)
  19. 23 Eki, 2000 1 kayıt (commit)
  20. 04 Agu, 2000 1 kayıt (commit)
  21. 22 Kas, 1997 1 kayıt (commit)
  22. 16 Nis, 1997 1 kayıt (commit)
  23. 23 Ara, 1996 1 kayıt (commit)
    • Barry Warsaw's avatar
      test_rotor.py: New test of the rotor module. · 5e056bbb
      Barry Warsaw yazdı
      test_*: converted to the new test harness.  GvR note!  test_signal.py
      works interatively (i.e. when verbose=1) but does not work inside the
      test harness.  It must be a timing issue, but I haven't figured it out
      yet.
      5e056bbb
  24. 16 Mar, 1995 1 kayıt (commit)