You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use __a and __b as the names, so we can catch name mangling bugs
Constrain what kind of expressions appear in subscripts, so we generate less code like (1)[a] that will fail at runtime. I feel such code is less likely to be interesting, as the TypeError from the subscript could hide more interesting errors.
Another one: the repro case from python/cpython#104619 actually crashed the evalserver with a RecursionError, because the function returned itself and we kept recursively calling it. We should put some limit on the recursive namespace evaluation.
A couple of things we should consider changing:
__a
and__b
as the names, so we can catch name mangling bugs(1)[a]
that will fail at runtime. I feel such code is less likely to be interesting, as the TypeError from the subscript could hide more interesting errors.The text was updated successfully, but these errors were encountered: