KEMBAR78
[3.11] gh-107396: tarfiles: set self.exception before _init_read_gz() (GH-107485) by miss-islington · Pull Request #108208 · python/cpython · GitHub
Skip to content

Conversation

@miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Aug 21, 2023

In the stack call of: _init_read_gz()

_read, tarfile.py:548
read, tarfile.py:526
_init_read_gz, tarfile.py:491

a try;except exists that uses self.exception, so it needs to be set before
calling _init_read_gz().
(cherry picked from commit 37135d2)

Co-authored-by: balmeida-nokia 83089745+balmeida-nokia@users.noreply.github.com

…ythonGH-107485)

In the stack call of: _init_read_gz()
```
_read, tarfile.py:548
read, tarfile.py:526
_init_read_gz, tarfile.py:491
```
a try;except exists that uses `self.exception`, so it needs to be set before
calling _init_read_gz().
(cherry picked from commit 37135d2)

Co-authored-by: balmeida-nokia <83089745+balmeida-nokia@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type-bug An unexpected behavior, bug, or error

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants