A mention in Misc/NEWS can't hurt here, Terry. Even though it's
undocumented, some old code could rely on it being there and this code will
break with the transition to 3.4

Eli


On Tue, Mar 19, 2013 at 4:44 PM, terry.reedy <python-check...@python.org>wrote:

> http://hg.python.org/cpython/rev/612d8bbcfa3a
> changeset:   82807:612d8bbcfa3a
> user:        Terry Jan Reedy <tjre...@udel.edu>
> date:        Tue Mar 19 19:44:04 2013 -0400
> summary:
>   Issue #13248: removed deprecated and undocumented difflib.isbjunk,
> isbpopular.
>
> files:
>   Lib/difflib.py |  14 --------------
>   1 files changed, 0 insertions(+), 14 deletions(-)
>
>
> diff --git a/Lib/difflib.py b/Lib/difflib.py
> --- a/Lib/difflib.py
> +++ b/Lib/difflib.py
> @@ -336,20 +336,6 @@
>              for elt in popular: # ditto; as fast for 1% deletion
>                  del b2j[elt]
>
> -    def isbjunk(self, item):
> -        "Deprecated; use 'item in SequenceMatcher().bjunk'."
> -        warnings.warn("'SequenceMatcher().isbjunk(item)' is deprecated;\n"
> -                      "use 'item in SMinstance.bjunk' instead.",
> -                      DeprecationWarning, 2)
> -        return item in self.bjunk
> -
> -    def isbpopular(self, item):
> -        "Deprecated; use 'item in SequenceMatcher().bpopular'."
> -        warnings.warn("'SequenceMatcher().isbpopular(item)' is
> deprecated;\n"
> -                      "use 'item in SMinstance.bpopular' instead.",
> -                      DeprecationWarning, 2)
> -        return item in self.bpopular
> -
>      def find_longest_match(self, alo, ahi, blo, bhi):
>          """Find longest matching block in a[alo:ahi] and b[blo:bhi].
>
>
> --
> Repository URL: http://hg.python.org/cpython
>
> _______________________________________________
> Python-checkins mailing list
> python-check...@python.org
> http://mail.python.org/mailman/listinfo/python-checkins
>
>
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to