[Python-3000-checkins] r59424 - python/branches/py3k/Lib/test/test_xmlrpc.py

Guido van Rossum guido at python.org
Mon Dec 10 19:17:24 CET 2007

On Dec 10, 2007 9:59 AM, Christian Heimes <lists at cheimes.de> wrote:
> 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.

Excellent. It might be helpful to point to the (as many as possible of
the) test modules that could benefit from this work.

--Guido van Rossum (home page: http://www.python.org/~guido/)

More information about the Python-3000-checkins mailing list