bpo-39366: Remove xpath() and xgtitle() methods of NNTP (GH-18035)

This commit is contained in:
Dong-hee Na 2020-01-23 06:59:43 +09:00 committed by Berker Peksag
parent b477d19a6b
commit 1f0f102dec
4 changed files with 9 additions and 66 deletions

View file

@ -363,6 +363,13 @@ Deprecated
Removed
=======
* :class:`nntplib.NNTP`: ``xpath()`` and ``xgtitle()`` methods have been removed.
These methods are deprecated since Python 3.3. Generally, these extensions
are not supported or not enabled by NNTP server administrators.
For ``xgtitle()``, please use :meth:`nntplib.NNTP.descriptions` or
:meth:`nntplib.NNTP.description` instead.
(Contributed by Dong-hee Na in :issue:`39366`.)
* :class:`array.array`: ``tostring()`` and ``fromstring()`` methods have been
removed. They were aliases to ``tobytes()`` and ``frombytes()``, deprecated
since Python 3.2.