Proper test for str vs unicode when preparing data
Before adoption: this commit came in with the history the project adopted, so no landing records it.
In python 2.x, requests sets str = unicode in requests/compat.py. This causes isinstance(foo, str) to return True even if foo is a unicode string.
authored by Idan Gazit · committed by Donald Stufft · parent 798dc4a · Browse files · 1 file+4 added−2 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
1 file+4 added−2 removed
- other:+4 added−2 removed