<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/trollius-git.git/asyncio/base_events.py, branch 3.4.3</title>
<subtitle>github.com: jamadden/trollius.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/trollius-git.git/'/>
<entry>
<title>BaseEventLoop: rename _owner to _thread_id</title>
<updated>2015-02-04T21:08:17+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2015-02-04T21:08:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/trollius-git.git/commit/?id=7b2d8abfce1d7ef18ef516f9b1b7032172630375'/>
<id>7b2d8abfce1d7ef18ef516f9b1b7032172630375</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Only call _check_resolved_address() in debug mode</title>
<updated>2015-02-04T10:34:44+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2015-02-04T10:34:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/trollius-git.git/commit/?id=0105a8ff79590054e9c30948a1ef7cdb0faa4cef'/>
<id>0105a8ff79590054e9c30948a1ef7cdb0faa4cef</id>
<content type='text'>
* _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.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* _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.
</pre>
</div>
</content>
</entry>
<entry>
<title>Python issue #23243: On Python 3.4 and newer, emit a ResourceWarning when an</title>
<updated>2015-01-29T16:32:39+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2015-01-29T16:32:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/trollius-git.git/commit/?id=241c71030cb79217bd6be6f6dfe31e87bc5f6cbf'/>
<id>241c71030cb79217bd6be6f6dfe31e87bc5f6cbf</id>
<content type='text'>
event loop or a transport is not explicitly closed
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
event loop or a transport is not explicitly closed
</pre>
</div>
</content>
</entry>
<entry>
<title>Python issue #23208: Don't use the traceback of the current handle if we</title>
<updated>2015-01-26T14:11:17+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2015-01-26T14:11:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/trollius-git.git/commit/?id=f1774fc9e2b9a603e3f2b92d4f20cac0336e25e9'/>
<id>f1774fc9e2b9a603e3f2b92d4f20cac0336e25e9</id>
<content type='text'>
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.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.
</pre>
</div>
</content>
</entry>
<entry>
<title>Python issue #23208: Add BaseEventLoop._current_handle</title>
<updated>2015-01-26T09:52:45+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2015-01-26T09:52:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/trollius-git.git/commit/?id=684f3be00011d3c6cc4f81f5cb61c157e5eb5205'/>
<id>684f3be00011d3c6cc4f81f5cb61c157e5eb5205</id>
<content type='text'>
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.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.
</pre>
</div>
</content>
</entry>
</feed>
