Skip to content

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

Closed
shughes-uk wants to merge 4 commits into
python:mainfrom
shughes-uk:patch-1
Closed

gh-67837: avoid race condition creating tarfile parent directories#103263
shughes-uk wants to merge 4 commits into
python:mainfrom
shughes-uk:patch-1

Conversation

@shughes-uk

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

Copy link
Copy Markdown
Contributor

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

ghost commented Apr 5, 2023

Copy link
Copy Markdown

All commit authors signed the Contributor License Agreement.
CLA signed

@bedevere-bot

Copy link
Copy Markdown

Most changes to Python require a NEWS entry.

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

@arhadthedev arhadthedev added the stdlib Standard Library Python modules in the Lib/ directory label Apr 5, 2023
@serhiy-storchaka

Copy link
Copy Markdown
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 Standard Library Python modules in the Lib/ directory

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants