Allow to set a readable resource name instead of reusing it's slug for that.
Forgot one `fileinfo` missing `source_name`.
Retry the same request at least 3 times.
Show the problematic text on the error message.
Update imports and put fallbacks in place
Use new style exceptions
Use new style octal literals
Use six' iteritems compatibility function
Use Python 2.6 built-in next
Unroll context managers of deprecated contextlib.nested
Use io module for reading README, no BOM stripping
Add Python 3 classifier to setup.py
Replace unicode
Port raw_input to input
Replace call of has_key with in-check
Listify Python 3 iterators
Raise proper Exception, not string
Access __doc__ of func before trying func_doc
Fix missing import rename
Provide a simpler default value.

Behaviour is kept identical as it was.