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. Christian _______________________________________________ Python-3000-checkins mailing list [email protected] http://mail.python.org/mailman/listinfo/python-3000-checkins
