@@ -796,6 +796,10 @@ Some smaller changes made to the core Python language are:
796796
797797 (Contributed by Petri Lehtinen in :issue: `12170 `)
798798
799+ * The ``rjust() ``, ``ljust() ``, and ``center() `` methods of :class: `bytes `
800+ and :class: `bytearray ` now accept a :class: `bytearray ` for the ``fill ``
801+ argument. (Contributed by Petri Lehtinen in :issue: `12380 `.)
802+
799803* New methods have been added to :class: `list ` and :class: `bytearray `:
800804 ``copy() `` and ``clear() `` (:issue: `10516 `). Consequently,
801805 :class: `~collections.abc.MutableSequence ` now also defines a
@@ -2192,6 +2196,9 @@ Changes to Python's build process and to the C API include:
21922196 * :c:macro: `PyUnicode_READ `, :c:macro: `PyUnicode_READ_CHAR `, :c:macro: `PyUnicode_WRITE `
21932197 * :c:macro: `PyUnicode_MAX_CHAR_VALUE `
21942198
2199+ * :c:macro: `PyArg_ParseTuple ` now accepts a :class: `bytearray ` for the ``c ``
2200+ format (:issue: `12380 `).
2201+
21952202
21962203
21972204Deprecated
@@ -2211,6 +2218,8 @@ OSF support, which was deprecated in 3.2, has been completely removed.
22112218Deprecated Python modules, functions and methods
22122219------------------------------------------------
22132220
2221+ * Passing a non-empty string to ``object.__format__() `` is deprecated, and
2222+ will produce a :exc: `TypeError ` in Python 3.4 (:issue: `9856 `).
22142223* The ``unicode_internal `` codec has been deprecated because of the
22152224 :pep: `393 `, use UTF-8, UTF-16 (``utf-16-le `` or ``utf-16-be ``), or UTF-32
22162225 (``utf-32-le `` or ``utf-32-be ``)
@@ -2438,6 +2447,11 @@ Porting Python code
24382447 factory functions by subclassing the private classes will need to change to
24392448 subclass the now-public classes.
24402449
2450+ * The undocumented debugging machinery in the threading module has been
2451+ removed, simplifying the code. This should have no effect on production
2452+ code, but is mentioned here in case any application debug frameworks were
2453+ interacting with it (:issue: `13550 `).
2454+
24412455
24422456Porting C code
24432457--------------
0 commit comments