Skip to content

[3.9] bpo-21987: Fix TarFile.getmember getting a dir with a trailing slash (GH-30283) - #30738

Merged
serhiy-storchaka merged 2 commits into
python:3.9from
miss-islington:backport-cfadcc3-3.9
Jan 23, 2022
Merged

serhiy-storchaka merged 2 commits into
python:3.9from
miss-islington:backport-cfadcc3-3.9

Conversation

@miss-islington

@miss-islington miss-islington commented Jan 21, 2022 •

Copy link
Copy Markdown
Contributor

(cherry picked from commit cfadcc3)

Co-authored-by: andrei kulakov andrei.avk@gmail.com

https://bugs.python.org/issue21987

…ythonGH-30283)

(cherry picked from commit cfadcc3)

Co-authored-by: andrei kulakov <andrei.avk@gmail.com>
@miss-islington

Copy link
Copy Markdown
Contributor Author

@akulakov and @serhiy-storchaka: Status check is done, and it's a success ✅ .

1 similar comment
@miss-islington

Copy link
Copy Markdown
Contributor Author

@akulakov and @serhiy-storchaka: Status check is done, and it's a success ✅ .

@vstinner

Copy link
Copy Markdown
Member

@serhiy-storchaka: The change should be backported manually, tests fail on Python 3.9 with:

NameError: name 'os_helper' is not defined
@vstinner

Copy link
Copy Markdown
Member

@raghavthind2005 approved these changes 11 hours ago

@raghavthind2005: Did you look at test failures before approving the backport?

Comment thread Lib/test/test_tarfile.py Resolved
@serhiy-storchaka
serhiy-storchaka merged commit 94d6434 into python:3.9 Jan 23, 2022
@miss-islington
miss-islington deleted the backport-cfadcc3-3.9 branch January 23, 2022 17:54
@vstinner

Copy link
Copy Markdown
Member

Oh nice, it's a nice trick to use GitHub suggestion to modify a PR created by @miss-islington ;-)

hello-adam pushed a commit to hello-adam/cpython that referenced this pull request Jun 2, 2022
…slash (pythonGH-30283) (pythonGH-30738)

(cherry picked from commit cfadcc3)

Co-authored-by: andrei kulakov <andrei.avk@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

7 participants