<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/eventlet.git, branch fix-dns-resolution</title>
<subtitle>github.com: eventlet/eventlet.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/eventlet.git/'/>
<entry>
<title>Upgrade bundled dnspython to fix DNS resolution</title>
<updated>2016-09-27T10:27:15+00:00</updated>
<author>
<name>Jakub Stasiak</name>
<email>jakub.stasiak@smarkets.com</email>
</author>
<published>2016-09-27T10:18:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/eventlet.git/commit/?id=8337e1a0cc295458361539b82fefe7824a08eef0'/>
<id>8337e1a0cc295458361539b82fefe7824a08eef0</id>
<content type='text'>
The version introduced in commit [1] ([2]) has a critical bug - "The DNS
resolver doesn't return any records and under some circumstances throws
KeyError exceptions from within dnspython" [3]. dnspython commit [4]
fixes it so let's update to the latest development version.

Simple script to reproduce:

    import eventlet
    eventlet.monkey_patch(all=True)

    import socket
    print(socket.gethostbyname('google.co.uk'))

Before this change it'd raise an exception, after - it produces
a result.

[1] 52b09becacd23f384cf69ae37d70c893c43e3b13
[2] https://github.com/rthalley/dnspython/commit/188aa701a6826c607da0624e31a8c4618d0a8017
[3] https://github.com/rthalley/dnspython/issues/206
[4] https://github.com/rthalley/dnspython/commit/292995db18f16a528471250fab5cb25082b7d193
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The version introduced in commit [1] ([2]) has a critical bug - "The DNS
resolver doesn't return any records and under some circumstances throws
KeyError exceptions from within dnspython" [3]. dnspython commit [4]
fixes it so let's update to the latest development version.

Simple script to reproduce:

    import eventlet
    eventlet.monkey_patch(all=True)

    import socket
    print(socket.gethostbyname('google.co.uk'))

Before this change it'd raise an exception, after - it produces
a result.

[1] 52b09becacd23f384cf69ae37d70c893c43e3b13
[2] https://github.com/rthalley/dnspython/commit/188aa701a6826c607da0624e31a8c4618d0a8017
[3] https://github.com/rthalley/dnspython/issues/206
[4] https://github.com/rthalley/dnspython/commit/292995db18f16a528471250fab5cb25082b7d193
</pre>
</div>
</content>
</entry>
<entry>
<title>ssl: Fix "TypeError: read() argument 2 must be read-write bytes-like object, not None"</title>
<updated>2016-09-26T14:09:41+00:00</updated>
<author>
<name>Jakub Stasiak</name>
<email>jakub.stasiak@smarkets.com</email>
</author>
<published>2016-09-26T13:43:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/eventlet.git/commit/?id=1d4ce40c1bef04159daa685b09a9884cb5727fe6'/>
<id>1d4ce40c1bef04159daa685b09a9884cb5727fe6</id>
<content type='text'>
The issue would manifest after performing the following steps on
Python 3.5:

* Create a plain socket without connecting to anything
* Wrap the plain socket in an SSL socket
* Call recv(n) on the SSL socket

This is the only place in the code where we actually assign
self._sslobj, I just modified the code to wrap the sslwrap result in
SSLObject like the standard library SSLSocket.connect does[1] since
Python 3.5[2].

[1] https://github.com/python/cpython/blob/9ec0aa138b18cdfb8cd98965f84bc6c383766ade/Lib/ssl.py#L1008
[2] http://bugs.python.org/issue21965
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The issue would manifest after performing the following steps on
Python 3.5:

* Create a plain socket without connecting to anything
* Wrap the plain socket in an SSL socket
* Call recv(n) on the SSL socket

This is the only place in the code where we actually assign
self._sslobj, I just modified the code to wrap the sslwrap result in
SSLObject like the standard library SSLSocket.connect does[1] since
Python 3.5[2].

[1] https://github.com/python/cpython/blob/9ec0aa138b18cdfb8cd98965f84bc6c383766ade/Lib/ssl.py#L1008
[2] http://bugs.python.org/issue21965
</pre>
</div>
</content>
</entry>
<entry>
<title>Add DAGPool, a dependency-driven greenthread pool</title>
<updated>2016-09-25T11:24:33+00:00</updated>
<author>
<name>nat-goodspeed</name>
<email>nat@lindenlab.com</email>
</author>
<published>2016-09-25T11:24:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/eventlet.git/commit/?id=6d0103298a8dd6fc14c97f1d148994ddb701ab66'/>
<id>6d0103298a8dd6fc14c97f1d148994ddb701ab66</id>
<content type='text'>
https://github.com/eventlet/eventlet/pull/347</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/eventlet/eventlet/pull/347</pre>
</div>
</content>
</entry>
<entry>
<title>green.zmq: Support {send,recv}_{string,json,pyobj} wrappers</title>
<updated>2016-09-01T18:47:48+00:00</updated>
<author>
<name>ozamiatin</name>
<email>ozamiatin@mirantis.com</email>
</author>
<published>2016-09-01T18:47:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/eventlet.git/commit/?id=4d2cdca17a44b19405d4cdeafc898a500fe2485c'/>
<id>4d2cdca17a44b19405d4cdeafc898a500fe2485c</id>
<content type='text'>
The following wrappers added:

