Walter Woods <woodswal...@gmail.com> added the comment:

couchdb-python makes http requests, yes.  

Passing in a number might be mildly inappropriate, BUT I'd like to point out 
that the default might be used to find out if the header is not set (hence its 
default value of None).  

It should not assume that a string is the proper input; any sentinel value 
should work (especially as python is dynamic, and the default parameter is not 
actually used for the function's logic).

Which goes back to the original patch, unless a list or tuple is provided, in 
which case the list is comma joined for backwards compatibility as suggested by 
David.

----------

_______________________________________
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

Reply via email to