fe9ebe4f4ff848cda1d4a5e398354b3be3fb984e |
|
24-Jul-2014 |
Victor Stinner <victor.stinner@gmail.com> |
Issue #16133: The asynchat.async_chat.handle_read() method now ignores socket.error() exceptions with blocking I/O errors: EAGAIN, EALREADY, EINPROGRESS, or EWOULDBLOCK. Initial patch written by Xavier de Gaye.
/external/python/cpython2/Lib/asynchat.py
|
672237dc6ca1498eabac08554bcbc5bd0fd9ddaa |
|
09-Sep-2008 |
Brett Cannon <bcannon@gmail.com> |
warnings.catch_warnings() now returns a list or None instead of the custom WarningsRecorder object. This makes the API simpler to use as no special object must be learned. Closes issue 3781. Review by Benjamin Peterson.
/external/python/cpython2/Lib/asynchat.py
|
1eaf0742d877fd9d84d6ed82a04bc33b027e9ad0 |
|
02-Sep-2008 |
Brett Cannon <bcannon@gmail.com> |
Move test.test_support.catch_warning() to the warnings module, rename it catch_warnings(), and clean up the API. While expanding the test suite, a bug was found where a warning about the 'line' argument to showwarning() was not letting functions with '*args' go without a warning. Closes issue 3602. Code review by Benjamin Peterson.
/external/python/cpython2/Lib/asynchat.py
|
c1b76e4aaa094eae58abe96628b958c8fe40639d |
|
10-Aug-2008 |
Brett Cannon <bcannon@gmail.com> |
Suppress the warning in asynchat from using buffer() when running udner -3. Naively removing the usage causes a large number of test failures, so it was just easier to suppress the warning.
/external/python/cpython2/Lib/asynchat.py
|
ff5f42088bdbe9fe801a52ba3a9d63bbaacdf2a2 |
|
07-Jul-2008 |
Josiah Carlson <josiah.carlson@gmail.com> |
Fixed bugs 760475, 953599, and 1519.
/external/python/cpython2/Lib/asynchat.py
|
1a72d88abf90edd72a9baf0fd6eebea2cded89c5 |
|
10-Jun-2008 |
Josiah Carlson <josiah.carlson@gmail.com> |
Applying updated patch from Issue 1736190, which addresses partial issues in: 909005 and 17361001, as well as completely as possible issues 539444, 760475, 777588, 889153, 953599, 1025525, 1063924, and 658749. This patch also includes doc and test updates as necessary.
/external/python/cpython2/Lib/asynchat.py
|
ca69f0248c94a08f2077f8e17cf6ad556a2d9d16 |
|
09-Jun-2005 |
Andrew M. Kuchling <amk@amk.ca> |
[Patch #1002763] Allow long ints as terminator values; also, treat a terminator of 0 like the empty string or None
/external/python/cpython2/Lib/asynchat.py
|
b562bc672bff106f1cbf2aad7770b654bfe374ec |
|
27-Sep-2004 |
Armin Rigo <arigo@tunes.org> |
Trivial bug fix: deque == [] is not a good way to check if a deque is empty.
/external/python/cpython2/Lib/asynchat.py
|
0a4977c2f3b8b3cd80f326f44e87076b2578b1b6 |
|
02-Mar-2004 |
Raymond Hettinger <python@rcn.com> |
Replace left(), right(), and __reversed__() with the more general purpose __getitem__() and __setitem__(). Simplifies the API, reduces the code size, adds flexibility, and makes deques work with bisect.bisect(), random.shuffle(), and random.sample().
/external/python/cpython2/Lib/asynchat.py
|
738ec90ca14154493a88fb38728537837a45eebf |
|
29-Feb-2004 |
Raymond Hettinger <python@rcn.com> |
Improvements to collections.deque(): * Add doctests for the examples in the library reference. * Add two methods, left() and right(), modeled after deques in C++ STL. * Apply the new method to asynchat.py. * Add comparison operators to make deques more substitutable for lists. * Replace the LookupErrors with IndexErrors to more closely match lists.
/external/python/cpython2/Lib/asynchat.py
|
ac093c6af04237deceedaab55d299819cbede7f9 |
|
07-Feb-2004 |
Raymond Hettinger <python@rcn.com> |
Use collection.deque() instead of a list for a FIFO queue.
/external/python/cpython2/Lib/asynchat.py
|
a416341b3067306959397e896bd6b712501bd28c |
|
10-Mar-2003 |
Andrew M. Kuchling <amk@amk.ca> |
[Patch #649762] Fix for asynchat endless loop 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.
/external/python/cpython2/Lib/asynchat.py
|
faef74a2b06e92645f632182f1569e455793b179 |
|
10-Mar-2003 |
Andrew M. Kuchling <amk@amk.ca> |
Use isinstance() instead of type comparison
/external/python/cpython2/Lib/asynchat.py
|
46ac8eb3c899b498299a2f8fbcdd4ed3f32addba |
|
30-Jun-2002 |
Raymond Hettinger <python@rcn.com> |
Code modernization. Replace v=s[i]; del s[i] with single lookup v=s.pop(i)
/external/python/cpython2/Lib/asynchat.py
|
863ac44b74cd66f7d289748816d65c65808c149b |
|
16-Apr-2002 |
Tim Peters <tim.peters@gmail.com> |
Whitespace normalization.
/external/python/cpython2/Lib/asynchat.py
|
c63a396c5fc55beeaf3c973f137e160fc844d5a6 |
|
20-Mar-2002 |
Andrew M. Kuchling <amk@amk.ca> |
A faster version of the find_prefix_at_end() function (that I found in the last Medusa release) Should be safe as a bugfix candidate, though it's not fixing a bug.
/external/python/cpython2/Lib/asynchat.py
|
7dd5f3cf698a7ffb7e532719639c85f81a65dbe8 |
|
08-Mar-2002 |
Andrew M. Kuchling <amk@amk.ca> |
[Bug #491820] Define two abstract methods to shut up Pychecker, and for documentation purposes. These implementations are the same as the ones suggested by Skip in the bug report.
/external/python/cpython2/Lib/asynchat.py
|
6fd71206169c48daf9a45fe246b495bb8113fd10 |
|
08-Apr-2001 |
Tim Peters <tim.peters@gmail.com> |
Fix from the Madusa mailing list: 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.
/external/python/cpython2/Lib/asynchat.py
|
e4a1b6d7c4e96dd2af0541dd12444932260e2a66 |
|
06-Apr-2001 |
Guido van Rossum <guido@python.org> |
Make the docstring a raw string, for pydoc. (How many opre of these will we need? :-( )
/external/python/cpython2/Lib/asynchat.py
|
b5d1392d9236eae981796cb7ae15d8ecd5035ac6 |
|
06-Apr-2001 |
Tim Peters <tim.peters@gmail.com> |
Fix the fix (my error -- hasty pasty).
/external/python/cpython2/Lib/asynchat.py
|
a29b6222fe18ce79c8a16746bcdf2401389e4405 |
|
06-Apr-2001 |
Tim Peters <tim.peters@gmail.com> |
One-liner critical fix from Jim Fulton: Eric's string-method crusade got the order backwards in a line (for .find()).
/external/python/cpython2/Lib/asynchat.py
|
658cba6706eb4a2ad8b3e235cf0db9fe1c8e9e6b |
|
09-Feb-2001 |
Tim Peters <tim.peters@gmail.com> |
Whitespace normalization.
/external/python/cpython2/Lib/asynchat.py
|
b49f4a4b15228799aad77ba569971a23d21cc4f7 |
|
09-Feb-2001 |
Eric S. Raymond <esr@thyrsus.com> |
String method conversion.
/external/python/cpython2/Lib/asynchat.py
|
d305f515f9c4e3cedb3e47ec2711f1dd2a99ceb5 |
|
24-Jan-2001 |
Andrew M. Kuchling <amk@amk.ca> |
New asynchat.py from Sam Rushing: this foregoes using the regex module to find the prefix of strings, thus removing a warning, and simply uses straightforward string slicing.
/external/python/cpython2/Lib/asynchat.py
|
146965abf2378cdb248cead43a613fb81aa7d1a4 |
|
14-Jan-2001 |
Tim Peters <tim.peters@gmail.com> |
Whitespace standardization.
/external/python/cpython2/Lib/asynchat.py
|
da85a272a6216cf3583db8e25155cb3a7168b081 |
|
08-Sep-2000 |
Andrew M. Kuchling <amk@amk.ca> |
Match Sam Rushing's current version of asyncore.py and asynchat.py (SF patch 101447, fixing PR#113704)
/external/python/cpython2/Lib/asynchat.py
|
7e47402264cf87b9bbb61fc9ff610af08add7c7b |
|
16-Jul-2000 |
Thomas Wouters <thomas@python.org> |
Spelling fixes supplied by Rob W. W. Hooft. All these are fixes in either 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 ;)
/external/python/cpython2/Lib/asynchat.py
|
4b8c6eaf8b287a27e0054cf6c751448b2077e83b |
|
04-Feb-2000 |
Guido van Rossum <guido@python.org> |
Actually, the previous batch's comment should have been different; *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.
/external/python/cpython2/Lib/asynchat.py
|
0079b288f5a7b3b4441c7ceebcde0cfd1152f4db |
|
14-Sep-1999 |
Guido van Rossum <guido@python.org> |
Put Sam Rushing's original RCS ID string back, without dollars around it.
/external/python/cpython2/Lib/asynchat.py
|
a8d0f4fd2d10a1f5e05d31e048e52a1192d84321 |
|
08-Jun-1999 |
Guido van Rossum <guido@python.org> |
Sam's latest versions
/external/python/cpython2/Lib/asynchat.py
|
0039d7b4e6f07411f788dbcb52cd05d26fc7fec5 |
|
12-Jan-1999 |
Guido van Rossum <guido@python.org> |
A gift from Sam Rushing - modules asyncore and asynchat for the standard Python library. (Async socket support.)
/external/python/cpython2/Lib/asynchat.py
|