Skip to content

bpo-37976: Prevent shadowing of TypeError in zip()#15592

Merged
rhettinger merged 1 commit into
python:masterfrom
sir-sigurd:zip-shadow-error
Aug 30, 2019
Merged

bpo-37976: Prevent shadowing of TypeError in zip()#15592
rhettinger merged 1 commit into
python:masterfrom
sir-sigurd:zip-shadow-error

Conversation

@sir-sigurd

@sir-sigurd sir-sigurd commented Aug 29, 2019

Copy link
Copy Markdown
Contributor

Comment thread Python/bltinmodule.c Outdated

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Might make sense to do the same for all exceptions types, but I'm not sure if it's OK for compatibility.

@rhettinger rhettinger self-assigned this Aug 29, 2019
@miss-islington

Copy link
Copy Markdown
Contributor

Thanks @sir-sigurd for the PR, and @rhettinger for merging it 🌮🎉.. I'm working now to backport this PR to: 3.8.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Aug 30, 2019
(cherry picked from commit 6a650aa)

Co-authored-by: Sergey Fedoseev <fedoseev.sergey@gmail.com>
@bedevere-bot

Copy link
Copy Markdown

GH-15607 is a backport of this pull request to the 3.8 branch.

@miss-islington

Copy link
Copy Markdown
Contributor

Thanks @sir-sigurd for the PR, and @rhettinger for merging it 🌮🎉.. I'm working now to backport this PR to: 3.8.
🐍🍒⛏🤖

@miss-islington

Copy link
Copy Markdown
Contributor

Thanks @sir-sigurd for the PR, and @rhettinger for merging it 🌮🎉.. I'm working now to backport this PR to: 3.8.
🐍🍒⛏🤖

@bedevere-bot

Copy link
Copy Markdown

GH-15608 is a backport of this pull request to the 3.8 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Aug 30, 2019
(cherry picked from commit 6a650aa)

Co-authored-by: Sergey Fedoseev <fedoseev.sergey@gmail.com>
rhettinger pushed a commit that referenced this pull request Aug 30, 2019
(cherry picked from commit 6a650aa)

Co-authored-by: Sergey Fedoseev <fedoseev.sergey@gmail.com>
@sir-sigurd sir-sigurd deleted the zip-shadow-error branch August 30, 2019 18:22
lisroach pushed a commit to lisroach/cpython that referenced this pull request Sep 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants