@@ -56,8 +56,8 @@ For full details, see the :ref:`changelog <changelog>`.
5656 so it's worth checking back even after reading earlier versions.
5757
5858
59- Summary --- release highlights
60- ==============================
59+ Summary -- Release highlights
60+ =============================
6161
6262.. This section singles out the most important changes in Python 3.15.
6363 Brevity is key.
@@ -615,55 +615,55 @@ module_name
615615Deprecated
616616==========
617617
618- CLI
619- ---
618+ New deprecations
619+ ----------------
620620
621- * Deprecate :option: `-b ` and :option: `!-bb ` command line options
622- and schedule them to become no-op in Python 3.17.
623- These were primarily helpers for the Python 2 -> 3 transition.
624- Starting with Python 3.17, no :exc: `BytesWarning ` will be raised
625- for these cases; use a type checker instead.
621+ * CLI:
626622
627- (Contributed by Nikita Sobolev in :gh: `136355 `.)
623+ * Deprecate :option: `-b ` and :option: `!-bb ` command-line options
624+ and schedule them to become no-op in Python 3.17.
625+ These were primarily helpers for the Python 2 -> 3 transition.
626+ Starting with Python 3.17, no :exc: `BytesWarning ` will be raised
627+ for these cases; use a type checker instead.
628628
629- hashlib
630- -------
629+ (Contributed by Nikita Sobolev in :gh: `136355 `.)
631630
632- * In hash function constructors such as :func: `~hashlib.new ` or the
633- direct hash-named constructors such as :func: `~hashlib.md5 ` and
634- :func: `~hashlib.sha256 `, their optional initial data parameter could
635- also be passed a keyword argument named ``data= `` or ``string= `` in
636- various :mod: `hashlib ` implementations.
631+ * :mod: `hashlib `:
637632
638- Support for the ``string `` keyword argument name is now deprecated and
639- is slated for removal in Python 3.19. Prefer passing the initial data as
640- a positional argument for maximum backwards compatibility.
633+ * In hash function constructors such as :func: `~hashlib.new ` or the
634+ direct hash-named constructors such as :func: `~hashlib.md5 ` and
635+ :func: `~hashlib.sha256 `, their optional initial data parameter could
636+ also be passed a keyword argument named ``data= `` or ``string= `` in
637+ various :mod: `hashlib ` implementations.
641638
642- (Contributed by Bénédikt Tran in :gh: `134978 `.)
639+ Support for the ``string `` keyword argument name is now deprecated and
640+ is slated for removal in Python 3.19. Prefer passing the initial data as
641+ a positional argument for maximum backwards compatibility.
643642
644- __version__
645- -----------
643+ (Contributed by Bénédikt Tran in :gh: `134978 `.)
644+
645+ * ``__version__ ``
646+
647+ * The ``__version__ `` attribute has been deprecated in these standard library
648+ modules and will be removed in Python 3.20.
649+ Use :py:data: `sys.version_info ` instead.
650+
651+ - :mod: `argparse `
652+ - :mod: `csv `
653+ - :mod: `!ctypes.macholib `
654+ - :mod: `ipaddress `
655+ - :mod: `json `
656+ - :mod: `logging ` (``__date__ `` also deprecated)
657+ - :mod: `optparse `
658+ - :mod: `pickle `
659+ - :mod: `platform `
660+ - :mod: `re `
661+ - :mod: `socketserver `
662+ - :mod: `tabnanny `
663+ - :mod: `tkinter.font `
664+ - :mod: `tkinter.ttk `
646665
647- * The ``__version__ `` attribute has been deprecated in these standard library
648- modules and will be removed in Python 3.20.
649- Use :py:data: `sys.version_info ` instead.
650-
651- - :mod: `argparse `
652- - :mod: `csv `
653- - :mod: `!ctypes.macholib `
654- - :mod: `ipaddress `
655- - :mod: `json `
656- - :mod: `logging ` (``__date__ `` also deprecated)
657- - :mod: `optparse `
658- - :mod: `pickle `
659- - :mod: `platform `
660- - :mod: `re `
661- - :mod: `socketserver `
662- - :mod: `tabnanny `
663- - :mod: `tkinter.font `
664- - :mod: `tkinter.ttk `
665-
666- (Contributed by Hugo van Kemenade in :gh: `76007 `.)
666+ (Contributed by Hugo van Kemenade in :gh: `76007 `.)
667667
668668.. Add deprecations above alphabetically, not here at the end.
669669
0 commit comments