SIGN IN SIGN UP
python / cpython UNCLAIMED

The Python programming language

72150 0 57 Python

gh-104584: Clean up and fix uops tests and fix crash (#106492)

The uops test wasn't testing anything by default,
and was failing when run with -Xuops.

Made the two executor-related context managers global,
so TestUops can use them (notably `with temporary_optimizer(opt)`).

Made clear_executor() a little more thorough.

Fixed a crash upon finalizing a uop optimizer,
by adding a `tp_dealloc` handler.
G
Guido van Rossum committed
76fac7bce55302a8e9a524d72f5384fd89e6dfde
Parent: 67a7988
Committed by GitHub <noreply@github.com> on 7/6/2023, 10:45:56 PM