summaryrefslogtreecommitdiffstatshomepage
path: root/tools/tinytest-codegen.py
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-11-30 14:01:33 +0000
committerDamien George <damien.p.george@gmail.com>2014-11-30 14:01:33 +0000
commitc7ca01ad962e70a7ecc3beb4feb41da47a372309 (patch)
tree26f1a6ace6c6e2c264b46caea51059c88f6245ba /tools/tinytest-codegen.py
parentd8c2b2a1c4d695bbb709f4f132708d9121c3ec03 (diff)
downloadmicropython-c7ca01ad962e70a7ecc3beb4feb41da47a372309.tar.gz
micropython-c7ca01ad962e70a7ecc3beb4feb41da47a372309.zip
py: Generalise and reduce code size of array +, += and .extend().
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.
Diffstat (limited to 'tools/tinytest-codegen.py')
0 files changed, 0 insertions, 0 deletions