gh-118527: Use `_Py_ID(__main__)` for main module name (#118528)
Most module names are interned and immortalized, but the main module was not. This partially addresses a scaling bottleneck in the free-threaded when creating closure concurrently in the main module.
S
Sam Gross committed
24e643d4ef024a3561c927dc07c59c435bb27bcc
Parent: c8deb1e
Committed by GitHub <noreply@github.com>
on 5/3/2024, 3:05:30 PM