R. David Murray <rdmur...@bitdance.com> added the comment: For backward compatibility this would have to be something more like:
if not isinstance(default, list): if isinstance(default, string): default = [default] else: default = list(default) return ', '.join(self.headers_get_all(name, default)) Care to work up a patch, including unit test (it looks like the unit tests live in test_httplib)? ---------- components: +Library (Lib) keywords: +easy nosy: +r.david.murray stage: -> unit test needed type: crash -> behavior _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue8572> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com