#21321: File.__iter__().chunk python3 compatibility
----------------------------------+------------------------------------
     Reporter:  jeremiahsavage@…  |                    Owner:  nobody
         Type:  New feature       |                   Status:  new
    Component:  Core (Other)      |                  Version:  master
     Severity:  Normal            |               Resolution:
     Keywords:  python3           |             Triage Stage:  Accepted
    Has patch:  1                 |      Needs documentation:  0
  Needs tests:  0                 |  Patch needs improvement:  1
Easy pickings:  0                 |                    UI/UX:  0
----------------------------------+------------------------------------

Comment (by benoitbryon):

 > Note that about the OP use case, it's actually a bug in django-
 downloadview. As the file type is not known in PathDownloadView, binary
 mode should be explicitly specified in the open() call.

 Created https://github.com/benoitbryon/django-downloadview/issues/57 about
 binary VS text mode.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/21321#comment:10>
Django <https://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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/082.1703c4e5e0314ebc976d6eafcbc4ceb8%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to