1. 09 Eyl, 2016 2 kayıt (commit)
  2. 31 Agu, 2016 1 kayıt (commit)
  3. 12 Tem, 2016 1 kayıt (commit)
  4. 08 Haz, 2016 1 kayıt (commit)
  5. 02 Haz, 2016 2 kayıt (commit)
  6. 21 May, 2016 1 kayıt (commit)
  7. 20 May, 2016 1 kayıt (commit)
  8. 16 May, 2016 2 kayıt (commit)
  9. 01 Nis, 2016 1 kayıt (commit)
  10. 22 Mar, 2016 1 kayıt (commit)
    • Victor Stinner's avatar
      Add a source parameter to warnings.warn() · e19558af
      Victor Stinner yazdı
      Issue #26604:
      
      * Add a new optional source parameter to _warnings.warn() and warnings.warn()
      * Modify asyncore, asyncio and _pyio modules to set the source parameter when
        logging a ResourceWarning warning
      e19558af
  11. 02 Mar, 2016 1 kayıt (commit)
  12. 17 Ara, 2015 1 kayıt (commit)
    • Yury Selivanov's avatar
      asyncio: Skip getaddrinfo if host is already resolved. · d5c2a621
      Yury Selivanov yazdı
      getaddrinfo takes an exclusive lock on some platforms, causing clients to queue
      up waiting for the lock if many names are being resolved concurrently. Users
      may want to handle name resolution in their own code, for the sake of caching,
      using an alternate resolver, or to measure DNS duration separately from
      connection duration. Skip getaddrinfo if the "host" passed into
      create_connection is already resolved.
      
      See https://github.com/python/asyncio/pull/302 for details.
      
      Patch by A. Jesse Jiryu Davis.
      d5c2a621
  13. 19 Kas, 2015 1 kayıt (commit)
  14. 05 Eki, 2015 1 kayıt (commit)
  15. 21 Eyl, 2015 1 kayıt (commit)
  16. 04 Agu, 2015 2 kayıt (commit)
  17. 12 May, 2015 2 kayıt (commit)
  18. 11 May, 2015 3 kayıt (commit)
  19. 05 Şub, 2015 1 kayıt (commit)
  20. 04 Şub, 2015 1 kayıt (commit)
    • Victor Stinner's avatar
      asyncio: Only call _check_resolved_address() in debug mode · 2fc23130
      Victor Stinner yazdı
      * _check_resolved_address() is implemented with getaddrinfo() which is slow
      * If available, use socket.inet_pton() instead of socket.getaddrinfo(), because
        it is much faster
      
      Microbenchmark (timeit) on Fedora 21 (Python 3.4, Linux 3.17, glibc 2.20) to
      validate the IPV4 address "127.0.0.1" or the IPv6 address "::1":
      
      * getaddrinfo() 10.4 usec per loop
      * inet_pton(): 0.285 usec per loop
      
      On glibc older than 2.14, getaddrinfo() always requests the list of all local
      IP addresses to the kernel (using a NETLINK socket). getaddrinfo() has other
      known issues, it's better to avoid it when it is possible.
      2fc23130
  21. 29 Ock, 2015 1 kayıt (commit)
  22. 27 Ock, 2015 1 kayıt (commit)
    • Victor Stinner's avatar
      asyncio: sync with Tulip · ff018e40
      Victor Stinner yazdı
      * Remove unused SSLProtocol._closing attribute
      * test_sslproto: skip test if ssl module is missing
      * Python issue #23208: Don't use the traceback of the current handle if we
        already know the traceback of the source. The handle may be more revelant,
        but having 3 tracebacks (handle, source, exception) becomes more difficult to
        read. The handle may be preferred later but it requires more work to make
        this choice.
      ff018e40
  23. 26 Ock, 2015 2 kayıt (commit)
    • Victor Stinner's avatar
      Issue #23208, asyncio: Add BaseEventLoop._current_handle · 9b524d59
      Victor Stinner yazdı
      In debug mode, BaseEventLoop._run_once() now sets the
      BaseEventLoop._current_handle attribute to the handle currently executed.
      In release mode or when no handle is executed, the attribute is None.
      
      BaseEventLoop.default_exception_handler() displays the traceback of the current
      handle if available.
      9b524d59
    • Victor Stinner's avatar
      asyncio: Close transports on error · 2596dd08
      Victor Stinner yazdı
      Fix create_datagram_endpoint(), connect_read_pipe() and connect_write_pipe():
      close the transport if the task is cancelled or on error.
      2596dd08
  24. 21 Ock, 2015 2 kayıt (commit)
  25. 14 Ock, 2015 1 kayıt (commit)
    • Victor Stinner's avatar
      asyncio: sync with Tulip · 29ad0111
      Victor Stinner yazdı
      * PipeHandle now uses None instead of -1 for a closed handle
      * Sort imports in windows_utils.
      * Fix test_events on Python older than 3.5. Skip SSL tests on the
        ProactorEventLoop if ssl.MemoryIO is missing
      * Fix BaseEventLoop._create_connection_transport(). Close the transport if the
        creation of the transport (if the waiter) gets an exception.
      * _ProactorBasePipeTransport now sets _sock to None when the transport is
        closed.
      * Fix BaseSubprocessTransport.close(). Ignore pipes for which the protocol is
        not set yet (still equal to None).
      * TestLoop.close() now calls the close() method of the parent class
        (BaseEventLoop).
      * Cleanup BaseSelectorEventLoop: create the protocol on a separated line for
        readability and ease debugging.
      * Fix BaseSubprocessTransport._kill_wait(). Set the _returncode attribute, so
        close() doesn't try to terminate the process.
      * Tests: explicitly close event loops and transports
      * UNIX pipe transports: add closed/closing in repr(). Add "closed" or "closing"
        state in the __repr__() method of _UnixReadPipeTransport and
        _UnixWritePipeTransport classes.
      29ad0111
  26. 08 Ock, 2015 2 kayıt (commit)
  27. 06 Ock, 2015 1 kayıt (commit)
  28. 26 Ara, 2014 1 kayıt (commit)
    • Victor Stinner's avatar
      Issue #22926: In debug mode, call_soon(), call_at() and call_later() methods of · 956de691
      Victor Stinner yazdı
      asyncio.BaseEventLoop now use the identifier of the current thread to ensure
      that they are called from the thread running the event loop.
      
      Before, the get_event_loop() method was used to check the thread, and no
      exception was raised when the thread had no event loop. Now the methods always
      raise an exception in debug mode when called from the wrong thread. It should
      help to notice misusage of the API.
      956de691
  29. 18 Ara, 2014 1 kayıt (commit)
  30. 05 Ara, 2014 1 kayıt (commit)