#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: I just released an update of django-downloadview where:

 * files on local filesystem are opened using binary mode by default
 * VirtualFile (generated files, StringIO) overrides `__iter__()`
 implementation to use `force_bytes()`

 => It looks like django-downloadview works even if Django's File is byte-
 oriented.

 So, I cannot tell if the feature request / bug report is still valid.
 Any idea jeremiahsavage?

-- 
Ticket URL: <https://code.djangoproject.com/ticket/21321#comment:12>
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.2c68d92af8aaacb7d9615cf2f61f9fab%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to