Skip to content
  • Damien George's avatar
    py: Generalise and reduce code size of array +, += and .extend(). · c7ca01ad
    Damien George authored
    By using the buffer protocol for these array operations, we now allow
    addition of memoryview objects, and objects with "incompatible"
    typecodes (in this case it just adds bytes naively).  This is an
    extension to CPython which seems sensible.  It also reduces the code
    size.
    c7ca01ad