1. 27 Kas, 2018 1 kayıt (commit)
  2. 31 Eki, 2018 1 kayıt (commit)
    • Victor Stinner's avatar
      bpo-35081: Add pycore_ prefix to internal header files (GH-10263) · 27e2d1f2
      Victor Stinner yazdı
      * Rename Include/internal/ header files:
      
        * pyatomic.h -> pycore_atomic.h
        * ceval.h -> pycore_ceval.h
        * condvar.h -> pycore_condvar.h
        * context.h -> pycore_context.h
        * pygetopt.h -> pycore_getopt.h
        * gil.h -> pycore_gil.h
        * hamt.h -> pycore_hamt.h
        * hash.h -> pycore_hash.h
        * mem.h -> pycore_mem.h
        * pystate.h -> pycore_state.h
        * warnings.h -> pycore_warnings.h
      
      * PCbuild project, Makefile.pre.in, Modules/Setup: add the
        Include/internal/ directory to the search paths of header files.
      * Update includes. For example, replace #include "internal/mem.h"
        with #include "pycore_mem.h".
      27e2d1f2
  3. 30 Eki, 2018 1 kayıt (commit)
  4. 23 Agu, 2018 1 kayıt (commit)
  5. 01 Haz, 2018 1 kayıt (commit)
  6. 08 May, 2018 1 kayıt (commit)
  7. 04 May, 2018 1 kayıt (commit)
  8. 23 Nis, 2018 1 kayıt (commit)
    • Antoine Pitrou's avatar
      bpo-33329: Fix multiprocessing regression on newer glibcs (GH-6575) · 25038ecf
      Antoine Pitrou yazdı
      Starting with glibc 2.27.9000-xxx, sigaddset() can return EINVAL for some
      reserved signal numbers between 1 and NSIG.  The `range(1, NSIG)` idiom
      is commonly used to select all signals for blocking with `pthread_sigmask`.
      So we ignore the sigaddset() return value until we expose sigfillset()
      to provide a better idiom.
      25038ecf
  9. 12 Mar, 2018 1 kayıt (commit)
  10. 18 Ara, 2017 1 kayıt (commit)
  11. 03 Kas, 2017 1 kayıt (commit)
  12. 13 Eki, 2017 1 kayıt (commit)
  13. 07 Eyl, 2017 1 kayıt (commit)
  14. 17 Tem, 2017 1 kayıt (commit)
  15. 30 Haz, 2017 1 kayıt (commit)
  16. 28 Haz, 2017 1 kayıt (commit)
    • Antoine Pitrou's avatar
      bpo-30703: Improve signal delivery (#2415) · c08177a1
      Antoine Pitrou yazdı
      * Improve signal delivery
      
      Avoid using Py_AddPendingCall from signal handler, to avoid calling signal-unsafe functions.
      
      * Remove unused function
      
      * Improve comments
      
      * Add stress test
      
      * Adapt for --without-threads
      
      * Add second stress test
      
      * Add NEWS blurb
      
      * Address comments @haypo
      c08177a1
  17. 27 May, 2017 1 kayıt (commit)
  18. 16 May, 2017 1 kayıt (commit)
    • Nathaniel J. Smith's avatar
      bpo-30038: fix race condition in signal delivery + wakeup fd (#1082) · 4ae01496
      Nathaniel J. Smith yazdı
      Before, it was possible to get the following sequence of
      events (especially on Windows, where the C-level signal handler for
      SIGINT is run in a separate thread):
      
      - SIGINT arrives
      - trip_signal is called
      - trip_signal writes to the wakeup fd
      - the main thread wakes up from select()-or-equivalent
      - the main thread checks for pending signals, but doesn't see any
      - the main thread drains the wakeup fd
      - the main thread goes back to sleep
      - trip_signal sets is_tripped=1 and calls Py_AddPendingCall to notify
        the main thread the it should run the Python-level signal handler
      - the main thread doesn't notice because it's asleep
      
      This has been causing repeated failures in the Trio test suite:
        https://github.com/python-trio/trio/issues/119
      4ae01496
  19. 16 Nis, 2017 1 kayıt (commit)
  20. 23 Mar, 2017 1 kayıt (commit)
    • Serhiy Storchaka's avatar
      bpo-6532: Make the thread id an unsigned integer. (#781) · aefa7ebf
      Serhiy Storchaka yazdı
      * bpo-6532: Make the thread id an unsigned integer.
      
      From C API side the type of results of PyThread_start_new_thread() and
      PyThread_get_thread_ident(), the id parameter of
      PyThreadState_SetAsyncExc(), and the thread_id field of PyThreadState
      changed from "long" to "unsigned long".
      
      * Restore a check in thread_get_ident().
      aefa7ebf
  21. 01 Eki, 2016 1 kayıt (commit)
  22. 17 Eyl, 2016 1 kayıt (commit)
  23. 08 Eyl, 2016 2 kayıt (commit)
  24. 06 Eyl, 2016 1 kayıt (commit)
  25. 07 Tem, 2016 1 kayıt (commit)
  26. 10 Nis, 2016 1 kayıt (commit)
  27. 06 Nis, 2016 1 kayıt (commit)
  28. 24 Ara, 2015 1 kayıt (commit)
  29. 16 May, 2015 2 kayıt (commit)
  30. 01 Nis, 2015 1 kayıt (commit)
  31. 30 Mar, 2015 3 kayıt (commit)
  32. 27 Mar, 2015 1 kayıt (commit)
  33. 20 Mar, 2015 1 kayıt (commit)
    • Victor Stinner's avatar
      Issue #23715: signal.sigwaitinfo() and signal.sigtimedwait() are now retried · a453cd8d
      Victor Stinner yazdı
      when interrupted by a signal not in the *sigset* parameter, if the signal
      handler does not raise an exception. signal.sigtimedwait() recomputes the
      timeout with a monotonic clock when it is retried.
      
      Remove test_signal.test_sigwaitinfo_interrupted() because sigwaitinfo() doesn't
      raise InterruptedError anymore if it is interrupted by a signal not in its
      sigset parameter.
      a453cd8d
  34. 08 Mar, 2015 1 kayıt (commit)
  35. 21 Şub, 2015 1 kayıt (commit)
  36. 12 Şub, 2015 1 kayıt (commit)