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
Tighten _is_simple_expr to only allow names and literals
As dosisod correctly pointed out, member access (@Property),
unary operators (__neg__), and binary operators (__add__) can
all have side effects via dunder methods. Only bare names and
literals are truly safe for eager evaluation.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
0 commit comments