* send_string/recv_string
* send_json/recv_json
* send_pyobj/recv_pyobj

This change is also needed to make these methods thread-safe.
https://github.com/eventlet/eventlet/pull/343</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The following wrappers added:

* send_string/recv_string
* send_json/recv_json
* send_pyobj/recv_pyobj

This change is also needed to make these methods thread-safe.
https://github.com/eventlet/eventlet/pull/343</pre>
</div>
</content>
</entry>
<entry>
<title>ipv6: getaddrinfo would fail with scope index</title>
<updated>2016-08-30T14:25:23+00:00</updated>
<author>
<name>Jarrod Johnson</name>
<email>jjohnson2@lenovo.com</email>
</author>
<published>2016-06-02T18:37:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/eventlet.git/commit/?id=ac4e28fd1a52dc6488ed5d80e37db19a2ed997dd'/>
<id>ac4e28fd1a52dc6488ed5d80e37db19a2ed997dd</id>
<content type='text'>
Discard any '%' delimited suffix.

https://github.com/eventlet/eventlet/pull/322
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Discard any '%' delimited suffix.

https://github.com/eventlet/eventlet/pull/322
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: (minor) socket.sendall() needs bytes, not string</title>
<updated>2016-08-24T07:07:33+00:00</updated>
<author>
<name>Sergey Shepelev</name>
<email>temotor@gmail.com</email>
</author>
<published>2016-08-24T07:07:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/eventlet.git/commit/?id=23ea43a65f808759597317f9e6fc22909fab619a'/>
<id>23ea43a65f808759597317f9e6fc22909fab619a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bundle dnspython in support/; resolving is always green</title>
<updated>2016-08-24T06:51:28+00:00</updated>
<author>
<name>Sergey Shepelev</name>
<email>temotor@gmail.com</email>
</author>
<published>2016-08-20T14:40:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/eventlet.git/commit/?id=52b09becacd23f384cf69ae37d70c893c43e3b13'/>
<id>52b09becacd23f384cf69ae37d70c893c43e3b13</id>
<content type='text'>
Fixes installation issue when older dnspython is present in system packages
https://github.com/eventlet/eventlet/pull/341
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes installation issue when older dnspython is present in system packages
https://github.com/eventlet/eventlet/pull/341
</pre>
</div>
</content>
</entry>
<entry>
<title>wsgi: Unix socket address representation; Thanks to Samuel Merritt</title>
<updated>2016-08-20T07:59:45+00:00</updated>
<author>
<name>Sergey Shepelev</name>
<email>temotor@gmail.com</email>
</author>
<published>2016-08-09T18:46:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/eventlet.git/commit/?id=4f0913d084acab2a991e32389337f86aacf8e1c4'/>
<id>4f0913d084acab2a991e32389337f86aacf8e1c4</id>
<content type='text'>
https://github.com/eventlet/eventlet/pull/320
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/eventlet/eventlet/pull/320
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: new release of dnspython works for both py2/3</title>
<updated>2016-08-12T03:40:06+00:00</updated>
<author>
<name>Ondřej Nový</name>
<email>novy@ondrej.org</email>
</author>
<published>2016-08-12T03:40:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/eventlet.git/commit/?id=15c5f02112eb8364772aa7d40d7b2ccc9fcae805'/>
<id>15c5f02112eb8364772aa7d40d7b2ccc9fcae805</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>tpool: isolate internal socket from default timeout; Thanks to Alex Villacís Lasso</title>
<updated>2016-08-10T06:23:54+00:00</updated>
<author>
<name>Sergey Shepelev</name>
<email>temotor@gmail.com</email>
</author>
<published>2016-08-10T06:14:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/eventlet.git/commit/?id=cb8ac9b56741ac547341de27b7a9333aada93cc3'/>
<id>cb8ac9b56741ac547341de27b7a9333aada93cc3</id>
<content type='text'>
Since commit f37a87b the internal implementation of tpool uses sockets
instead of pipes for communication. If, for whatever reason, the user code
calls socket.setdefaulttimeout() with some nonzero value, tpool's internal
socket now inherits this timeout. This causes the tpool to receive
a `socket.timeout` exception where none was expected.
https://github.com/eventlet/eventlet/pull/330
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Since commit f37a87b the internal implementation of tpool uses sockets
instead of pipes for communication. If, for whatever reason, the user code
calls socket.setdefaulttimeout() with some nonzero value, tpool's internal
socket now inherits this timeout. This causes the tpool to receive
a `socket.timeout` exception where none was expected.
https://github.com/eventlet/eventlet/pull/330
</pre>
</div>
</content>
</entry>
</feed>
