[Python-Dev] PEP 591 discussion (final qualifier) happening at typing-sig@ (original) (raw)
Michael Sullivan sully at msully.net
Mon Apr 15 19:58:07 EDT 2019
- Previous message (by thread): [Python-Dev] Cannot find documented API in PEP-376 (Database of Installed Python Distributions)
- Next message (by thread): [Python-Dev] PEP 591 discussion (final qualifier) happening at typing-sig@
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I've submitted PEP 591 (Adding a final qualifier to typing) for discussion to typing-sig [1].
Here's the abstract:
This PEP proposes a "final" qualifier to be added to the typing
module---in the form of a final
decorator and a Final
type
annotation---to serve three related purposes:
- Declaring that a method should not be overridden
- Declaring that a class should not be subclassed
- Declaring that a variable or attribute should not be reassigned
Full text at https://www.python.org/dev/peps/pep-0591/
-sully
[1] https://mail.python.org/mailman3/lists/typing-sig.python.org/ -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20190415/ac10c771/attachment-0001.html>
- Previous message (by thread): [Python-Dev] Cannot find documented API in PEP-376 (Database of Installed Python Distributions)
- Next message (by thread): [Python-Dev] PEP 591 discussion (final qualifier) happening at typing-sig@
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]