<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/asyncore.py, branch v2.2</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/asyncore.py?h=v2.2</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/asyncore.py?h=v2.2'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2002-03-15T10:32:07Z</updated>
<entry>
<title>backport akuchling's checkin of</title>
<updated>2002-03-15T10:32:07Z</updated>
<author>
<name>Michael W. Hudson</name>
<email>mwh@python.net</email>
</author>
<published>2002-03-15T10:32:07Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=8b23905d92efb1f4d0156b1ebef3ef01b743ad84'/>
<id>urn:sha1:8b23905d92efb1f4d0156b1ebef3ef01b743ad84</id>
<content type='text'>
    revision 1.29 of asyncore.py

[Bug #517554] When a signal happens during the select call in
	asyncore.poll, the select fails with EINTR, which the
	code catches. However, the code fails to clear the
	r/w/e arrays (like poll3 does), which means it acts as
	if every descriptor had received all possible events.

Bug report and patch by Cesar Eduardo Barros
</content>
</entry>
<entry>
<title>Remove duplicate "import os"</title>
<updated>2002-03-15T01:35:19Z</updated>
<author>
<name>Neal Norwitz</name>
<email>nnorwitz@gmail.com</email>
</author>
<published>2002-03-15T01:35:19Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=7d23700b37b43dae7cd2c6f14d1a2afcd8c69612'/>
<id>urn:sha1:7d23700b37b43dae7cd2c6f14d1a2afcd8c69612</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Partial fix for problem in SF buf #487458</title>
<updated>2001-12-14T16:15:11Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2001-12-14T16:15:11Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=2a05bc72d61377772ed988507bd67961bcbf35a0'/>
<id>urn:sha1:2a05bc72d61377772ed988507bd67961bcbf35a0</id>
<content type='text'>
Rev 1.20 introduced a call to getpeername() in the dispatcher
constructor.  This only works for a connected socket.  Apparently
earlier versions of the code worked with un-connected sockets, e.g. a
listening socket.

It's not clear that the code is supposed to accept these sockets,
because it sets self.connected = 1 when passed a socket.  But it's
also not clear that it should be a fatal error to pass a listening
socket.

The solution, for now, is to put a try/except around the getpeername()
call and continue if it fails.  The self.addr attribute is used
primarily (only?) to produce a nice repr for the object, so it hardly
matters.  If there is a real error on a connected socket, it's likely
that subsequent calls will fail too.
</content>
</entry>
<entry>
<title>/F observes that we need an else: in connect()</title>
<updated>2001-10-30T14:16:17Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2001-10-30T14:16:17Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=f24339f6f7b6458e059a8a2bc8b805e40c1fb359'/>
<id>urn:sha1:f24339f6f7b6458e059a8a2bc8b805e40c1fb359</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use connect_ex() instead of connect().</title>
<updated>2001-10-29T16:44:37Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2001-10-29T16:44:37Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=e16e54f7f1c0f9efaae7084b8fcbdfa95e99026b'/>
<id>urn:sha1:e16e54f7f1c0f9efaae7084b8fcbdfa95e99026b</id>
<content type='text'>
Removes old XXX comment and possible source of long-delays.
</content>
</entry>
<entry>
<title>Fix for SF bug 453099 -- select not defensive</title>
<updated>2001-10-29T16:32:19Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2001-10-29T16:32:19Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=fbd5797eb7aa2f2e291a11081f5c5160614fdd45'/>
<id>urn:sha1:fbd5797eb7aa2f2e291a11081f5c5160614fdd45</id>
<content type='text'>
And SF patch 473223 -- infinite getattr loop

Wrap select() and poll() calls with try/except for EINTR.  If EINTR is
raised, treat as a response where no fd is ready.

In dispatcher constructor, make sure self.socket is always
initialized.
</content>
</entry>
<entry>
<title>Reindent __repr__.</title>
<updated>2001-10-18T17:33:19Z</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2001-10-18T17:33:19Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=29103c7b32e1c3342bac7a29514c3f033da5458a'/>
<id>urn:sha1:29103c7b32e1c3342bac7a29514c3f033da5458a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Patch #470744: Simplify __repr__ error handling.</title>
<updated>2001-10-18T11:39:34Z</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2001-10-18T11:39:34Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=eee80ee2efa5288b3e30d3336a9fce0ebdde68eb'/>
<id>urn:sha1:eee80ee2efa5288b3e30d3336a9fce0ebdde68eb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Correct __repr__: include module name, avoid extra space for empty status,</title>
<updated>2001-10-12T22:39:20Z</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2001-10-12T22:39:20Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=106bdd3b805ddc8dc30145f4e460cb9eaf044707'/>
<id>urn:sha1:106bdd3b805ddc8dc30145f4e460cb9eaf044707</id>
<content type='text'>
use 0x format for id. Proposed by Cesar Eduardo Barros in patch #470680.
</content>
</entry>
<entry>
<title>Patch #468647: Fix exception propagation in asyncore.</title>
<updated>2001-10-09T10:10:33Z</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2001-10-09T10:10:33Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=6ec9a36faf1d29062539bc654358e730395c377e'/>
<id>urn:sha1:6ec9a36faf1d29062539bc654358e730395c377e</id>
<content type='text'>
</content>
</entry>
</feed>
