diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2023-08-21 12:35:18 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-21 12:35:18 (GMT) |
commit | e1b069fe06d953500c2c906d26c2a06eddff5523 (patch) | |
tree | a0c34b35dec2bed1101c04a89541047ede65f69a /Python/getcompiler.c | |
parent | 238c8d236bca2fab43453d09af69eba2bab1fcb0 (diff) | |
download | cpython-e1b069fe06d953500c2c906d26c2a06eddff5523.zip cpython-e1b069fe06d953500c2c906d26c2a06eddff5523.tar.gz cpython-e1b069fe06d953500c2c906d26c2a06eddff5523.tar.bz2 |
[3.12] gh-107396: tarfiles: set self.exception before _init_read_gz() (GH-107485) (#108207)
gh-107396: tarfiles: set self.exception before _init_read_gz() (GH-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 37135d25e269ede92bc7da363bebfa574782e59a)
Co-authored-by: balmeida-nokia <83089745+balmeida-nokia@users.noreply.github.com>
Diffstat (limited to 'Python/getcompiler.c')
0 files changed, 0 insertions, 0 deletions