One of my lingering issues deals with security on file objects that
prevents me from passing a file to another method and then accessing
"read". Right now, I've got a function that fetches a file using
urllib2, but I pass back a string (return file.read()) instead of the
file to get around this issue.
What's the best way to pass around a file object with open permissions?
Zope3-users mailing list