Message122400
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. |
|
Date |
User |
Action |
Args |
2010-11-25 20:20:58 | terry.reedy | set | recipients:
+ terry.reedy, hodgestar, eli.bendersky |
2010-11-25 20:20:58 | terry.reedy | set | messageid: <1290716458.66.0.163816874785.issue10534@psf.upfronthosting.co.za> |
2010-11-25 20:20:56 | terry.reedy | link | issue10534 messages |
2010-11-25 20:20:55 | terry.reedy | create | |
|