https://github.com/python/cpython/commit/bf44248c59c20cbab81bd0db568ff196fadfaa71
commit: bf44248c59c20cbab81bd0db568ff196fadfaa71
branch: main
author: Gregory P. Smith <[email protected]>
committer: gpshead <[email protected]>
date: 2026-10-31T20:59:22Z
summary:

gh-160314: Remove versionchanged notes added for a bugfix (GH-161036)

The bz2 and lzma docs gained versionchanged notes in GH-160315, but
bugfix-level behavior changes are not recorded with versionchanged.

files:
M Doc/library/bz2.rst
M Doc/library/lzma.rst

diff --git a/Doc/library/bz2.rst b/Doc/library/bz2.rst
index bb7028526acf97..e52565dd4bb0a7 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 ef6e931fb11f4f..ae3dcd811fbec0 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
 -------------

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]

Reply via email to