summaryrefslogtreecommitdiffstats
path: root/Lib/asynchat.py
Commit message (Collapse)AuthorAgeFilesLines
* Code modernization. Replace v=s[i]; del s[i] with single lookup v=s.pop(i)Raymond Hettinger2002-06-301-3/+1
|
* Whitespace normalization.Tim Peters2002-04-161-6/+6
|
* A faster version of the find_prefix_at_end() function (that I found in theAndrew M. Kuchling2002-03-201-9/+7
| | | | | | last Medusa release) Should be safe as a bugfix candidate, though it's not fixing a bug.
* [Bug #491820] Define two abstract methods to shut up Pychecker, and forAndrew M. Kuchling2002-03-081-0/+6
| | | | | documentation purposes. These implementations are the same as the ones suggested by Skip in the bug report.
* Fix from the Madusa mailing list:Tim Peters2001-04-081-1/+1
| | | | | | | | | | | | | | | | | 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. >>> "abc"*0 is "abc"*0 0 >>> but they're rare, and I don't see any such operations in asynchat.
* Make the docstring a raw string, for pydoc.Guido van Rossum2001-04-061-1/+1
| | | | (How many opre of these will we need? :-( )
* Fix the fix (my error -- hasty pasty).Tim Peters2001-04-051-1/+1
|
* One-liner critical fix from Jim Fulton: Eric's string-method crusadeTim Peters2001-04-051-1/+1
| | | | got the order backwards in a line (for .find()).
* Whitespace normalization.Tim Peters2001-02-091-1/+1
|
* String method conversion.Eric S. Raymond2001-02-091-2/+1
|
* New asynchat.py from Sam Rushing: this foregoes using the regex moduleAndrew M. Kuchling2001-01-241-36/+12
| | | | | to find the prefix of strings, thus removing a warning, and simply uses straightforward string slicing.
* Whitespace standardization.Tim Peters2001-01-141-239/+239
|
* Match Sam Rushing's current version of asyncore.py and asynchat.pyAndrew M. Kuchling2000-09-081-4/+7
| | | | (SF patch 101447, fixing PR#113704)
* Spelling fixes supplied by Rob W. W. Hooft. All these are fixes in eitherThomas Wouters2000-07-161-1/+1
| | | | | | | | | | comments, docstrings or error messages. I fixed two minor things in test_winreg.py ("didn't" -> "Didn't" and "Didnt" -> "Didn't"). There is a minor style issue involved: Guido seems to have preferred English grammar (behaviour, honour) in a couple places. This patch changes that to American, which is the more prominent style in the source. I prefer English myself, so if English is preferred, I'd be happy to supply a patch myself ;)
* Actually, the previous batch's comment should have been different;Guido van Rossum2000-02-041-18/+21
| | | | | | | | | | *this* set of patches is Ka-Ping's final sweep: The attached patches update the standard library so that all modules have docstrings beginning with one-line summaries. A new docstring was added to formatter. The docstring for os.py was updated to mention nt, os2, ce in addition to posix, dos, mac.
* Put Sam Rushing's original RCS ID string back, without dollars around it.Guido van Rossum1999-09-141-1/+1
|
* Sam's latest versionsGuido van Rossum1999-06-081-39/+61
|
* A gift from Sam Rushing - modules asyncore and asynchat for theGuido van Rossum1999-01-121-0/+290
standard Python library. (Async socket support.)