Uh oh!
There was an error while loading. Please reload this page.
gh-149083: Make functools.Placeholder a sentinel - #149088
Conversation
Is |
picnixz
commented
Apr 28, 2026
Actually, since we're launching beta, it may be ok to change this and see if it breaks something |
JelleZijlstra
commented
Apr 28, 2026
It's difficult to imagine why people would be doing things like |
picnixz
commented
Apr 28, 2026
I can see people doing |
This PR is stale because it has been open for 90 days with no activity. |
This greatly simplifies the code. The only behavioral difference observable in the tests is that
type(Placeholder)()no longer works, becausePlaceholderis now an instance ofsentinel.📚 Documentation preview 📚: https://cpython-previews--149088.org.readthedocs.build/