<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/asyncore.py, branch 2.3</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=2.3</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/asyncore.py?h=2.3'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2003-11-06T13:57:49Z</updated>
<entry>
<title>On RH10, the PIE additions to gcc mean that id() can sometimes be a very</title>
<updated>2003-11-06T13:57:49Z</updated>
<author>
<name>Anthony Baxter</name>
<email>anthonybaxter@gmail.com</email>
</author>
<published>2003-11-06T13:57:49Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=68fa8d91ed1a6fb989a26b962f8d30dea8ffc67e'/>
<id>urn:sha1:68fa8d91ed1a6fb989a26b962f8d30dea8ffc67e</id>
<content type='text'>
large 32 bit int, which comes out as a negative int. Workaround this to
prevent warnings from the test suite and the std lib.
</content>
</entry>
<entry>
<title>Backport checkin:</title>
<updated>2003-10-20T14:34:48Z</updated>
<author>
<name>Walter Dörwald</name>
<email>walter@livinglogic.de</email>
</author>
<published>2003-10-20T14:34:48Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=4958f2741aebb85bdfd7f7c9f108f1b6e3734ae9'/>
<id>urn:sha1:4958f2741aebb85bdfd7f7c9f108f1b6e3734ae9</id>
<content type='text'>
Fix a bunch of typos in documentation, docstrings and comments.
(From SF patch #810751)
</content>
</entry>
<entry>
<title>Fix comment typo</title>
<updated>2003-02-14T01:13:01Z</updated>
<author>
<name>Andrew M. Kuchling</name>
<email>amk@amk.ca</email>
</author>
<published>2003-02-14T01:13:01Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=c07fb2fc5bcb21a3dcbb0abbf3b52bab725cbce9'/>
<id>urn:sha1:c07fb2fc5bcb21a3dcbb0abbf3b52bab725cbce9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add XXX about Winsock error values</title>
<updated>2002-12-26T18:22:54Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2002-12-26T18:22:54Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=9a40c1c2994f596b6a769201b71c54e0530e7220'/>
<id>urn:sha1:9a40c1c2994f596b6a769201b71c54e0530e7220</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix an old bug in poll().  When a signal is handled while we're</title>
<updated>2002-11-05T18:41:20Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2002-11-05T18:41:20Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=e94d8fab5671b1d76c76881b20ec133a627d7936'/>
<id>urn:sha1:e94d8fab5671b1d76c76881b20ec133a627d7936</id>
<content type='text'>
blocked in select(), this will raise select.error with errno set to
EINTR.  The except clauses correctly ignores this error, but the rest
of the logic will then call read() for all objects in select's *input*
list of read file descriptors.  Then when an object's read_handler()
is naive, it will call recv() on its socket, which will raise an
IOError, and then asyncore decides to close the socket.  To fix this,
we simply return in this case.

Backport candidate.
</content>
</entry>
<entry>
<title>Again, I did check in too many changes. Sorry.</title>
<updated>2002-09-26T13:19:48Z</updated>
<author>
<name>Thomas Heller</name>
<email>theller@ctypes.org</email>
</author>
<published>2002-09-26T13:19:48Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=6d817ad43d9e7ef4acc51abfd8700309644ebb96'/>
<id>urn:sha1:6d817ad43d9e7ef4acc51abfd8700309644ebb96</id>
<content type='text'>
</content>
</entry>
<entry>
<title>On Windows, select() does not accept empty lists.</title>
<updated>2002-09-24T17:30:31Z</updated>
<author>
<name>Thomas Heller</name>
<email>theller@ctypes.org</email>
</author>
<published>2002-09-24T17:30:31Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=d8ce87ad84d748fb648b874d7dd9d9a3a835ec3d'/>
<id>urn:sha1:d8ce87ad84d748fb648b874d7dd9d9a3a835ec3d</id>
<content type='text'>
Patch suggested by Guido, fixes SF item 611464.

Bugfix candidate, will backport to release22-maint myself.
</content>
</entry>
<entry>
<title>Fiddle with compact_traceback().</title>
<updated>2002-09-13T14:09:26Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2002-09-13T14:09:26Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=12e96689894d81be290a51d9e62c138ac1230acd'/>
<id>urn:sha1:12e96689894d81be290a51d9e62c138ac1230acd</id>
<content type='text'>
More whitespace cleanup.
</content>
</entry>
<entry>
<title>I don't think it's safe to use map.iteritems() in the various poll</title>
<updated>2002-09-12T04:57:29Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2002-09-12T04:57:29Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=d560ace3a76d1fa162fa40ec90a158d4d3540036'/>
<id>urn:sha1:d560ace3a76d1fa162fa40ec90a158d4d3540036</id>
<content type='text'>
routines.  I got some errors "dictionary changed size during
iteration" when running ZEO tests on machine while doing heavy
forground work in another window, and thinking about it, I believe
that it should be okay if readable() or writable() modifies the map.

I also finally made all the spacing conform to the Python style guide:
no space between a function/method name and the following left
parenthesis (fixed lots of occurrences), spaces around assignment
operators (fixed a few, always of the form "map=..."), and a blank
line between the class statement and the first method definition (a
few).
</content>
</entry>
<entry>
<title>A little refactoring.</title>
<updated>2002-09-08T00:14:54Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2002-09-08T00:14:54Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=d750036b20be5f8ce0a356fe625e8ade3a6c071a'/>
<id>urn:sha1:d750036b20be5f8ce0a356fe625e8ade3a6c071a</id>
<content type='text'>
Add read(), write(), and readwrite() helper functions to shorten poll
functions.  Use get() instead of try/except KeyError for lookup.
XXX How could the lookup ever fail?

Remove module-level DEBUG flag.

Use iteritems() instead of items() when walking the socket map.

Reformat the functions I touched so that are consistently Pythonic.
</content>
</entry>
</feed>
