Skip to content

bpo-37045: PEP 591: Add final qualifiers to typing module#13571

Merged
ilevkivskyi merged 6 commits into
python:masterfrom
ilevkivskyi:add-final
May 26, 2019
Merged

bpo-37045: PEP 591: Add final qualifiers to typing module#13571
ilevkivskyi merged 6 commits into
python:masterfrom
ilevkivskyi:add-final

Conversation

@ilevkivskyi

@ilevkivskyi ilevkivskyi commented May 25, 2019

Copy link
Copy Markdown
Member

cc @msullivan

The implementation is straightforward, it just mimics ClassVar (since the latter is also a name/access qualifier, not really a type). Also it is essentially copied from typing_extensions.

https://bugs.python.org/issue37045

@gvanrossum gvanrossum left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just some doc nits. (The PR is almost all docs anyway. ;-) Feel free to fix those and merge.

Comment thread Doc/library/typing.rst Outdated
Comment thread Lib/typing.py Outdated

@gvanrossum gvanrossum left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ship it!

@ilevkivskyi
ilevkivskyi merged commit f367242 into python:master May 26, 2019
@ilevkivskyi
ilevkivskyi deleted the add-final branch May 26, 2019 08:37
DinoV pushed a commit to DinoV/cpython that referenced this pull request Jan 14, 2020
…3571)

The implementation is straightforward, it just mimics `ClassVar` (since the latter is also a name/access qualifier, not really a type). Also it is essentially copied from `typing_extensions`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants