Neal Norwitz [Sun, 26 Aug 2007 06:29:57 +0000 (06:29 +0000)]
Reap children before the test starts so hopefully SocketServer
won't find any old children left around which causes an exception
in collect_children() and the test to fail.
Gregory P. Smith [Sun, 26 Aug 2007 00:26:00 +0000 (00:26 +0000)]
keep setup.py from listing unneeded hash modules (_md5, _sha*) as
missing when they were not built because _hashlib with openssl provided
their functionality instead.
Guido van Rossum [Sat, 25 Aug 2007 15:08:43 +0000 (15:08 +0000)]
Server-side SSL and certificate validation, by Bill Janssen.
While cleaning up Bill's C style, I may have cleaned up some code
he didn't touch as well (in _ssl.c).
Alex Martelli [Wed, 22 Aug 2007 21:14:17 +0000 (21:14 +0000)]
Fix compile.c so that it records 0.0 and -0.0 as separate constants in a code
object's co_consts tuple; add a test to show that the previous behavior (where
these two constants were "collapsed" into one) causes serious malfunctioning.
Facundo Batista [Tue, 21 Aug 2007 16:57:18 +0000 (16:57 +0000)]
Added test for behavior of operations on an unconnected SMTP object,
and tests for NOOP, RSET, and VRFY. Corrected typo in a comment for
testNonnumericPort. Added a check for constructing SMTP objects when
non-numeric ports are included in the host name. Derived a server from
SMTPServer to test various ESMTP/SMTP capabilities. Check that a
second HELO to DebuggingServer returns an error. [GSoC - Alan McIntyre]
Mark Hammond [Tue, 21 Aug 2007 01:05:16 +0000 (01:05 +0000)]
[ 1761786 ] distutils.util.get_platform() return value on 64bit Windows
As discussed on distutils-sig: Allows the generated installer name on
64bit Windows platforms to be different than the name generated for
32bit Windows platforms.
Mark Hammond [Tue, 21 Aug 2007 01:04:47 +0000 (01:04 +0000)]
[ 1761786 ] distutils.util.get_platform() return value on 64bit Windows
As discussed on distutils-sig: Allows the generated installer name on
64bit Windows platforms to be different than the name generated for
32bit Windows platforms.
Facundo Batista [Tue, 21 Aug 2007 00:16:21 +0000 (00:16 +0000)]
Catch ProtocolError exceptions and include the header information in
test output (to make it easier to debug test failures caused by
problems in the server). [GSoC - Alan McIntyre]
Guido van Rossum [Mon, 20 Aug 2007 15:18:04 +0000 (15:18 +0000)]
Add a hack (originally devised in a slightly different form by Thomas Wouters)
to prevent spurious tracebacks when a daemon thread's cleanup happens to wake
up when the world around it has already been destroyed.
Facundo Batista [Fri, 17 Aug 2007 19:16:44 +0000 (19:16 +0000)]
Added a flag (_send_traceback_header) to the SimpleXMLRPCServer class
that allows sending back exception/stack trace information about
internal server errors (this flag defaults to False to avoid sending
such information unless explicitly enabled). Added tests to verify
behavior of this new feature (these tests are skipped on win32 because
of problems with WSAEWOULDBLOCK). Renamed HTTPTestCase to
SimpleServerTestCase. [GSoC - Alan McIntyre]
Mark Summerfield [Thu, 16 Aug 2007 10:09:22 +0000 (10:09 +0000)]
Added a note in each regarding the fact that unicode strings that look the same
may not compare equal (due to the possibility of multiple representations).
Facundo Batista [Tue, 14 Aug 2007 13:35:00 +0000 (13:35 +0000)]
Added tests for simple function calls and introspection that are run
against a SimpleXMLRPCServer in a separate thread. Because of
problems with WSAEWOULDBLOCK (error 10035) being raised by the server
on Windows, these new tests are skipped on win32. [GSoC - Alan McIntyre]