GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||
GeezerVison is showing github.com — [3.9] gh-102950: Implement PEP 706 – Filter for tarfile.extractall (GH-102953) by encukou · Pull Request #104382 · python/cpython Conversation
|
|
🤖 New build scheduled with the buildbot fleet by @encukou for commit 2772bc6 🤖 If you want to schedule another build, you need to add the 🔨 test-with-buildbots label again. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Buildbots are green except:
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@encukou if so, 3.8 is also still supported for security fixes. I'd lean +0 because it would:
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
The workaround is quite involved in this case, so one of the suggestions is: if hasattr(tarfile, 'data_filter'): my_tarfile.extractall(filter='data') else: # remove this when no longer needed warn_the_user('Extracting may be unsafe; consider updating Python') my_tarfile.extractall() See the PEP's section on backporting: https://peps.python.org/pep-0706/#backporting-forward-compatibility
FWIW, in RHEL we'll probably need to backport regardless of your decision (and probably go with a more aggressive variant, to boot). And yes, if it goes in, 3.8 and 3.7 is next. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@encukou if you're going to do it for Red Hat anyway, I will happily take it for 3.9 and 3.8. The window for 3.7 support closes in June and I'm sure @ned-deily would accept the filter for the last release of that, too. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.