@@ -537,6 +537,17 @@ module_name
537537Deprecated
538538==========
539539
540+ CLI
541+ ---
542+
543+ * Deprecate :option: `-b ` and :option: `!-bb ` command line options
544+ and schedule them to become no-op in Python 3.17.
545+ These were primarily helpers for the Python 2 -> 3 transition.
546+ Starting with Python 3.17, no :exc: `BytesWarning ` will be raised
547+ for these cases; use a type checker instead.
548+
549+ (Contributed by Nikita Sobolev in :gh: `136355 `.)
550+
540551hashlib
541552-------
542553
@@ -775,6 +786,10 @@ Deprecated C APIs
775786 :c:func: `_Py_c_abs ` are :term: `soft deprecated `.
776787 (Contributed by Sergey B Kirpichev in :gh: `128813 `.)
777788
789+ * :c:member: `~PyConfig.bytes_warning ` is deprecated
790+ since 3.15 and will be removed in 3.17.
791+ (Contributed by Nikita Sobolev in :gh: `136355 `.)
792+
778793
779794.. Add C API deprecations above alphabetically, not here at the end.
780795
@@ -800,6 +815,11 @@ Removed C APIs
800815 of :c:func: `PyImport_ImportModule `.
801816 (Contributed by Bénédikt Tran in :gh: `133644 `.)
802817
818+ * Remove deprecated :c:func: `!PySys_ResetWarnOptions `.
819+ Clear :data: `sys.warnoptions ` and :data: `!warnings.filters ` instead.
820+
821+ (Contributed by Nikita Sobolev in :gh: `138886 `.)
822+
803823The following functions are removed in favor of :c:func: `PyConfig_Get `.
804824The |pythoncapi_compat_project | can be used to get :c:func: `!PyConfig_Get `
805825on Python 3.13 and older.
0 commit comments