circuitpython/minimal
Damien George 06593fb0f2 py: Use a wrapper to explicitly check self argument of builtin methods.
Previous to this patch a call such as list.append(1, 2) would lead to a
seg fault.  This is because list.append is a builtin method and the first
argument to such methods is always assumed to have the correct type.

Now, when a builtin method is extracted like this it is wrapped in a
checker object which checks the the type of the first argument before
calling the builtin function.

This feature is contrelled by MICROPY_BUILTIN_METHOD_CHECK_SELF_ARG and
is enabled by default.

See issue #1216.
2015-06-20 16:39:39 +01:00
..
main.c pyexec: Make raw REPL work with event-driven version of pyexec. 2015-05-06 00:02:58 +01:00
Makefile string0.c: Move from stmhal/ to lib/. 2015-04-05 21:57:55 +03:00
mpconfigport.h py: Use a wrapper to explicitly check self argument of builtin methods. 2015-06-20 16:39:39 +01:00
qstrdefsport.h minimal: New port, intended to represent minimal working code. 2015-01-13 03:17:47 +02:00
stm32f405.ld minimal: New port, intended to represent minimal working code. 2015-01-13 03:17:47 +02:00
uart_core.c minimal: Allow to compile without defining MICROPY_HAL_H. 2015-02-13 15:26:53 +00:00
uart_extra.c minimal: Allow to compile without defining MICROPY_HAL_H. 2015-02-13 15:26:53 +00:00