Author terry.reedy
Recipients eli.bendersky, hodgestar, terry.reedy
Date 2010-11-25.20:20:55
SpamBayes Score 0.000405967
Marked as misclassified No
Message-id <1290716458.66.0.163816874785.issue10534@psf.upfronthosting.co.za>
In-reply-to
Content
Expose and document the junk and popular sets as attributes of the SequenceMatcher object.

self.junk = junk
self.popular = popular

Deprecate the then unneeded and undocumented isbjunk and isbpopular functions, currently defined as
    self.isbjunk = junk.__contains__
    self.isbpopular = popular.__contains__
(and slightly modify the matcher function that localizes and uses one of the above).

Question, (how) do we  document deprecation/removal of undocumented function?

In discussions that included Tim Peters, the idea of exposing the tuning parameters of the heuristic was discussed. Now that the heuristic can be turned off, I think this is YAGNI until someone specifically requests it.
History
Date User Action Args
2010-11-25 20:20:58terry.reedysetrecipients: + terry.reedy, hodgestar, eli.bendersky
2010-11-25 20:20:58terry.reedysetmessageid: <1290716458.66.0.163816874785.issue10534@psf.upfronthosting.co.za>
2010-11-25 20:20:56terry.reedylinkissue10534 messages
2010-11-25 20:20:55terry.reedycreate