<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/trollius.git/polling.py, branch proactor</title>
<subtitle>bitbucket.org: Obsolete (use python-packages/trollius-git)
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/trollius.git/'/>
<entry>
<title>Avoid creating a future if there is no need to block.</title>
<updated>2012-11-07T13:35:24+00:00</updated>
<author>
<name>Richard Oudkerk</name>
<email>shibturn@gmail.com</email>
</author>
<published>2012-11-07T13:35:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/trollius.git/commit/?id=0db7f304155a32c752dd3923566a5c9b211d60b1'/>
<id>0db7f304155a32c752dd3923566a5c9b211d60b1</id>
<content type='text'>
Instead proactor.Future is now an exception. This substantially reduces
the overhead in the case where blocking is not necessary.

So now we would write things like

    try:
        return context._eventloop.proactor.connect(sock, address)
    except Future as f:
        yield from scheduling.block_future(f)
        return f.result()
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Instead proactor.Future is now an exception. This substantially reduces
the overhead in the case where blocking is not necessary.

So now we would write things like

    try:
        return context._eventloop.proactor.connect(sock, address)
    except Future as f:
        yield from scheduling.block_future(f)
        return f.result()
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix EpollProactor's treatment of timeouts.</title>
<updated>2012-11-04T16:29:31+00:00</updated>
<author>
<name>Richard Oudkerk</name>
<email>shibturn@gmail.com</email>
</author>
<published>2012-11-04T16:29:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/trollius.git/commit/?id=ca7d3d4dfb9ccdf1e533c471a548e1744be76acf'/>
<id>ca7d3d4dfb9ccdf1e533c471a548e1744be76acf</id>
<content type='text'>
The confusion was caused by the fact that select.epoll() uses seconds
for specifying the timeout, whereas select.poll() uses milliseconds.

Thanks to tailhook.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The confusion was caused by the fact that select.epoll() uses seconds
for specifying the timeout, whereas select.poll() uses milliseconds.

Thanks to tailhook.
</pre>
</div>
</content>
</entry>
<entry>
<title>Rip out pollsters and replace with proactors.</title>
<updated>2012-11-03T20:47:32+00:00</updated>
<author>
<name>Richard Oudkerk</name>
<email>shibturn@gmail.com</email>
</author>
<published>2012-11-03T20:47:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/trollius.git/commit/?id=d381652479e6da5e4509cc96b5cc5671881f981e'/>
<id>d381652479e6da5e4509cc96b5cc5671881f981e</id>
<content type='text'>
Note that the IOCP proactor does not support ssl sockets or (currently)
ipv6.  Also, there is no kqueue proactor.

To use IOCP first compile by doing

    python setup.py build
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Note that the IOCP proactor does not support ssl sockets or (currently)
ipv6.  Also, there is no kqueue proactor.

To use IOCP first compile by doing

    python setup.py build
</pre>
</div>
</content>
</entry>
<entry>
<title>Subtle logging improvements.</title>
<updated>2012-10-30T22:49:58+00:00</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2012-10-30T22:49:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/trollius.git/commit/?id=363641051c8d3b2b34cda811a28e3b064bc12807'/>
<id>363641051c8d3b2b34cda811a28e3b064bc12807</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Change poll() to return just a list of tokens. Support keyword args through DelayedCall.</title>
<updated>2012-10-30T00:41:27+00:00</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2012-10-30T00:41:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/trollius.git/commit/?id=2ac001f2e8e1ac57cfe368ace774900042347f6d'/>
<id>2ac001f2e8e1ac57cfe368ace774900042347f6d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Make EventLoop wrap a Pollster instead of inherit from it.</title>
<updated>2012-10-30T00:35:16+00:00</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2012-10-30T00:35:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/trollius.git/commit/?id=4d99906857e2c965c4f3373c102d53f4db835739'/>
<id>4d99906857e2c965c4f3373c102d53f4db835739</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix code in except clause.</title>
<updated>2012-10-28T01:55:30+00:00</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2012-10-28T01:55:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/trollius.git/commit/?id=5226f4ffefcb5eb5e8343bddad8d2cf1f9f0b53f'/>
<id>5226f4ffefcb5eb5e8343bddad8d2cf1f9f0b53f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Use DelayedCall objects for all types of callbacks.</title>
<updated>2012-10-27T18:32:04+00:00</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2012-10-27T18:32:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/trollius.git/commit/?id=51525ccc0d745a323996a610b8017be91040ad86'/>
<id>51525ccc0d745a323996a610b8017be91040ad86</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Radical refactoring: no more Scheduler class; use thread-local Context.</title>
<updated>2012-10-26T18:22:47+00:00</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2012-10-26T18:22:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/trollius.git/commit/?id=245aacf40c19560264e3bc311d2af2105b232765'/>
<id>245aacf40c19560264e3bc311d2af2105b232765</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Generalize call_in_thread: optionally pass in an executor.</title>
<updated>2012-10-25T15:40:35+00:00</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2012-10-25T15:40:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/trollius.git/commit/?id=14fe2b930113ea5c9b7168a16c5a361f49160b58'/>
<id>14fe2b930113ea5c9b7168a16c5a361f49160b58</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
