← Back to events
ActiveAIRelease

trunk/b74c3864e80a297ab81441720f8215970ae049e4: [dynamo] Support bytearray.append() and extend() (#199675)

What happened

ByteArrayVariable had no append/extend, so calling either on a bytearray graph broke. This adds both to tp_methods. Both follow the existing in-place ops on ByteArrayVariable (+=, *=, %=): build the result in a new buffer, record the mutation with side_effects, and swap self.data. For a bytearray that came in as an input, the existing bytearray_mutation replay handler writes the result back with old[:] = new after t…

Summary assembled by rule from the sources below

Why it's spreading

Sources