diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2021-04-26 19:39:51 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-26 19:39:51 (GMT) |
commit | d0698c676ca1b7d34be4165a631bf4847583de76 (patch) | |
tree | cbbf1f3808028add2c1ec80ca128f2cb319a2406 /Lib/asyncio/protocols.py | |
parent | c9c1dbd253d70665c1fd20e6341f9a08e21f37f4 (diff) | |
download | cpython-d0698c676ca1b7d34be4165a631bf4847583de76.zip cpython-d0698c676ca1b7d34be4165a631bf4847583de76.tar.gz cpython-d0698c676ca1b7d34be4165a631bf4847583de76.tar.bz2 |
bpo-42924: Fix incorrect copy in bytearray_repeat (GH-24208) (#24211)
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 61d8c54f43a7871d016f98b38f86858817d927d5)
Co-authored-by: Tobias Holl <TobiasHoll@users.noreply.github.com>
Diffstat (limited to 'Lib/asyncio/protocols.py')
0 files changed, 0 insertions, 0 deletions