(original) (raw)

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/