Opened 12 years ago
Closed 12 years ago
#18447 closed New feature (fixed)
LazyObject doesn't unwrap on dict access
Reported by: | FunkyBob | Owned by: | Zbigniew Siciarz |
---|---|---|---|
Component: | Utilities | Version: | dev |
Severity: | Normal | Keywords: | |
Cc: | d1fffuz0r@…, flo@… | Triage Stage: | Accepted |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | yes | UI/UX: | no |
Description
Attachments (3)
Change History (13)
by , 12 years ago
Attachment: | lazy.patch added |
---|
comment:1 by , 12 years ago
comment:2 by , 12 years ago
Needs documentation: | set |
---|---|
Needs tests: | set |
comment:3 by , 12 years ago
Needs documentation: | unset |
---|---|
Triage Stage: | Unreviewed → Accepted |
comment:4 by , 12 years ago
Cc: | added |
---|---|
Version: | 1.4 → master |
Added tests for the path
https://github.com/django/django/pull/416
Version 0, edited 12 years ago by (next)
comment:5 by , 12 years ago
Cc: | added |
---|---|
Needs tests: | unset |
I think putting the test and the patch into one file would make applying the patch a tiny bit easier.
comment:7 by , 12 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:8 by , 12 years ago
I added more meaningful assertions and renamed the test case to be more consistent with others. Pull request here: https://github.com/django/django/pull/829
comment:9 by , 12 years ago
Component: | Uncategorized → Utilities |
---|
comment:10 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
Makes sense to me, how about a test?