An error occurred fetching the project authors.
  1. 23 Jul, 2014 1 commit
    • Victor Stinner's avatar
      asyncio: sync with Tulip · c4c46491
      Victor Stinner authored
      * Tulip issue 194: Don't use sys.getrefcount() in unit tests
      * signal.set_wakeup_fd() can now raise an OSError on Python 3.5
      c4c46491
  2. 17 Jul, 2014 1 commit
    • Victor Stinner's avatar
      Python issue #21645, Tulip issue 192: Rewrite signal handling · fe5649c7
      Victor Stinner authored
      Since Python 3.3, the C signal handler writes the signal number into the wakeup
      file descriptor and then schedules the Python call using Py_AddPendingCall().
      
      asyncio uses the wakeup file descriptor to wake up the event loop, and relies
      on Py_AddPendingCall() to schedule the final callback with call_soon().
      
      If the C signal handler is called in a thread different than the thread of the
      event loop, the loop is awaken but Py_AddPendingCall() was not called yet. In
      this case, the event loop has nothing to do and go to sleep again.
      Py_AddPendingCall() is called while the event loop is sleeping again and so the
      final callback is not scheduled immediatly.
      
      This patch changes how asyncio handles signals. Instead of relying on
      Py_AddPendingCall() and the wakeup file descriptor, asyncio now only relies on
      the wakeup file descriptor. asyncio reads signal numbers from the wakeup file
      descriptor to call its signal handler.
      fe5649c7
  3. 22 Jun, 2014 1 commit
  4. 17 Jun, 2014 1 commit
  5. 03 Jun, 2014 1 commit
  6. 16 Apr, 2014 1 commit
  7. 26 Feb, 2014 2 commits
  8. 19 Feb, 2014 4 commits
  9. 18 Feb, 2014 2 commits
  10. 19 Feb, 2014 4 commits
  11. 18 Feb, 2014 2 commits
  12. 25 Jan, 2014 1 commit
    • Victor Stinner's avatar
      Update asyncio from the Tulip project · 8dffc456
      Victor Stinner authored
      Major changes:
      
      - StreamReader.readexactly() now raises an IncompleteReadError if the
        end of stream is reached before we received enough bytes, instead of
        returning less bytes than requested.
      
      - Unit tests use the main asyncio module instead of submodules like events
      
      - _UnixWritePipeTransport now also supports character devices, as
        _UnixReadPipeTransport. Patch written by Jonathan Slenders.
      
      - Export more symbols: BaseEventLoop, BaseProactorEventLoop,
        BaseSelectorEventLoop, Queue and Queue sublasses, Empty, Full
      8dffc456
  13. 25 Nov, 2013 1 commit
  14. 15 Nov, 2013 1 commit
  15. 14 Nov, 2013 1 commit
  16. 13 Nov, 2013 1 commit
  17. 07 Nov, 2013 1 commit
  18. 04 Nov, 2013 1 commit
  19. 22 Oct, 2013 1 commit
  20. 21 Oct, 2013 1 commit
  21. 20 Oct, 2013 1 commit
  22. 18 Oct, 2013 1 commit
  23. 17 Oct, 2013 3 commits