Message 122912 - Python tracker (original) (raw)
- Lets have the ValueError raised from the urllib/request.py. Changing it to isinstance(data,collections.Iterable) as Antoine suggested is okay here too.
Xuanji is right: it's not. We want bytes to be accepted, and it's an iterable.