kennethreitz/clint — comment on commit 3a40b682f44ae34b93c9097fb0bdda5fff8622b1
File:  line 0
By takluyver:

If we don't need to support Python 2.5 (and I think my adding Python 3 compaibility made that harder), this could simply be `isinstance(value, bytes)`. For 2.6 & 2.7, bytes is aliased to str.