[issue10534] difflib.SequenceMatcher: expose junk sets, deprecate undocumented isb... functions.
Terry J. Reedy
report at bugs.python.org
Fri Dec 3 02:19:25 CET 2010
Terry J. Reedy <tjreedy at udel.edu> added the comment:
Here is a pretty minimal patch to expose bjunk and bpopular as attributes and document them along with b2j, which is already exposed but not documented.
I suppose the proposed paragraph could be formatted as a list, perhaps after
":class:`SequenceMatcher` objects have the following methods:"
with 'methods' expanded to 'attributes and methods'. But I do not know how to do that and personally prefer what I wrote.
However, Georg, I am adding you as nosy so you can comment on the doc addition *before* I commit this tomorrow, to get it in the beta.
Still to do: improve the doctests, including those added as part of #2986, to use the exposed sets (they are already implicitly tested by the existing tests); deprecate the two obsolete function attributes, as discussed on pydev.
The docstrings and code comments might stand revision, and there is an XXX todo in the doc yet.
----------
keywords: +patch
nosy: +georg.brandl
stage: unit test needed -> commit review
Added file: http://bugs.python.org/file19915/difflib.10534.diff
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10534>
_______________________________________
More information about the Python-bugs-list
mailing list