• Damien George's avatar
    py: Allow to properly disable builtin slice operation. · 83204f34
    Damien George authored
    This patch makes the MICROPY_PY_BUILTINS_SLICE compile-time option
    fully disable the builtin slice operation (when set to 0).  This
    includes removing the slice sytanx from the grammar.  Now, enabling
    slice costs 4228 bytes on unix x64, and 1816 bytes on stmhal.