Commit Graph

76 Commits

Author SHA1 Message Date
Josiah Carlson
96b79c851a Fix for line wrap ugly. 2009-06-03 19:51:52 +00:00
Josiah Carlson
a810bc736c This fixes bug 5798 on OS X.
This should also fix disconnect behavior cross-platform.
2009-06-03 19:46:21 +00:00
Josiah Carlson
bb94d43dcd Fix for failing asyncore tests. 2009-04-01 01:28:11 +00:00
Josiah Carlson
aba27dd6d9 Made handle_expt_event() be called last, so that we don't accidentally read
after closing the socket.
2009-03-31 21:49:36 +00:00
Josiah Carlson
df90b02415 This resolves issue 1161031. Tests pass. 2009-03-31 19:32:34 +00:00
Josiah Carlson
a98d72d598 Fix for issue 4332 in trunk. 2008-11-19 18:26:12 +00:00
Josiah Carlson
b7a841ca40 undoing change that broke trunk. Need to find a better solution to this. 2008-09-07 04:37:10 +00:00
Josiah Carlson
1680b8c16c This fixes a small inconsistency between trunk and 3.0, closing bug 3764. 2008-09-07 03:53:58 +00:00
Brett Cannon
0d89407a0d Remove a dict.has_key() use to silence a warning when running under -3. 2008-08-02 03:32:13 +00:00
Georg Brandl
61d5c43011 Remove exception indexing in asyncore. 2008-07-20 07:29:58 +00:00
Josiah Carlson
b65b4c3a47 Fix for the AttributeError in test_asynchat. 2008-07-11 22:17:14 +00:00
Josiah Carlson
ff5f42088b Fixed bugs 760475, 953599, and 1519. 2008-07-07 04:51:46 +00:00
Josiah Carlson
b67b53db51 Fixed test to reflect new filedispatcher semantics, as well as two
NameErrors pointed out by Giampaolo.
2008-06-10 15:58:19 +00:00
Josiah Carlson
1a72d88abf 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.
2008-06-10 05:00:08 +00:00
Neal Norwitz
4ce69a5b06 No need to import exceptions, they are builtins 2005-09-01 00:45:28 +00:00
Andrew M. Kuchling
e47c381c62 [Bug #1011606] Only check file descriptors for exceptional conditions if the fd is readable or writable 2004-09-01 14:04:51 +00:00
Andrew M. Kuchling
9d499f2f96 Back out patch #982681 2004-08-13 20:06:57 +00:00
Tim Peters
182b5aca27 Whitespace normalization, via reindent.py. 2004-07-18 06:16:08 +00:00
Andrew M. Kuchling
5336f8caa4 [Patch #982681] Apply this patch correctly; makes set_reuse_addr() work on Windows 2004-07-15 16:17:07 +00:00
Andrew M. Kuchling
0fff6c8651 In poll(), check connections for exceptional conditions 2004-07-10 17:36:11 +00:00
Andrew M. Kuchling
dfa74b97ec Return value from .close(); move .set_file up 2004-07-10 15:51:19 +00:00
Tim Peters
4e0e1b6a54 Whitespace normalization. 2004-07-07 20:54:48 +00:00
Andrew M. Kuchling
6fe93cdeb3 For readable() objects, the previous value of 'flags' was ignored.
Rearrange code for writable() case to make the parallel logic clearer
2004-07-07 12:23:53 +00:00
Michael W. Hudson
d5cf143482 Check in the updated version of patch #957240, which doesn't rely
on the marshalling characteristics of infinities.
2004-06-30 09:02:33 +00:00
Martin v. Löwis
ad21945d03 Back out #957240. 2004-06-14 04:58:42 +00:00