1. 29 Jul, 2014 6 commits
    • Victor Stinner's avatar
    • Ned Deily's avatar
      Edit NEWS entry · 3d4953a1
      Ned Deily authored
      3d4953a1
    • Ezio Melotti's avatar
      #21704: remove duplicate name in Misc/ACKS. · 8a0fb2c5
      Ezio Melotti authored
      8a0fb2c5
    • Victor Stinner's avatar
      asyncio: sync with Tulip · 313a9809
      Victor Stinner authored
      * _WaitHandleFuture.cancel() now notify IocpProactor through the overlapped
        object that the wait was cancelled.
      * Optimize IocpProactor.wait_for_handle() gets the result if the wait is
        signaled immediatly.
      * Enhance representation of Future and Future subclasses
      
        - Add "created at filename:lineno" in the representation
        - Add Future._repr_info() method which can be more easily overriden than
          Future.__repr__(). It should now be more easy to enhance Future
          representation without having to modify each subclass. For example,
          _OverlappedFuture and _WaitHandleFuture get the new "created at" information.
        - Use reprlib to format Future result, and function arguments when formatting a
          callback, to limit the length of the representation.
      
      * Fix repr(_WaitHandleFuture)
      * _WaitHandleFuture and _OverlappedFuture: hide frames of internal calls in the
        source traceback.
      * Cleanup ProactorIocp._poll(): set the timeout to 0 after the first call to
        GetQueuedCompletionStatus()
      * test_locks: close the temporary event loop and check the condition lock
      * Remove workaround in test_futures, no more needed
      313a9809
    • Terry Jan Reedy's avatar
      Issue #17172: add NEWS · 7eca7343
      Terry Jan Reedy authored
      7eca7343
    • Terry Jan Reedy's avatar
      Issue #17172: Add the ability to run turtledemo from Idle. · 7e55db2b
      Terry Jan Reedy authored
      Make turtledemo start as active on Mac even when run with subprocess.
      Patch by Ramchandra Apt, Lita Cho, and Ned Daily.
      7e55db2b
  2. 28 Jul, 2014 5 commits
  3. 27 Jul, 2014 2 commits
    • 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
    • Terry Jan Reedy's avatar
  4. 26 Jul, 2014 5 commits
  5. 25 Jul, 2014 12 commits
  6. 24 Jul, 2014 10 commits