Documentation
The documentation for TarFile.extraction_filter under "New in version 3.11.4." it states:
"In Python 3.12+, leaving extraction_filter=None will emit a DeprecationWarning.
In Python 3.14+, leaving extraction_filter=None will cause extraction methods to use the data filter by default."
Perhaps this is a forward looking comment about behavior to expect in Python releases 3.12 and 3.14, but I suspect that they should instead be something like "Python 3.11.2+" and "Python 3.11.4+" to document existing behavior.
Linked PRs
Documentation
The documentation for
TarFile.extraction_filterunder "New in version 3.11.4." it states:"In Python 3.12+, leaving extraction_filter=None will emit a DeprecationWarning.
In Python 3.14+, leaving extraction_filter=None will cause extraction methods to use the data filter by default."
Perhaps this is a forward looking comment about behavior to expect in Python releases 3.12 and 3.14, but I suspect that they should instead be something like "Python 3.11.2+" and "Python 3.11.4+" to document existing behavior.
Linked PRs
TarFile.extraction_filterfuture release references more clear #109908