Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #25002: Back out asyncore/asynchat deprecation. | Guido van Rossum | 2016-10-26 | 1 | -4/+0 |
| | |||||
* | Issue 25002: Deprecate asyncore/asynchat. Patch by Mariatta. | Guido van Rossum | 2016-10-25 | 1 | -0/+4 |
| | |||||
* | Issue #27355: Removed support for Windows CE. It was never finished, | Larry Hastings | 2016-09-05 | 1 | -1/+1 |
| | | | | and Windows CE is no longer a relevant platform for Python. | ||||
* | Add a source parameter to warnings.warn() | Victor Stinner | 2016-03-22 | 1 | -1/+2 |
| | | | | | | | | Issue #26604: * Add a new optional source parameter to _warnings.warn() and warnings.warn() * Modify asyncore, asyncio and _pyio modules to set the source parameter when logging a ResourceWarning warning | ||||
* | Issue #23485: select.poll.poll() is now retried when interrupted by a signal | Victor Stinner | 2015-03-30 | 1 | -4/+2 |
| | |||||
* | Issue #23485: select.select() is now retried automatically with the recomputed | Victor Stinner | 2015-03-30 | 1 | -4/+1 |
| | | | | | | | | | timeout when interrupted by a signal, except if the signal handler raises an exception. This change is part of the PEP 475. The asyncore and selectors module doesn't catch the InterruptedError exception anymore when calling select.select(), since this function should not raise InterruptedError anymore. | ||||
* | Issue #22823: Use set literals instead of creating a set from a list | Raymond Hettinger | 2014-11-09 | 1 | -3/+3 |
| | |||||
* | Issue #22054: Add os.get_blocking() and os.set_blocking() functions to get and | Victor Stinner | 2014-07-29 | 1 | -5/+1 |
| | | | | | set the blocking mode of a file descriptor (False if the O_NONBLOCK flag is set, True otherwise). These functions are not available on Windows. | ||||
* | Issue #22032: __qualname__ instead of __name__ is now always used to format | Serhiy Storchaka | 2014-07-22 | 1 | -1/+1 |
| | | | | fully qualified class names of Python implemented classes. | ||||
* | (Merge 3.4) Issue #11453: asyncore: emit a ResourceWarning when an unclosed | Victor Stinner | 2014-06-27 | 1 | -0/+8 |
|\ | | | | | | | | | file_wrapper object is destroyed. The destructor now closes the file if needed. The close() method can now be called twice: the second call does nothing. | ||||
| * | Issue #11453: asyncore: emit a ResourceWarning when an unclosed file_wrapper | Victor Stinner | 2014-06-27 | 1 | -0/+8 |
| | | | | | | | | | | object is destroyed. The destructor now closes the file if needed. The close() method can now be called twice: the second call does nothing. | ||||
* | | fix isuse #13248: remove previously deprecated asyncore.dispatcher ↵ | Giampaolo Rodola' | 2014-04-29 | 1 | -14/+0 |
|/ | | | | __getattr__ cheap inheritance hack. | ||||
* | Do not raise exception on close() on account of socket attribute still being ↵ | Giampaolo Rodola' | 2013-04-09 | 1 | -5/+6 |
| | | | | | | | | | | | | | | None: >>> import asyncore >>> d = asyncore.dispatcher() >>> d.close() Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/local/lib/python3.4/asyncore.py", line 401, in close self.socket.close() AttributeError: 'NoneType' object has no attribute 'close' >>> | ||||
* | Issue #16787: Increase asyncore and asynchat default output buffers size, to | Charles-François Natali | 2013-01-01 | 1 | -1/+1 |
| | | | | decrease CPU usage and increase throughput. | ||||
* | Issue #16717: get rid of socket.error, replace with OSError | Andrew Svetlov | 2012-12-18 | 1 | -9/+9 |
| | |||||
* | Issue #16714: use 'raise' exceptions, don't 'throw'. | Andrew Svetlov | 2012-12-18 | 1 | -1/+1 |
|\ | | | | | | | Patch by Serhiy Storchaka. | ||||
| * | Issue #16714: use 'raise' exceptions, don't 'throw'. | Andrew Svetlov | 2012-12-18 | 1 | -1/+1 |
| | | | | | | | | Patch by Serhiy Storchaka. | ||||
* | | merge 79422b3684f1 in 3.3 branch (issue 10340) | Giampaolo Rodola' | 2012-03-22 | 1 | -8/+9 |
|\ \ | |/ | |||||
| * | fix #10340: properly handle EINVAL on OSX and also avoid to call ↵ | Giampaolo Rodola' | 2012-03-22 | 1 | -8/+9 |
| | | | | | | | | handle_connect() in case of a disconnetected socket which is not meant to connect. | ||||
| * | Fix issue #13694: asynchronous connect in asyncore.dispatcher does not set addr. | Giampaolo Rodola' | 2012-03-20 | 1 | -0/+1 |
| | | |||||
| * | Merge - Issue #12502: asyncore: fix polling loop with AF_UNIX sockets. | Charles-François Natali | 2011-07-14 | 1 | -2/+4 |
| | | |||||
| * | Merged revisions 88726 via svnmerge from | Giampaolo Rodolà | 2011-03-03 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r88726 | giampaolo.rodola | 2011-03-03 15:10:58 +0100 (gio, 03 mar 2011) | 1 line fix attribute error ........ | ||||
| * | Merged revisions 88722 via svnmerge from | Giampaolo Rodolà | 2011-03-03 | 1 | -4/+5 |
| | | | | | | | | | | | | | | | | | | | | 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 #13694: asynchronous connect in asyncore.dispatcher does not set addr. | Giampaolo Rodola' | 2012-03-20 | 1 | -0/+1 |
| | | |||||
* | | asyncore: POLLERR, POLLHUP and POLLNVAL are ignored when passed as input flag | Charles-François Natali | 2011-11-05 | 1 | -3/+0 |
| | | | | | | | | to poll(2): don't set them. | ||||
* | | Use InterruptedError instead of checking for EINTR | Antoine Pitrou | 2011-10-23 | 1 | -9/+4 |
| | | |||||
* | | Merge - Issue #12502: asyncore: fix polling loop with AF_UNIX sockets. | Charles-François Natali | 2011-07-14 | 1 | -2/+4 |
| | | |||||
* | | 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 |
| |