1. 31 Jul, 2014 1 commit
  2. 30 Jul, 2014 8 commits
  3. 29 Jul, 2014 18 commits
  4. 28 Jul, 2014 10 commits
  5. 27 Jul, 2014 3 commits
    • Victor Stinner's avatar
      (Merge 3.4) asyncio, tulip issue 196: ProactorIocp._register() now registers · 314397ae
      Victor Stinner authored
      the overlapped in the _cache dictionary, even if we already got the result. We
      need to keep a reference to the overlapped object, otherwise the memory may be
      reused and GetQueuedCompletionStatus() may use random bytes and behaves badly.
      
      There is still a hack for ConnectNamedPipe(): the overlapped object is not
      register into _cache if the overlapped object completed directly.
      
      Log also an error in debug mode in ProactorIocp._loop() if we get an unexpected
      event.
      
      Add a protection in ProactorIocp.close() to avoid blocking, even if it should
      not happen. I still don't understand exactly why some the completion of some
      overlapped objects are not notified.
      314397ae
    • Victor Stinner's avatar
      asyncio, tulip issue 196: ProactorIocp._register() now registers the overlapped · 42d3bdee
      Victor Stinner authored
      in the _cache dictionary, even if we already got the result. We need to keep a
      reference to the overlapped object, otherwise the memory may be reused and
      GetQueuedCompletionStatus() may use random bytes and behaves badly.
      
      There is still a hack for ConnectNamedPipe(): the overlapped object is not
      register into _cache if the overlapped object completed directly.
      
      Log also an error in debug mode in ProactorIocp._loop() if we get an unexpected
      event.
      
      Add a protection in ProactorIocp.close() to avoid blocking, even if it should
      not happen. I still don't understand exactly why some the completion of some
      overlapped objects are not notified.
      42d3bdee
    • Berker Peksag's avatar
      Issue #22076: Minor grammar fix. · 0f41acb0
      Berker Peksag authored
      Patch by Martin Matusiak.
      0f41acb0