• Damien George's avatar
    py: Allow to properly disable builtin "set" object. · e37dcaaf
    Damien George authored
    This patch makes MICROPY_PY_BUILTINS_SET compile-time option fully
    disable the builtin set object (when set to 0).  This includes removing
    set constructor/comprehension from the grammar, the compiler and the
    emitters.  Now, enabling set costs 8168 bytes on unix x64, and 3576
    bytes on stmhal.