Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fix attribute error | Giampaolo Rodolà | 2011-03-03 | 1 | -1/+2 |
| | |||||
* | Fix issue 11265: asyncore now correctly handles EPIPE, EBADF and EAGAIN ↵ | Giampaolo Rodolà | 2011-03-03 | 1 | -4/+5 |
| | | | | errors on accept(), recv() and send(). | ||||
* | Issue 11177: asyncore's create_socket() arguments can now be omitted. | Giampaolo Rodolà | 2011-02-25 | 1 | -1/+1 |
| | |||||
* | reverting r88395 and r88387 as per ↵ | Giampaolo Rodolà | 2011-02-11 | 1 | -11/+12 |
| | | | | http://mail.python.org/pipermail/python-dev/2011-February/108005.html | ||||
* | asyncore: introduce a new 'closed' attribute to make sure that dispatcher ↵ | Giampaolo Rodolà | 2011-02-11 | 1 | -9/+11 |
| | | | | | | gets closed only once. In different occasions close() might be called more than once, causing problems with already disconnected sockets/dispatchers. | ||||
* | get rid of asyncore.dispatcher's debug attribute, which is no longer used ↵ | Giampaolo Rodolà | 2011-02-10 | 1 | -3/+0 |
| | | | | (assuming it ever was). | ||||
* | Fix issue 6706: adds new handle_accepted() method to asyncore.dispatcher | Giampaolo Rodolà | 2010-10-04 | 1 | -4/+13 |
| | |||||
* | rename DISCONNECTED global constant in _DISCONNECTED | Giampaolo Rodolà | 2010-09-15 | 1 | -3/+3 |
| | |||||
* | Store all errors signaling a disconnection into a global frozenset to save ↵ | Giampaolo Rodolà | 2010-09-15 | 1 | -2/+4 |
| | | | | some computation time on recv() and send(). | ||||
* | fix issue 658749: correctly interprets asyncore's windows errors on connect() | Giampaolo Rodolà | 2010-08-23 | 1 | -3/+3 |
| | |||||
* | fix issue #2944: asyncore doesn't handle connection refused correctly (patch ↵ | Giampaolo Rodolà | 2010-08-04 | 1 | -1/+4 |
| | | | | by Alexander Shigin). Merged from 2.7 branch. | ||||
* | #9354: Provide getsockopt() in asyncore file_wrapper(). Patch by Lukas Langa. | Georg Brandl | 2010-07-28 | 1 | -0/+8 |
| | |||||
* | Merged revisions 81294 via svnmerge from | Giampaolo Rodolà | 2010-05-18 | 1 | -2/+2 |
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81294 | giampaolo.rodola | 2010-05-18 22:04:31 +0200 (mar, 18 mag 2010) | 1 line Fix issue #8573 (asyncore._strerror bug): fixed os.strerror typo; included NameError in the tuple of expected exception; added test case for asyncore._strerror. ........ | ||||
* | Merged revisions 80880 via svnmerge from | Giampaolo Rodolà | 2010-05-06 | 1 | -2/+3 |
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r80880 | giampaolo.rodola | 2010-05-06 21:56:34 +0200 (gio, 06 mag 2010) | 1 line provides a clearer warning message when cheap inheritance with the underlying socket object is used ........ | ||||
* | Merged revisions 80875 via svnmerge from | Giampaolo Rodolà | 2010-05-06 | 1 | -5/+19 |
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r80875 | giampaolo.rodola | 2010-05-06 19:57:06 +0200 (gio, 06 mag 2010) | 1 line Fix asyncore issues 8573 and 8483: _strerror might throw ValueError; asyncore.__getattr__ cheap inheritance caused confusing error messages when accessing undefined class attributes; added an alias for __str__ which now is used as a fallback for __repr__ ........ | ||||
* | This fixes bug 5798 on OS X. | Josiah Carlson | 2009-06-03 | 1 | -2/+7 |
| | | | | This should also fix disconnect behavior cross-platform. | ||||
* | Merged revisions 70873,70904,70934,71490 via svnmerge from | R. David Murray | 2009-04-12 | 1 | -27/+25 |
| | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r70873 | josiah.carlson | 2009-03-31 15:32:34 -0400 (Tue, 31 Mar 2009) | 2 lines This resolves issue 1161031. Tests pass. ........ r70904 | josiah.carlson | 2009-03-31 17:49:36 -0400 (Tue, 31 Mar 2009) | 3 lines Made handle_expt_event() be called last, so that we don't accidentally read after closing the socket. ........ r70934 | josiah.carlson | 2009-03-31 21:28:11 -0400 (Tue, 31 Mar 2009) | 2 lines Fix for failing asyncore tests. ........ r71490 | r.david.murray | 2009-04-11 13:52:56 -0400 (Sat, 11 Apr 2009) | 4 lines Make test_asyncore tests match code changes introduced by the fix to Issue1161031, refactoring the test to simplify it in the process. ........ | ||||
* | This fixes issue 4332 for Py3k. | Josiah Carlson | 2008-11-19 | 1 | -1/+1 |
| | |||||
* | Merged revisions 65152 via svnmerge from | Georg Brandl | 2008-07-20 | 1 | -9/+9 |
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r65152 | georg.brandl | 2008-07-20 09:29:58 +0200 (Sun, 20 Jul 2008) | 2 lines Remove exception indexing in asyncore. ........ | ||||
* | Fix for AttributeError in test_asynchat. | Josiah Carlson | 2008-07-11 | 1 | -1/+1 |
| | |||||
* | Fixed bugs 760475, 953599, and 1519. This is a translation of changelist 64768 | Josiah Carlson | 2008-07-07 | 1 | -2/+4 |
| | | | | to the py3k branch. | ||||
* | Committing Py3k version of changelist 64080 and 64257, along with updated tests | Josiah Carlson | 2008-07-07 | 1 | -54/+119 |
| | | | | for smtpd, which required updating with the new semantics. | ||||
* | Fix exception slicing. | Georg Brandl | 2008-01-06 | 1 | -3/+3 |
| | |||||
* | In followup to #1310: Remove more exception indexing. | Georg Brandl | 2007-10-22 | 1 | -2/+2 |
| | |||||
* | Raise statement normalization in Lib/. | Collin Winter | 2007-08-30 | 1 | -1/+1 |
| | |||||
* | Fix test_asyncore after merge. It needs to use bytes. | Guido van Rossum | 2007-07-18 | 1 | -3/+4 |
| | |||||
* | Fix most trivially-findable print statements. | Guido van Rossum | 2007-02-09 | 1 | -1/+1 |
| | | | | | | | | | There's one major and one minor category still unfixed: doctests are the major category (and I hope to be able to augment the refactoring tool to refactor bona fide doctests soon); other code generating print statements in strings is the minor category. (Oh, and I don't know if the compiler package works.) | ||||
* | SF patch 1631942 by Collin Winter: | Guido van Rossum | 2007-01-10 | 1 | -5/+5 |
| | | | | | | (a) "except E, V" -> "except E as V" (b) V is now limited to a simple name (local variable) (c) V is now deleted at the end of the except block | ||||
* | Get rid of dict.has_key(). Boy this has a lot of repercussions! | Guido van Rossum | 2006-08-18 | 1 | -1/+1 |
| | | | | | | Not all code has been fixed yet; this is just a checkpoint... The C API still has PyDict_HasKey() and _HasKeyString(); not sure if I want to change those just yet. | ||||
* | No need to import exceptions, they are builtins | Neal Norwitz | 2005-09-01 | 1 | -2/+1 |
| | |||||
* | [Bug #1011606] Only check file descriptors for exceptional conditions if the ↵ | Andrew M. Kuchling | 2004-09-01 | 1 | -4/+10 |
| | | | | fd is readable or writable | ||||
* | Back out patch #982681 | Andrew M. Kuchling | 2004-08-13 | 1 | -8/+2 |
| | |||||
* | Whitespace normalization, via reindent.py. | Tim Peters | 2004-07-18 | 1 | -2/+2 |
| | |||||
* | [Patch #982681] Apply this patch correctly; makes set_reuse_addr() work on ↵ | Andrew M. Kuchling | 2004-07-15 | 1 | -3/+9 |
| | | | | Windows | ||||
* | In poll(), check connections for exceptional conditions | Andrew M. Kuchling | 2004-07-10 | 1 | -0/+15 |
| | |||||
* | Return value from .close(); move .set_file up | Andrew M. Kuchling | 2004-07-10 | 1 | -2/+2 |
| | |||||
* | Whitespace normalization. | Tim Peters | 2004-07-07 | 1 | -4/+3 |
| | |||||
* | For readable() objects, the previous value of 'flags' was ignored. | Andrew M. Kuchling | 2004-07-07 | 1 | -2/+2 |
| | | | | Rearrange code for writable() case to make the parallel logic clearer | ||||
* | Check in the updated version of patch #957240, which doesn't rely | Michael W. Hudson | 2004-06-30 | 1 | -3/+10 |
| | | | | on the marshalling characteristics of infinities. | ||||
* | Back out #957240. | Martin v. Löwis | 2004-06-14 | 1 | -3/+2 |
| | |||||
* | Patch #957240: Add count parameter to asyncore.loop. | Martin v. Löwis | 2004-06-03 | 1 | -2/+3 |
| | |||||
* | [Part of patch #909005] Added map parameter for file_dispatcher and ↵ | Andrew M. Kuchling | 2004-03-21 | 1 | -4/+4 |
| | | | | dispatcher_with_send | ||||
* | [Part of patch #909005] Repeating exception changed from 'raise ↵ | Andrew M. Kuchling | 2004-03-21 | 1 | -5/+5 |
| | | | | socket.error, why' to just raise. Make use of connect_ex() raise socket.error with 2-tuple instead of just error code | ||||
* | [Part of patch #909005] Remove Mac code for writable | Andrew M. Kuchling | 2004-03-21 | 1 | -8/+2 |
| | |||||
* | [Part of patch #909005] Set initial poll flags | Andrew M. Kuchling | 2004-03-21 | 1 | -2/+2 |
| | |||||
* | [Part of patch #909005] Use True/False | Andrew M. Kuchling | 2004-03-21 | 1 | -13/+13 |
| | |||||
* | [Part of patch #909005] Handle POLLPRI flag, and various errors cases. ↵ | Andrew M. Kuchling | 2004-03-21 | 1 | -1/+3 |
| | | | | Fixes bug #887279 | ||||
* | SF bug #892492: Multiple close() for asyncore.dispatcher. | Raymond Hettinger | 2004-02-08 | 1 | -0/+1 |
| | | | | | | (Contributed by Alexey Klimkin.) Don't keep the file descriptor after the channel is deleted. | ||||
* | [Part of patch #648322] Delete the poll2() function, which uses a 'poll' ↵ | Andrew M. Kuchling | 2003-10-22 | 1 | -29/+4 |
| | | | | extension module that was once part of Medusa. Contributed by Kjetil Jacobsen | ||||
* | [Bug #758241] When you use asyncore with a non-default map, methods | Andrew M. Kuchling | 2003-10-22 | 1 | -2/+7 |
| | | | | | | | | | | | of the dispatcher object break. e.g. if you close() the object, it tries to remove itself from the default map, not from the map the dispatcher was created with. The patch, from Stephane Ninin, records the map as an attribute of the dispatcher instance. 2.3 bugfix candidate. |