[issue19259] Provide Python implementation of operator.compare_digest()

Terry J. Reedy report at bugs.python.org
Sat Oct 19 19:59:51 CEST 2013


Terry J. Reedy added the comment:

attrgetter and itemgetter are partial versions of getattr (. operator) and op.getitem ([] operator). I see now that _compare_digest might have more clearly been named _eq_strng_slow ;-). ('Compare' implies to me a -1, 0, 1 return.)

Are you planning to leave the initial '_' and if so, would this function be documented?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19259>
_______________________________________


More information about the Python-bugs-list mailing list