micropython/ports
Paul Sokolovsky eb84a830df py/runtime: Implement dispatch for "reverse op" special methods.
If, for class X, X.__add__(Y) doesn't exist (or returns NotImplemented),
try Y.__radd__(X) instead.

This patch could be simpler, but requires undoing operand swap and
operation switch to get non-confusing error message in case __radd__
doesn't exist.
2017-09-10 17:05:57 +03:00
..
bare-arm all: Update Makefiles and others to build with new ports/ dir layout. 2017-09-06 14:09:13 +10:00
cc3200 all: Update Makefiles and others to build with new ports/ dir layout. 2017-09-06 14:09:13 +10:00
esp8266 esp8266: Set DEFPSIZE=1024, MINCACHE=3 for "btree" module. 2017-09-10 13:54:00 +03:00
minimal all: Update Makefiles and others to build with new ports/ dir layout. 2017-09-06 14:09:13 +10:00
pic16bit all: Update Makefiles and others to build with new ports/ dir layout. 2017-09-06 14:09:13 +10:00
qemu-arm all: Update Makefiles and others to build with new ports/ dir layout. 2017-09-06 14:09:13 +10:00
stm32 stm32/boards: Add new board B_L475E_IOT01A based on STM32L475. 2017-09-10 16:02:39 +10:00
teensy all: Update Makefiles and others to build with new ports/ dir layout. 2017-09-06 14:09:13 +10:00
unix py/runtime: Implement dispatch for "reverse op" special methods. 2017-09-10 17:05:57 +03:00
windows all: Update Makefiles and others to build with new ports/ dir layout. 2017-09-06 14:09:13 +10:00
zephyr all: Update Makefiles and others to build with new ports/ dir layout. 2017-09-06 14:09:13 +10:00