cpython icon indicating copy to clipboard operation
cpython copied to clipboard

Update `tarfile.extractall` and friends to use `filter='data'` by default

Open edgarrmondragon opened this issue 9 months ago • 1 comments

It was deprecated in 3.12 and set for removal in 3.14.

  • https://github.com/python/cpython/issues/102950
  • https://github.com/python/cpython/pull/102953

I can open a PR to tackle this if that's ok.

Linked PRs

  • gh-118940

edgarrmondragon avatar May 10 '24 01:05 edgarrmondragon

Note it's filter='data'. The warning message should stay but could mention this is only necessary on 3.12 & 3.13. And that you need to check this manually before that.

nineteendo avatar May 10 '24 06:05 nineteendo