diff --git a/pep-0675.rst b/pep-0675.rst index 42bde9275..da28a1c4e 100644 --- a/pep-0675.rst +++ b/pep-0675.rst @@ -562,8 +562,8 @@ annotating it as ``x: LiteralString``: Runtime Behavior ================ -We propose an implementation for ``typing.LiteralString`` similar to that for -``typing.Self`` from :pep:`673`. +We propose an implementation for ``typing.LiteralString`` similar to +``typing.NoReturn``. Rejected Alternatives @@ -734,8 +734,9 @@ type checker. This extension to the ``LiteralString`` concept would dramatically increase the scope of the proposal by requiring changes to one of the most fundamental types in Python. While runtime taint checking on -strings has been `considered `_ -and `attempted `_ in the past, and +strings, similar to Perl's `taint `_, +has been `considered `_ and +`attempted `_ in the past, and others may consider it in the future, such extensions are out of scope for this PEP. @@ -1283,7 +1284,7 @@ Thanks Thanks to the following people for their feedback on the PEP: Edward Qiu, Jia Chen, Shannon Zhu, Gregory P. Smith, Никита Соболев, -CAM Gerlach, and Shengye Wan +CAM Gerlach, Arie Bovenberg, David Foster, and Shengye Wan Copyright =========