> Is there a reason why InMemoryUploadedFile does not proxy readlines as
> well from StringIO? seems like it should (especially if using PIL
> directly from the uploaded file)
I can't see any reason, you may want to open a ticket. There seems to
be a number of missing proxies. For example, 'tell()' is missing from
the Windows-specific implementation of TemporaryFile, which also
causes PIL to crash.
See:
http://code.djangoproject.com/ticket/9344