Josiah Carlson
aae55cbab4
This fixes issue 4332 for Py3k.
2008-11-19 18:22:41 +00:00
Georg Brandl
f112369463
Merged revisions 65152 via svnmerge from
...
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.
........
2008-07-20 07:31:30 +00:00
Josiah Carlson
c31bc9a498
Fix for AttributeError in test_asynchat.
2008-07-11 22:18:27 +00:00
Josiah Carlson
9f2f83338f
Fixed bugs 760475, 953599, and 1519. This is a translation of changelist 64768
...
to the py3k branch.
2008-07-07 05:04:12 +00:00
Josiah Carlson
d74900ebb5
Committing Py3k version of changelist 64080 and 64257, along with updated tests
...
for smtpd, which required updating with the new semantics.
2008-07-07 04:15:08 +00:00
Georg Brandl
7357c23ee7
Fix exception slicing.
2008-01-06 18:23:30 +00:00
Georg Brandl
6464d47195
In followup to #1310 : Remove more exception indexing.
2007-10-22 16:16:13 +00:00
Collin Winter
ce36ad8a46
Raise statement normalization in Lib/.
2007-08-30 01:19:48 +00:00
Guido van Rossum
df4a743ac0
Fix test_asyncore after merge. It needs to use bytes.
2007-07-18 20:57:44 +00:00
Guido van Rossum
be19ed77dd
Fix most trivially-findable print statements.
...
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.)
2007-02-09 05:37:30 +00:00
Guido van Rossum
b940e113bf
SF patch 1631942 by Collin Winter:
...
(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
2007-01-10 16:19:56 +00:00
Guido van Rossum
e2b70bcf74
Get rid of dict.has_key(). Boy this has a lot of repercussions!
...
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.
2006-08-18 22:13:04 +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
Martin v. Löwis
eac324b90b
Patch #957240 : Add count parameter to asyncore.loop.
2004-06-03 09:18:35 +00:00
Andrew M. Kuchling
67867eaf8c
[Part of patch #909005 ] Added map parameter for file_dispatcher and dispatcher_with_send
2004-03-21 20:03:18 +00:00