Opened 12 years ago
Closed 12 years ago
#20404 closed New feature (fixed)
Add a keys() method to ContextList
| Reported by: | Chris Wilson | Owned by: | nobody |
|---|---|---|---|
| Component: | Testing framework | Version: | dev |
| Severity: | Normal | Keywords: | |
| Cc: | Triage Stage: | Ready for checkin | |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | yes |
| Easy pickings: | yes | UI/UX: | no |
Description
It's useful to be able to list all the (flattened) keys of a
ContextList, to help you figure out why the variable that's supposed to
be there is not. A ContextList is hard to interpret in pdb without a
method like this.
Change History (7)
comment:1 by , 12 years ago
| Component: | Uncategorized → Testing framework |
|---|---|
| Has patch: | unset |
| Triage Stage: | Unreviewed → Accepted |
| Type: | Uncategorized → New feature |
comment:2 by , 12 years ago
| Easy pickings: | set |
|---|
comment:3 by , 12 years ago
comment:4 by , 12 years ago
| Has patch: | set |
|---|---|
| Patch needs improvement: | set |
comment:6 by , 12 years ago
| Triage Stage: | Accepted → Ready for checkin |
|---|
works for me ready to checkin
comment:7 by , 12 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Created a pull request: https://github.com/django/django/pull/1065