File tree Expand file tree Collapse file tree 4 files changed +16
-7
lines changed
Misc/NEWS.d/next/Core_and_Builtins Expand file tree Collapse file tree 4 files changed +16
-7
lines changed Original file line number Diff line number Diff line change @@ -1278,9 +1278,10 @@ PyConfig
12781278
12791279 Default: ``0``.
12801280
1281- .. deprecated:: 3.15
1281+ .. deprecated-removed :: 3.15 3.17
12821282
1283- Deprecated, will become no-op in 3.17.
1283+ Deprecated, :option:`-b` and :option:`!-bb` will become no-op in 3.17.
1284+ :c:member:`~PyConfig.bytes_warning` will be removed in 3.17.
12841285
12851286 .. c:member:: int warn_default_encoding
12861287
Original file line number Diff line number Diff line change @@ -254,9 +254,9 @@ Miscellaneous options
254254 .. versionchanged :: 3.5
255255 Affects also comparisons of :class: `bytes ` with :class: `int `.
256256
257- .. deprecated-removed :: 3.15 3.17
257+ .. deprecated :: 3.15
258258
259- Deprecate :option: `-b ` and :option: `!-bb `
259+ Deprecate :option: `-b ` and :option: `!-bb ` command line options
260260 and schedule them to become no-op in Python 3.17.
261261 These were primarily helpers for the Python 2 -> 3 transition.
262262 Starting with Python 3.17, no :exc: `BytesWarning ` will be raised
Original file line number Diff line number Diff line change @@ -540,7 +540,7 @@ Deprecated
540540CLI
541541---
542542
543- * Deprecate :option: `-b ` and :option: `!-bb `
543+ * Deprecate :option: `-b ` and :option: `!-bb ` command line options
544544 and schedule them to become no-op in Python 3.17.
545545 These were primarily helpers for the Python 2 -> 3 transition.
546546 Starting with Python 3.17, no :exc: `BytesWarning ` will be raised
@@ -763,6 +763,11 @@ Deprecated C APIs
763763 :c:func: `_Py_c_abs ` are :term: `soft deprecated `.
764764 (Contributed by Sergey B Kirpichev in :gh: `128813 `.)
765765
766+ * :c:member: `~PyConfig.bytes_warning ` is deprecated
767+ since 3.15 and will be removed in 3.17.
768+
769+ (Contributed by Nikita Sobolev in :gh: `136355 `.)
770+
766771
767772.. Add C API deprecations above alphabetically, not here at the end.
768773
Original file line number Diff line number Diff line change 1- Deprecate :option: `-b ` and :option: `!-bb ` and schedule them
2- to become no-op in Python 3.17.
1+ Deprecate :option: `-b ` and :option: `!-bb ` command line options
2+ and schedule them to become no-op in Python 3.17.
3+
4+ Deprecate :c:member: `PyConfig.bytes_warning ` field
5+ and schedule its removal in 3.17.
You can’t perform that action at this time.
0 commit comments