| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1278,9 +1278,10 @@ PyConfig | |||
| 1278 | 1278 | ||
| 1279 | 1279 | Default: ``0``. | |
| 1280 | 1280 | ||
| 1281 | - .. deprecated:: 3.15 | ||
| 1281 | + .. deprecated-removed:: 3.15 3.17 | ||
| 1282 | 1282 | ||
| 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. | ||
| 1284 | 1285 | ||
| 1285 | 1286 | .. c:member:: int warn_default_encoding | |
| 1286 | 1287 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -254,9 +254,9 @@ Miscellaneous options | |||
| 254 | 254 | .. versionchanged:: 3.5 | |
| 255 | 255 | Affects also comparisons of :class:`bytes` with :class:`int`. | |
| 256 | 256 | ||
| 257 | - .. deprecated-removed:: 3.15 3.17 | ||
| 257 | + .. deprecated:: 3.15 | ||
| 258 | 258 | ||
| 259 | - Deprecate :option:`-b` and :option:`!-bb` | ||
| 259 | + Deprecate :option:`-b` and :option:`!-bb` command line options | ||
| 260 | 260 | and schedule them to become no-op in Python 3.17. | |
| 261 | 261 | These were primarily helpers for the Python 2 -> 3 transition. | |
| 262 | 262 | 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 | |||
| 540 | 540 | CLI | |
| 541 | 541 | --- | |
| 542 | 542 | ||
| 543 | - * Deprecate :option:`-b` and :option:`!-bb` | ||
| 543 | + * Deprecate :option:`-b` and :option:`!-bb` command line options | ||
| 544 | 544 | and schedule them to become no-op in Python 3.17. | |
| 545 | 545 | These were primarily helpers for the Python 2 -> 3 transition. | |
| 546 | 546 | Starting with Python 3.17, no :exc:`BytesWarning` will be raised | |
@@ -763,6 +763,11 @@ Deprecated C APIs | |||
| 763 | 763 | :c:func:`_Py_c_abs` are :term:`soft deprecated`. | |
| 764 | 764 | (Contributed by Sergey B Kirpichev in :gh:`128813`.) | |
| 765 | 765 | ||
| 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 | + | ||
| 766 | 771 | ||
| 767 | 772 | .. Add C API deprecations above alphabetically, not here at the end. | |
| 768 | 773 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,2 +1,5 @@ | |||
| 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. | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments