Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
readlines + InMemoryUploadedFile
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
bo  
View profile  
 More options Oct 15 2008, 11:47 am
From: bo <bo.blan...@gmail.com>
Date: Wed, 15 Oct 2008 08:47:03 -0700 (PDT)
Local: Wed, Oct 15 2008 11:47 am
Subject: readlines + InMemoryUploadedFile
Hi Guys,

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)

bo


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Julien Phalip  
View profile  
 More options Oct 15 2008, 5:05 pm
From: Julien Phalip <jpha...@gmail.com>
Date: Wed, 15 Oct 2008 14:05:57 -0700 (PDT)
Local: Wed, Oct 15 2008 5:05 pm
Subject: Re: readlines + InMemoryUploadedFile

> 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

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »