Skip to content

[3.9] bpo-42924: Fix incorrect copy in bytearray_repeat (GH-24208)#24211

Merged
ambv merged 1 commit intopython:3.9from
miss-islington:backport-61d8c54-3.9
Apr 26, 2021
Merged

[3.9] bpo-42924: Fix incorrect copy in bytearray_repeat (GH-24208)#24211
ambv merged 1 commit intopython:3.9from
miss-islington:backport-61d8c54-3.9

Conversation

@miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Jan 13, 2021

Before, using the * operator to repeat a bytearray would copy data from the start of
the internal buffer (ob_bytes) and not from the start of the actual data (ob_start).
(cherry picked from commit 61d8c54)

Co-authored-by: Tobias Holl [email protected]

https://bugs.python.org/issue42924

Before, using the * operator to repeat a bytearray would copy data from the start of
the internal buffer (ob_bytes) and not from the start of the actual data (ob_start).
(cherry picked from commit 61d8c54)

Co-authored-by: Tobias Holl <[email protected]>
@miss-islington
Copy link
Contributor Author

@TobiasHoll and @serhiy-storchaka: Status check is done, and it's a success ✅ .

@miss-islington
Copy link
Contributor Author

@TobiasHoll and @serhiy-storchaka: Status check is done, and it's a pending ❌ .

@miss-islington
Copy link
Contributor Author

@TobiasHoll and @serhiy-storchaka: Status check is done, and it's a success ✅ .

@github-actions
Copy link

This PR is stale because it has been open for 30 days with no activity.

@github-actions github-actions bot added the stale Stale PR or inactive for long period of time. label Feb 13, 2021
@ambv ambv merged commit d0698c6 into python:3.9 Apr 26, 2021
@bedevere-bot
Copy link

@ambv: Please replace # with GH- in the commit message next time. Thanks!

@miss-islington miss-islington deleted the backport-61d8c54-3.9 branch April 26, 2021 19:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

stale Stale PR or inactive for long period of time. type-bug An unexpected behavior, bug, or error

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants