Thanks to visit codestin.com
Credit goes to github.com

Skip to content

gh-67837: avoid race condition creating tarfile parent directories #103263

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 4 commits into from

Conversation

shughes-uk
Copy link
Contributor

@shughes-uk shughes-uk commented Apr 5, 2023

This resolves a race condition detailed in #67837. It does not attempt to make tarfile completely thread safe but would be a small appreciated change!

@shughes-uk shughes-uk requested a review from ethanfurman as a code owner April 5, 2023 00:41
@ghost
Copy link

ghost commented Apr 5, 2023

All commit authors signed the Contributor License Agreement.
CLA signed

@bedevere-bot
Copy link

Most changes to Python require a NEWS entry.

Please add it using the blurb_it web app or the blurb command-line tool.

@serhiy-storchaka
Copy link
Member

Thank you for your PR @shughes-uk. This change needs tests, and writing tests for it is something non-trivial, especially for first-time contributor, so I created a separate PR #115082 with tests and fixes. I added you as a co-author.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting review stdlib Python modules in the Lib dir
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants