<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/asynchat.py, branch 2.3</title>
<subtitle>Python interpreter</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/asynchat.py?h=2.3</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/asynchat.py?h=2.3'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2003-03-10T15:16:54Z</updated>
<entry>
<title>[Patch #649762] Fix for asynchat endless loop</title>
<updated>2003-03-10T15:16:54Z</updated>
<author>
<name>Andrew M. Kuchling</name>
<email>amk@amk.ca</email>
</author>
<published>2003-03-10T15:16:54Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=a416341b3067306959397e896bd6b712501bd28c'/>
<id>urn:sha1:a416341b3067306959397e896bd6b712501bd28c</id>
<content type='text'>
When the null string is used as the terminator, it used to be the same
as None, meaning "collect all the data".  In the current code, however, it
falls into an endless loop; this change reverts to the old behavior.
</content>
</entry>
<entry>
<title>Use isinstance() instead of type comparison</title>
<updated>2003-03-10T15:12:00Z</updated>
<author>
<name>Andrew M. Kuchling</name>
<email>amk@amk.ca</email>
</author>
<published>2003-03-10T15:12:00Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=faef74a2b06e92645f632182f1569e455793b179'/>
<id>urn:sha1:faef74a2b06e92645f632182f1569e455793b179</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Code modernization.  Replace v=s[i]; del s[i] with single lookup v=s.pop(i)</title>
<updated>2002-06-30T03:39:14Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2002-06-30T03:39:14Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=46ac8eb3c899b498299a2f8fbcdd4ed3f32addba'/>
<id>urn:sha1:46ac8eb3c899b498299a2f8fbcdd4ed3f32addba</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Whitespace normalization.</title>
<updated>2002-04-16T01:38:40Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2002-04-16T01:38:40Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=863ac44b74cd66f7d289748816d65c65808c149b'/>
<id>urn:sha1:863ac44b74cd66f7d289748816d65c65808c149b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>A faster version of the find_prefix_at_end() function (that I found in the</title>
<updated>2002-03-20T02:22:58Z</updated>
<author>
<name>Andrew M. Kuchling</name>
<email>amk@amk.ca</email>
</author>
<published>2002-03-20T02:22:58Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=c63a396c5fc55beeaf3c973f137e160fc844d5a6'/>
<id>urn:sha1:c63a396c5fc55beeaf3c973f137e160fc844d5a6</id>
<content type='text'>
    last Medusa release)

Should be safe as a bugfix candidate, though it's not fixing a bug.
</content>
</entry>
<entry>
<title>[Bug #491820] Define two abstract methods to shut up Pychecker, and for</title>
<updated>2002-03-08T18:27:11Z</updated>
<author>
<name>Andrew M. Kuchling</name>
<email>amk@amk.ca</email>
</author>
<published>2002-03-08T18:27:11Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=7dd5f3cf698a7ffb7e532719639c85f81a65dbe8'/>
<id>urn:sha1:7dd5f3cf698a7ffb7e532719639c85f81a65dbe8</id>
<content type='text'>
    documentation purposes.  These implementations are the same as the
    ones suggested by Skip in the bug report.
</content>
</entry>
<entry>
<title>Fix from the Madusa mailing list:</title>
<updated>2001-04-08T07:23:44Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2001-04-08T07:23:44Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=6fd71206169c48daf9a45fe246b495bb8113fd10'/>
<id>urn:sha1:6fd71206169c48daf9a45fe246b495bb8113fd10</id>
<content type='text'>
    http://groups.yahoo.com/group/medusa/message/333

It's clear that Medusa should not be checking for an empty buffer
via "buf is ''".  The patch merely changes "is" to "==".  However,
there's a mystery here all the same:  Python attempts to store null
strings uniquely, so it's unclear why "buf is ''" ever returned
false when buf actually was empty.  *Some* string operations produce
non-unique null strings, e.g.

&gt;&gt;&gt; "abc"*0 is "abc"*0
0
&gt;&gt;&gt;

but they're rare, and I don't see any such operations in asynchat.
</content>
</entry>
<entry>
<title>Make the docstring a raw string, for pydoc.</title>
<updated>2001-04-06T15:30:33Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2001-04-06T15:30:33Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=e4a1b6d7c4e96dd2af0541dd12444932260e2a66'/>
<id>urn:sha1:e4a1b6d7c4e96dd2af0541dd12444932260e2a66</id>
<content type='text'>
(How many opre of these will we need? :-( )
</content>
</entry>
<entry>
<title>Fix the fix (my error -- hasty pasty).</title>
<updated>2001-04-05T22:38:32Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2001-04-05T22:38:32Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=b5d1392d9236eae981796cb7ae15d8ecd5035ac6'/>
<id>urn:sha1:b5d1392d9236eae981796cb7ae15d8ecd5035ac6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>One-liner critical fix from Jim Fulton:  Eric's string-method crusade</title>
<updated>2001-04-05T22:26:23Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2001-04-05T22:26:23Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=a29b6222fe18ce79c8a16746bcdf2401389e4405'/>
<id>urn:sha1:a29b6222fe18ce79c8a16746bcdf2401389e4405</id>
<content type='text'>
got the order backwards in a line (for .find()).
</content>
</entry>
</feed>
