<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/eventlet.git/eventlet/patcher.py, branch python3-next</title>
<subtitle>github.com: eventlet/eventlet.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/eventlet.git/'/>
<entry>
<title>Reformat with autopep8</title>
<updated>2014-10-11T00:41:30+00:00</updated>
<author>
<name>Jakub Stasiak</name>
<email>jakub@stasiak.at</email>
</author>
<published>2014-10-10T08:41:15+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/eventlet.git/commit/?id=93f2a8d06829d1b6e3cc648d3ee6ad0ee9e51a05'/>
<id>93f2a8d06829d1b6e3cc648d3ee6ad0ee9e51a05</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>PEP-8 fixes</title>
<updated>2014-08-27T06:21:55+00:00</updated>
<author>
<name>Sergey Shepelev</name>
<email>temotor@gmail.com</email>
</author>
<published>2014-07-18T11:21:26+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/eventlet.git/commit/?id=203e629212be5cf6e53d577734421d494b255754'/>
<id>203e629212be5cf6e53d577734421d494b255754</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>hubs: defang after remove; related to second simultaneous read issue</title>
<updated>2014-08-12T08:10:42+00:00</updated>
<author>
<name>Michael Kerrin</name>
<email>michael.kerrin@hp.com</email>
</author>
<published>2014-06-25T08:13:02+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/eventlet.git/commit/?id=8f98f8b63443394dbcf8c506a2a2686b3c933ce9'/>
<id>8f98f8b63443394dbcf8c506a2a2686b3c933ce9</id>
<content type='text'>
https://github.com/eventlet/eventlet/issues/94

We have to defang the listener after removing it from the hub

Otherwise we never actaully remove it from the hub and get a return of the
second simultanous read.

This should fix this issue.

Turn off __builtin__ monkey patching by default

The reason is that eventlet.greenio.GreenPipe tries to
adapt an original file f, and performs the following check
isinstance(f, file) f is an original file object with file
is now our file method. This fails causing TypeError

nova-api exercises this

Fix up zmq to use the extended add signature

Having heard no problems relating eventlet and zmq,
I'm not going to dive in and drop random pataches against
it. If the 'Second simultaneous *er' crops up against
zmw then we at least now have the machinery to
address it.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/eventlet/eventlet/issues/94

We have to defang the listener after removing it from the hub

Otherwise we never actaully remove it from the hub and get a return of the
second simultanous read.

This should fix this issue.

Turn off __builtin__ monkey patching by default

The reason is that eventlet.greenio.GreenPipe tries to
adapt an original file f, and performs the following check
isinstance(f, file) f is an original file object with file
is now our file method. This fails causing TypeError

nova-api exercises this

Fix up zmq to use the extended add signature

Having heard no problems relating eventlet and zmq,
I'm not going to dive in and drop random pataches against
it. If the 'Second simultaneous *er' crops up against
zmw then we at least now have the machinery to
address it.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix second simultaneous read (parallel paramiko issue)</title>
<updated>2014-08-11T21:14:58+00:00</updated>
<author>
<name>Jan Grant</name>
<email>jan.grant@hp.com</email>
</author>
<published>2014-06-20T12:31:20+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/eventlet.git/commit/?id=da87716714689894f23d0db7b003f26d97031e83'/>
<id>da87716714689894f23d0db7b003f26d97031e83</id>
<content type='text'>
https://github.com/eventlet/eventlet/issues/94

Because of the way paramiko utilises a client thread to manage its
communication, it's not been compatible with eventlet when run in
parallel.

It's not the only place these problems would arise.

This stemmed from the reuse of a fileno by the underlying OS.
Because listeners are registered against this descriptor, it would
be possible for old listeners to receive events destined for newer
descriptors; occasionally code would attempt to utilise the new
descriptor from a different greenlet, giving rise to the 'second
simultaneous read' problem.

Whenever a Python object is created to wrap one of these filenos,
we now signal the hub in order that it can correctly obsolete
extant listeners against that fileno. This is a fairly tricky
operation, due to the way that listeners' threads are interleaved
with the hub's operation - there are a number of small fixes here
to defend against one listener from effectively obsoleting another
when an event is pending against it.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/eventlet/eventlet/issues/94

Because of the way paramiko utilises a client thread to manage its
communication, it's not been compatible with eventlet when run in
parallel.

It's not the only place these problems would arise.

