From b52bc1c05f83b05bec61b9c06b03646278cc0b89 Mon Sep 17 00:00:00 2001 From: "Gregory P. Smith" Date: Sat, 31 Oct 2026 20:51:42 +0000 Subject: [PATCH] gh-160314: Remove versionchanged notes added for a bugfix The bz2 and lzma docs gained versionchanged notes in GH-160315, but bugfix-level behavior changes are not recorded with versionchanged. --- Doc/library/bz2.rst | 8 -------- Doc/library/lzma.rst | 8 -------- 2 files changed, 16 deletions(-) diff --git a/Doc/library/bz2.rst b/Doc/library/bz2.rst index bb7028526acf972..e52565dd4bb0a77 100644 --- a/Doc/library/bz2.rst +++ b/Doc/library/bz2.rst @@ -191,10 +191,6 @@ The :mod:`!bz2` module contains: readers or writers, just like its equivalent classes in :mod:`gzip` and :mod:`lzma` have always been. - .. versionchanged:: next - A damaged bzip2 stream that follows another stream now raises - :exc:`OSError` instead of being ignored as trailing data. - Incremental (de)compression --------------------------- @@ -311,10 +307,6 @@ One-shot (de)compression .. versionchanged:: 3.3 Support for multi-stream inputs was added. - .. versionchanged:: next - A damaged bzip2 stream that follows another stream now raises - :exc:`OSError` instead of being ignored as trailing data. - Miscellaneous ------------- diff --git a/Doc/library/lzma.rst b/Doc/library/lzma.rst index ef6e931fb11f4fc..ae3dcd811fbec0f 100644 --- a/Doc/library/lzma.rst +++ b/Doc/library/lzma.rst @@ -140,10 +140,6 @@ Reading and writing compressed files .. versionchanged:: 3.6 Accepts a :term:`path-like object`. - .. versionchanged:: next - A damaged ``.xz`` stream that follows another stream now raises - :exc:`LZMAError` instead of being ignored as trailing data. - Compressing and decompressing data in memory -------------------------------------------- @@ -304,10 +300,6 @@ Compressing and decompressing data in memory See :class:`LZMADecompressor` above for a description of the *format*, *memlimit* and *filters* arguments. - .. versionchanged:: next - A damaged ``.xz`` stream that follows another stream now raises - :exc:`LZMAError` instead of being ignored as trailing data. - Miscellaneous -------------