RPython chokes on dicts with values of different types
this is a problem in the case when we want to "as_str" the pseudo-enum . So we just filter the int-value part of the dict and, as a small optimization use a translate-time unrolling of the if-switch.
Please register or sign in to comment