[Python-3000-checkins] r59424 - python/branches/py3k/Lib/test/test_xmlrpc.py
lists at cheimes.de
Mon Dec 10 18:59:24 CET 2007
Guido van Rossum wrote:
> I'm not sure I'd bother backporting something that only affects the tests.
> I do think that we could do with more support for unit tests that
> create a server in a thread; there seem to be a few somewhat faulty
> patterns that have been copied over and over and then have to be fixed
> each time we think of an improvement.
I've already discussed the matter with Georg Brandl. We think it would
be a nice task for GHOP to write a server factory for threaded server
tests. The factory could encapsulate the creation of servers, a post
creation method and a tearDown() method. I've to give some thoughts to
the necessary API and use cases. I'll shoot a mail to Python dev before
I create the GHOP issue.
The threaded server tests are fragile and can easily lead to a dead lock
when a test fails unexpected.
More information about the Python-3000-checkins