#13222: unexpected HttpResponse iteration behavior
-------------------------------------+-------------------------------------
     Reporter:  teepark              |                    Owner:  aaugustin
         Type:  Bug                  |                   Status:  new
    Component:  HTTP handling        |                  Version:  1.3-rc1
     Severity:  Normal               |               Resolution:
     Keywords:                       |             Triage Stage:  Ready for
    Has patch:  1                    |  checkin
  Needs tests:  0                    |      Needs documentation:  0
Easy pickings:  0                    |  Patch needs improvement:  0
                                     |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by teepark):

 LGTM, with the assumption that this works for every python version we care
 about:

 {{{
 >>> l = [1,2,3]
 >>> i = iter(l)
 >>> l.append(4)
 >>> list(i)
 [1, 2, 3, 4]
 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/13222#comment:21>
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 post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to