bpo-37417: Fix error handling in bytearray.extend.#14407
Merged
serhiy-storchaka merged 3 commits intopython:masterfrom Jun 26, 2019
Merged
bpo-37417: Fix error handling in bytearray.extend.#14407serhiy-storchaka merged 3 commits intopython:masterfrom
serhiy-storchaka merged 3 commits intopython:masterfrom
Conversation
serhiy-storchaka
approved these changes
Jun 26, 2019
Contributor
|
Thanks @brandtbucher for the PR, and @serhiy-storchaka for merging it 🌮🎉.. I'm working now to backport this PR to: 3.7, 3.8. |
Contributor
|
I'm having trouble backporting to |
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this pull request
Jun 26, 2019
(cherry picked from commit 2a7d596) Co-authored-by: Brandt Bucher <brandtbucher@gmail.com>
|
GH-14408 is a backport of this pull request to the 3.7 branch. |
Member
Author
|
Thanks @serhiy-storchaka! Just a heads-up, it looks like the 3.8 backport timed out... |
Contributor
|
Thanks @brandtbucher for the PR, and @serhiy-storchaka 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
Jun 26, 2019
(cherry picked from commit 2a7d596) Co-authored-by: Brandt Bucher <brandtbucher@gmail.com>
|
GH-14410 is a backport of this pull request to the 3.8 branch. |
miss-islington
added a commit
that referenced
this pull request
Jun 26, 2019
Member
|
Thank you for your contribution, @brandtbucher! |
lisroach
pushed a commit
to lisroach/cpython
that referenced
this pull request
Sep 10, 2019
DinoV
pushed a commit
to DinoV/cpython
that referenced
this pull request
Jan 14, 2020
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
bytearray.extenddoesn't properly handle errors that arise during iteration of the argument:As far as I can tell, this bug is present on all versions of Python 3. This patch adds a fix and a regression test.
https://bugs.python.org/issue37417