Content-Length: 305756 | pFad | https://github.com/python/cpython/pull/108207

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

[3.12] gh-107396: tarfiles: set self.exception before _init_read_gz() (GH-107485) - #108207

Merged
Yhg1s merged 1 commit into
python:3.12from
miss-islington:backport-37135d2-3.12
Aug 21, 2023
Merged

[3.12] gh-107396: tarfiles: set self.exception before _init_read_gz() (GH-107485)#108207
Yhg1s merged 1 commit into
python:3.12from
miss-islington:backport-37135d2-3.12

Conversation

@miss-islington

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

Copy link
Copy Markdown
Contributor

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









ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/python/cpython/pull/108207

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy