PEP 675: remove unnecessary reference to Self type PEP (#2297)

This commit is contained in:
Pradeep Kumar 2022-02-02 13:43:20 -08:00 committed by GitHub
parent 1579748348
commit 6b5bfdb1c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 5 deletions

View File

@ -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 <https://bugs.python.org/issue500698>`_
and `attempted <https://github.com/felixgr/pytaint>`_ in the past, and
strings, similar to Perl's `taint <https://metacpan.org/pod/Taint>`_,
has been `considered <https://bugs.python.org/issue500698>`_ and
`attempted <https://github.com/felixgr/pytaint>`_ 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
=========