Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#12506 closed (fixed)

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

Reported by: Alex 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)

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

Download all attachments as: .zip

Change History (4)

Changed 6 years ago by Alex

comment:1 Changed 6 years ago by Alex

  • Description modified (diff)
  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Accepted

comment:2 Changed 6 years ago by lukeplant

  • Resolution set to fixed
  • Status changed from new to closed

(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 6 years ago by lukeplant

(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