SIGN IN SIGN UP

gh-118746: Fix crash in frame_getlocals and _PyFrame_GetLocals (#118748)

We don't know how to create an unoptimized frame with f_locals == NULL,
but they are seen in the wild, and this fixes the crash.
T
Tian Gao committed
e7aec8713f84e90b20c9baae6b7a91d87f327ff0
Parent: 2f0a338
Committed by GitHub <noreply@github.com> on 5/8/2024, 12:48:05 AM