SIGN IN SIGN UP

gh-91243: Add typing.Required and NotRequired (PEP 655) (GH-32419)

I talked to @davidfstr and I offered to implement the runtime part of PEP 655
to make sure we can get it in before the feature freeze. We're going to defer
the documentation to a separate PR, because it can wait until after the feature
freeze.

The runtime implementation conveniently already exists in typing-extensions,
so I largely copied that.

Co-authored-by: David Foster <david@dafoster.net>
J
Jelle Zijlstra committed
ac6c3de03c5bb06a9a463701fb297148f5a5746f
Parent: 474fdbe
Committed by GitHub <noreply@github.com> on 4/12/2022, 7:31:02 PM