Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-05-19 | py/runtime: If inplace binop fails then try corresponding normal binop. | Damien George | |
The code that handles inplace-operator to normal-binary-operator fallback is moved in this commit from py/objtype.c to py/runtime.c, making it apply to all types, not just user classes. Signed-off-by: Damien George <damien@micropython.org> | |||
2014-08-13 | py: Fix mult by negative number of tuple, list, str, bytes. | Damien George | |
Multiplication of a tuple, list, str or bytes now yields an empty sequence (instead of crashing). Addresses issue #799 Also added ability to mult bytes on LHS by integer. |