keys need a __cmp__() function
Bug #1089865 reported by
Johannes Kulick
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
PyGPGME |
New
|
Undecided
|
Unassigned |
Bug Description
If you handle keys in an application it would be useful to have a comparison operator for them, e.g. an implementation of __cmp__() such that list.remove(x) etc. would work.
To post a comment you must log in.
What exactly would the function do?