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 Claude Paroz, 12 years ago

Component: UncategorizedTesting framework
Has patch: unset
Triage Stage: UnreviewedAccepted
Type: UncategorizedNew feature

comment:2 by Russell Keith-Magee, 12 years ago

Easy pickings: set

comment:3 by Chris Wilson, 12 years ago

comment:4 by EmilStenstrom, 12 years ago

Has patch: set
Patch needs improvement: set

comment:5 by Chris Wilson, 12 years ago

thanks @mjtamlyn for the review, i've removed the useless init method.

comment:6 by FrankBie, 12 years ago

Triage Stage: AcceptedReady for checkin

works for me ready to checkin

comment:7 by Anssi Kääriäinen, 12 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.
Back to Top