SIGN IN SIGN UP

gh-121459: Add missing return to _PyDict_LoadGlobalStackRef (#124085)

We need to return immediately if there's an error during dictionary
lookup.

Also avoid the conditional-if operator. MSVC versions through v19.27 miscompile
compound literals with side effects within a conditional operator. This caused
crashes in the Windows10 buildbot.
S
Sam Gross committed
401fff7423ca3c8bf1d02e594edfd1412616a559
Parent: 9dacf43
Committed by GitHub <noreply@github.com> on 9/14/2024, 6:29:55 PM