kennethreitz/requests — pull request #2379 by arthurdarcet (2014-12-12 15:16:43+00:00)
Title: utils.guess_filename fails if the given parameter looks like a file object but has a non-string name attribute

A cherrypy uploaded file behave like a regular file, except that its name attribute is an int and passing it directly to requests fails because of that