This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author russellballestrini
Recipients russellballestrini
Date 2014-04-24.14:41:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1398350530.77.0.0668395281532.issue21344@psf.upfronthosting.co.za>
In-reply-to
Content
The current implementation of difflib's get_close_matches() function computes computationally complex scores (ratios) but then tosses them out without giving the end-user the chance to have at them.

This patch adds an optional "scores" boolean argument that may be passed to alter the return output from a list of words, to a list of (score, word) tuples.
History
Date User Action Args
2014-04-24 14:42:12russellballestrinisetrecipients: + russellballestrini
2014-04-24 14:42:10russellballestrinisetmessageid: <1398350530.77.0.0668395281532.issue21344@psf.upfronthosting.co.za>
2014-04-24 14:42:10russellballestrinilinkissue21344 messages
2014-04-24 14:42:10russellballestrinicreate