You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bytearray_repeat uses ob_bytes rather than ob_start as its source data for copying, leading to incorrect results in some edge cases where the two are distinct. It should probably use PyByteArray_AS_STRING(self) just like bytearray_irepeat and basically all the other functions.
As far as I can see, these edge cases occur pretty much only after bytearray_setslice_linear, where ob_start can be adjusted without changing ob_bytes.
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: