Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#12506 closed (fixed)

django.utils.functional.lazy objects fail when there are multiple expected classes with the same method

Reported by: Alex Gaynor Owned by: nobody
Component: Uncategorized Version: master
Severity: Keywords:
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description (last modified by Alex Gaynor)

In particular this means things like __iter__ don't work if you have expected_types = [list, tuple] .

Attachments (1)

diff.diff (2.0 KB) - added by Alex Gaynor 7 years ago.

Download all attachments as: .zip

Change History (4)

Changed 7 years ago by Alex Gaynor

Attachment: diff.diff added

comment:1 Changed 7 years ago by Alex Gaynor

Description: modified (diff)
Triage Stage: UnreviewedAccepted

comment:2 Changed 7 years ago by Luke Plant

Resolution: fixed
Status: newclosed

(In [12104]) Fixed #12506 - 'lazy' fails when there are multiple expected classes with the same method

Thanks to Alex for report and patch

comment:3 Changed 7 years ago by Luke Plant

(In [12105]) [1.1.X] Fixed #12506 - 'lazy' fails when there are multiple expected classes with the same method

Thanks to Alex for report and patch

Backport of r12104 from trunk.

Note: See TracTickets for help on using tickets.
Back to Top