This stemmed from the reuse of a fileno by the underlying OS.
Because listeners are registered against this descriptor, it would
be possible for old listeners to receive events destined for newer
descriptors; occasionally code would attempt to utilise the new
descriptor from a different greenlet, giving rise to the 'second
simultaneous read' problem.

Whenever a Python object is created to wrap one of these filenos,
we now signal the hub in order that it can correctly obsolete
extant listeners against that fileno. This is a fairly tricky
operation, due to the way that listeners' threads are interleaved
with the hub's operation - there are a number of small fixes here
to defend against one listener from effectively obsoleting another
when an event is pending against it.
</pre>
</div>
</content>
</entry>
<entry>
<title>python3 compat fixes; Thanks to Astrum Kuo</title>
<updated>2014-04-02T11:27:08+00:00</updated>
<author>
<name>郭旭星Astrum Kuo</name>
<email>guoxuxing@meituan.com</email>
</author>
<published>2014-04-01T09:51:44+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/eventlet.git/commit/?id=5399fbda9df91d546a6f814030cdd9e225f83230'/>
<id>5399fbda9df91d546a6f814030cdd9e225f83230</id>
<content type='text'>
https://github.com/eventlet/eventlet/pull/82

Celery could work with eventlet in Python3 now
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/eventlet/eventlet/pull/82

Celery could work with eventlet in Python3 now
</pre>
</div>
</content>
</entry>
<entry>
<title>python3 compat fixes</title>
<updated>2014-03-28T06:58:14+00:00</updated>
<author>
<name>Victor Sergeyev</name>
<email>vsergeyev@mirantis.com</email>
</author>
<published>2013-11-25T16:21:40+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/eventlet.git/commit/?id=2b2f0a96b44779c5b98c851c55d70ec5e46e41f9'/>
<id>2b2f0a96b44779c5b98c851c55d70ec5e46e41f9</id>
<content type='text'>
https://github.com/eventlet/eventlet/pull/59
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/eventlet/eventlet/pull/59
</pre>
</div>
</content>
</entry>
<entry>
<title>Monkey patch threading.current_thread() as well</title>
<updated>2012-02-29T19:22:18+00:00</updated>
<author>
<name>Johannes Erdfelt</name>
<email>johannes@erdfelt.com</email>
</author>
<published>2012-02-29T19:22:18+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/eventlet.git/commit/?id=6a402c593a0b1a41baf78f0b933cfe29de05893e'/>
<id>6a402c593a0b1a41baf78f0b933cfe29de05893e</id>
<content type='text'>
Fixes bug 115

Patching thread.get_ident() but not threading.current_thread() can
result in _DummyThread objects being created. These objects will
never be garbage collected and will leak memory. In a long running
process (like a daemon), this can result in a pretty significant
memory leak if it uses green threads regularly.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes bug 115

Patching thread.get_ident() but not threading.current_thread() can
result in _DummyThread objects being created. These objects will
never be garbage collected and will leak memory. In a long running
process (like a daemon), this can result in a pretty significant
memory leak if it uses green threads regularly.
</pre>
</div>
</content>
</entry>
<entry>
<title>Reducing copypasta with utility function.</title>
<updated>2011-04-10T02:14:21+00:00</updated>
<author>
<name>Ryan Williams</name>
<email>breath@alum.mit.edu</email>
</author>
<published>2011-04-10T02:14:21+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/eventlet.git/commit/?id=4dd8f45faf0355340d00cd7d68ad0ebf88d6e126'/>
<id>4dd8f45faf0355340d00cd7d68ad0ebf88d6e126</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Not enabling MySQLdb patching in import_patched for now.</title>
<updated>2010-10-08T16:21:00+00:00</updated>
<author>
<name>Ryan Williams</name>
<email>breath@alum.mit.edu</email>
</author>
<published>2010-10-08T16:21:00+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/eventlet.git/commit/?id=d1ef6f39e7a14d347e7caec498b2e6b178994b11'/>
<id>d1ef6f39e7a14d347e7caec498b2e6b178994b11</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Finally, eventlet.green.MySQLdb so we don't have to hassle with db_pool if we're not going to be using the pooling functionality.</title>
<updated>2010-10-07T18:22:57+00:00</updated>
<author>
<name>Ryan Williams</name>
<email>breath@alum.mit.edu</email>
</author>
<published>2010-10-07T18:22:57+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/eventlet.git/commit/?id=f26ccf74517c1e63dd2c9c6885b4214a52447325'/>
<id>f26ccf74517c1e63dd2c9c6885b4214a52447325</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
