mirror of https://github.com/python/cpython
Issue #13835: fixes to What's new 3.3; patch by July Tikhonov
This commit is contained in:
parent
0648458b84
commit
cd8991255c
|
@ -284,7 +284,7 @@ Some smaller changes made to the core Python language are:
|
||||||
* Equality comparisons on :func:`range` objects now return a result reflecting
|
* Equality comparisons on :func:`range` objects now return a result reflecting
|
||||||
the equality of the underlying sequences generated by those range objects.
|
the equality of the underlying sequences generated by those range objects.
|
||||||
|
|
||||||
(:issue:`13021`)
|
(:issue:`13201`)
|
||||||
|
|
||||||
* The ``count()``, ``find()``, ``rfind()``, ``index()`` and ``rindex()``
|
* The ``count()``, ``find()``, ``rfind()``, ``index()`` and ``rindex()``
|
||||||
methods of :class:`bytes` and :class:`bytearray` objects now accept an
|
methods of :class:`bytes` and :class:`bytearray` objects now accept an
|
||||||
|
@ -807,8 +807,8 @@ Deprecated Python modules, functions and methods
|
||||||
|
|
||||||
* The :mod:`packaging` module replaces the :mod:`distutils` module
|
* The :mod:`packaging` module replaces the :mod:`distutils` module
|
||||||
* The ``unicode_internal`` codec has been deprecated because of the
|
* The ``unicode_internal`` codec has been deprecated because of the
|
||||||
:pep:`393`, use UTF-8, UTF-16 (``utf-16-le`` or ``utf-16-le``), or UTF-32
|
:pep:`393`, use UTF-8, UTF-16 (``utf-16-le`` or ``utf-16-be``), or UTF-32
|
||||||
(``utf-32-le`` or ``utf-32-le``)
|
(``utf-32-le`` or ``utf-32-be``)
|
||||||
* :meth:`ftplib.FTP.nlst` and :meth:`ftplib.FTP.dir`: use
|
* :meth:`ftplib.FTP.nlst` and :meth:`ftplib.FTP.dir`: use
|
||||||
:meth:`ftplib.FTP.mlsd`
|
:meth:`ftplib.FTP.mlsd`
|
||||||
* :func:`platform.popen`: use the :mod:`subprocess` module. Check especially
|
* :func:`platform.popen`: use the :mod:`subprocess` module. Check especially
|
||||||
|
|
Loading…
Reference in New Issue