Changes between Initial Version and Version 1 of Ticket #28037


Ignore:
Timestamp:
Apr 6, 2017, 8:30:41 AM (8 years ago)
Author:
Tim Graham
Comment:

Fixing the documentation looks like the correct way to proceed. The current example shows the behavior on Python 2 was was to return a list.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #28037

    • Property Component HTTP handlingDocumentation
    • Property Triage Stage UnreviewedAccepted
    • Property Summary Inconsistency on QueryDict.items and documentationIncorrect return type in QueryDict.items()/values() docs examples
    • Property Type UncategorizedBug
  • Ticket #28037 – Description

    initial v1  
    1 There is a multiway inconsistency about the defined behaviour of `QueryDict.items` (a similar thing happens for QueryDict.values`:
     1There is an inconsistency about the defined behaviour of `QueryDict.items()` (a similar thing happens for `QueryDict.values()`:
    22
    33* The [https://github.com/django/django/blob/master/django/utils/datastructures.py#L176 current implementation] actually returns a generator object (supporting iteration only)
Back to Top