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
Will run copy() for each level of optimization, so there's a lazy evaluation aspect to x when optimization= is provided that impacts how to read and write tests using the new argument. Does that make sense?
I see. In principle it is that seem as for other tests. If multiple execution of a single test works, then the execution of different optimization levels will also work. If a tests already has side effects such that running it twice will error, then ofc running it with different optimization levels will also error.
Activity
MichaelChirico commentedon Nov 4, 2025
Oh, in the PR, what I meant is that it looks like
Will run
copy()for each level ofoptimization, so there's a lazy evaluation aspect toxwhenoptimization=is provided that impacts how to read and write tests using the new argument. Does that make sense?ben-schwen commentedon Nov 4, 2025
I see. In principle it is that seem as for other tests. If multiple execution of a single test works, then the execution of different optimization levels will also work. If a tests already has side effects such that running it twice will error, then ofc running it with different optimization levels will also error.
Hence, one could say that
is short for
Clarify when := drops keys and when to use copy()