Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merged revisions 88722 via svnmerge from | Giampaolo Rodolà | 2011-03-03 | 1 | -5/+9 |
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r88722 | giampaolo.rodola | 2011-03-03 14:57:47 +0100 (gio, 03 mar 2011) | 1 line Fix issue 11265: asyncore now correctly handles EPIPE, EBADF and EAGAIN errors on accept(), recv() and send(). ........ | ||||
* | Fix Issue 6706: return None on connect() in case of EWOULDBLOCK/ECONNABORTED ↵ | Giampaolo Rodolà | 2010-11-01 | 1 | -4/+7 |
| | | | | error. | ||||
* | Merged revisions 84284 via svnmerge from | Giampaolo Rodolà | 2010-08-23 | 1 | -3/+3 |
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r84284 | giampaolo.rodola | 2010-08-23 23:53:41 +0200 (lun, 23 ago 2010) | 1 line fix issue 658749: correctly interprets asyncore's windows errors on connect() ........ | ||||
* | fix issue #2944: asyncore doesn't handle connection refused correctly (patch ↵ | Giampaolo Rodolà | 2010-08-04 | 1 | -1/+4 |
| | | | | by Alexander Shigin) | ||||
* | Merged revisions 83201 via svnmerge from | Georg Brandl | 2010-08-01 | 1 | -0/+8 |
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r83201 | georg.brandl | 2010-07-28 10:19:35 +0200 (Mi, 28 Jul 2010) | 1 line #9354: Provide getsockopt() in asyncore file_wrapper(). Patch by Lukas Langa. ........ | ||||
* | Fix issue #8573 (asyncore._strerror bug): fixed os.strerror typo; included ↵ | Giampaolo Rodolà | 2010-05-18 | 1 | -2/+2 |
| | | | | NameError in the tuple of expected exception; added test case for asyncore._strerror. | ||||
* | provides a clearer warning message when cheap inheritance with the ↵ | Giampaolo Rodolà | 2010-05-06 | 1 | -2/+3 |
| | | | | underlying socket object is used | ||||
* | Fix asyncore issues 8573 and 8483: _strerror might throw ValueError; ↵ | Giampaolo Rodolà | 2010-05-06 | 1 | -5/+18 |
| | | | | 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__ | ||||
* | Fix for line wrap ugly. | Josiah Carlson | 2009-06-03 | 1 | -2/+1 |
| | |||||
* | This fixes bug 5798 on OS X. | Josiah Carlson | 2009-06-03 | 1 | -2/+8 |
| | | | | This should also fix disconnect behavior cross-platform. | ||||
* | Fix for failing asyncore tests. | Josiah Carlson | 2009-04-01 | 1 | -1/+1 |
| | |||||
* | Made handle_expt_event() be called last, so that we don't accidentally read | Josiah Carlson | 2009-03-31 | 1 | -2/+2 |
| | | | | after closing the socket. | ||||
* | This resolves issue 1161031. Tests pass. | Josiah Carlson | 2009-03-31 | 1 | -27/+25 |
| | |||||
* | Fix for issue 4332 in trunk. | Josiah Carlson | 2008-11-19 | 1 | -1/+1 |
| | |||||
* | undoing change that broke trunk. Need to find a better solution to this. | Josiah Carlson | 2008-09-07 | 1 | -1/+1 |
| | |||||
* | This fixes a small inconsistency between trunk and 3.0, closing bug 3764. | Josiah Carlson | 2008-09-07 | 1 | -1/+1 |
| | |||||
* | Remove a dict.has_key() use to silence a warning when running under -3. | Brett Cannon | 2008-08-02 | 1 | -1/+1 |
| | |||||
* | Remove exception indexing in asyncore. | Georg Brandl | 2008-07-20 | 1 | -9/+9 |
| | |||||
* | Fix for the AttributeError in test_asynchat. | Josiah Carlson | 2008-07-11 | 1 | -1/+1 |
| | |||||
* | Fixed bugs 760475, 953599, and 1519. | Josiah Carlson | 2008-07-07 | 1 | -2/+4 |
| | |||||
* | Fixed test to reflect new filedispatcher semantics, as well as two | Josiah Carlson | 2008-06-10 | 1 | -2/+2 |
| | | | | NameErrors pointed out by Giampaolo. | ||||
* | Applying updated patch from Issue 1736190, which addresses partial | Josiah Carlson | 2008-06-10 | 1 | -46/+113 |
| | | | | | | 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. | ||||
* | 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. | ||||
* | Fix a bunch of typos in documentation, docstrings and comments. | Walter Dörwald | 2003-10-20 | 1 | -1/+1 |
| | | | | (From SF patch #810751) | ||||
* | Fix comment typo | Andrew M. Kuchling | 2003-02-14 | 1 | -1/+1 |
| | |||||
* | Add XXX about Winsock error values | Guido van Rossum | 2002-12-26 | 1 | -0/+1 |
| | |||||
* | Fix an old bug in poll(). When a signal is handled while we're | Guido van Rossum | 2002-11-05 | 1 | -0/+2 |
| | | | | | | | | | | | | 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. | ||||
* | Again, I did check in too many changes. Sorry. | Thomas Heller | 2002-09-26 | 1 | -1/+1 |
| | |||||
* | On Windows, select() does not accept empty lists. | Thomas Heller | 2002-09-24 | 1 | -5/+9 |
| | | | | | | Patch suggested by Guido, fixes SF item 611464. Bugfix candidate, will backport to release22-maint myself. | ||||
* | Fiddle with compact_traceback(). | Guido van Rossum | 2002-09-13 | 1 | -7/+6 |
| | | | | More whitespace cleanup. |