kennethreitz/requests — pull request #569 by idangazit (2012-04-30 20:12:08+00:00)
Title: Proper test for str vs unicode when preparing data

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.

Supersedes #556, which I totally broke.