facility. Provides a better way to handle file descriptor close. Address issue #15002 . Patch contributed by Christian Theune.
This change also adds a minimal unittest of urllib.response.addbase. More are needed, but not to cover the small change being made here. Addresses http://bugs.python.org/issue5418