1. 26 Jul, 2014 2 commits
  2. 25 Jul, 2014 30 commits
  3. 24 Jul, 2014 8 commits
    • Victor Stinner's avatar
      (Merge 3.4) asyncio: sync with Tulip · 39533983
      Victor Stinner authored
      Improve stability of the proactor event loop, especially operations on
      overlapped objects:
      
      * Tulip issue 195: Don't call UnregisterWait() twice if a _WaitHandleFuture is
        cancelled twice to fix a crash.
      * IocpProactor.close(): cancel futures to cancel overlapped operations, instead
        of cancelling directly overlapped operations. Future objects may not call
        ov.cancel() if the future was cancelled or if the overlapped was already
        cancelled. The cancel() method of the future may also catch exceptions. Log
        also errors on cancellation.
      * tests: rename "f" to "fut"
      * Add a __repr__() method to IocpProactor
      * Add a destructor to IocpProactor which closes it
      * _OverlappedFuture.cancel() doesn't cancel the overlapped anymore if it is
        done: if it is already cancelled or completed. Log also an error if the
        cancellation failed.
      * Add the address of the overlapped object in repr(_OverlappedFuture)
      * _OverlappedFuture truncates the source traceback to hide the call to the
        parent constructor (useless in debug).
      39533983
    • Victor Stinner's avatar
      asyncio: sync with Tulip · fea6a100
      Victor Stinner authored
      Improve stability of the proactor event loop, especially operations on
      overlapped objects:
      
      * Tulip issue 195: Don't call UnregisterWait() twice if a _WaitHandleFuture is
        cancelled twice to fix a crash.
      * IocpProactor.close(): cancel futures to cancel overlapped operations, instead
        of cancelling directly overlapped operations. Future objects may not call
        ov.cancel() if the future was cancelled or if the overlapped was already
        cancelled. The cancel() method of the future may also catch exceptions. Log
        also errors on cancellation.
      * tests: rename "f" to "fut"
      * Add a __repr__() method to IocpProactor
      * Add a destructor to IocpProactor which closes it
      * _OverlappedFuture.cancel() doesn't cancel the overlapped anymore if it is
        done: if it is already cancelled or completed. Log also an error if the
        cancellation failed.
      * Add the address of the overlapped object in repr(_OverlappedFuture)
      * _OverlappedFuture truncates the source traceback to hide the call to the
        parent constructor (useless in debug).
      fea6a100
    • Victor Stinner's avatar
      c82a1794
    • Victor Stinner's avatar
    • Victor Stinner's avatar
      (Merge 3.4) Issue #19884, readline: calling rl_variable_bind · 31f1a360
      Victor Stinner authored
      ("enable-meta-key", "off") does crash on Mac OS X which uses libedit instead of
      readline.
      31f1a360
    • Victor Stinner's avatar
      Issue #19884, readline: calling rl_variable_bind ("enable-meta-key", "off") · 92639cce
      Victor Stinner authored
      does crash on Mac OS X which uses libedit instead of readline.
      92639cce
    • Victor Stinner's avatar
      tets · d18ccd19
      Victor Stinner authored
      d18ccd19
    • Victor Stinner's avatar
      (Merge 3.4) Issue #16133: The asynchat.async_chat.handle_read() method now · 316b16de
      Victor Stinner authored
      ignores BlockingIOError exceptions. Initial patch written by Xavier de Gaye.
      
      Document also in asyncore documentation that recv() may raise BlockingIOError.
      316b16de