Opened 14 years ago

Closed 14 years ago

Last modified 14 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: dev
Severity: Keywords:
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

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 14 years ago.

Download all attachments as: .zip

Change History (4)

by Alex Gaynor, 14 years ago

Attachment: diff.diff added

comment:1 by Alex Gaynor, 14 years ago

Description: modified (diff)
Triage Stage: UnreviewedAccepted

comment:2 by Luke Plant, 14 years ago

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 by Luke Plant, 14 years ago

(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