Nan Wu added the comment:

I see. Empty dict is considered as iterable of bytes makes good sense. I just 
left the old tests there. And explicitly give warnings when data field is of 
type str or type dict with non-bytes key.

----------
Added file: 
http://bugs.python.org/file40830/urllib_request_param_type_check_2.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue25439>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to