#8149: UploadedFile doesn't iterate over lines with \r line endings
--------------------------------+-------------------------------------------
Reporter: mrmachine | Owner: nobody
Status: closed | Milestone: 1.0
Component: Forms | Version: SVN
Resolution: wontfix | Keywords: UploadedFile
Stage: Accepted | Has_patch: 1
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
--------------------------------+-------------------------------------------
Changes (by mtredinnick):
* status: new => closed
* resolution: => wontfix
Comment:
Universal newline handling only makes sense for files generated/stored on
the local system, where the newline convention is known. The
`UploadedFile` class, pretty much by definition, is for data that has come
from, and been generated on, a remote system that we know nothing about.
So trying to use the appropriate line-ending handling is an unattainable
goal for that situation. #8656 is the ticket to make sure this is
documented.
--
Ticket URL: <http://code.djangoproject.com/ticket/8149#comment:6>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---