FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-91860: Add typing.dataclass_transform (PEP 681) by JelleZijlstra · Pull Request #91861 · python/cpython · GitHub

/ cpython Public

gh-91860: Add typing.dataclass_transform (PEP 681) - #91861

Merged
JelleZijlstra merged 3 commits into
python:mainfrom
JelleZijlstra:pep681
Apr 26, 2022
Merged

gh-91860: Add typing.dataclass_transform (PEP 681)#91861
JelleZijlstra merged 3 commits into
python:mainfrom
JelleZijlstra:pep681

Conversation

JelleZijlstra commented Apr 23, 2022
edited
Loading

Copy link
Copy Markdown
Member

Copied from typing-extensions (python/typing#1054, python/typing#1120).

Documentation is intentionally omitted, so we can focus on getting the
runtime part in before the feature freeze.

#91860

Copied from typing-extensions (python/typing#1054, python/typing#1120).

Documentation is intentionally omitted, so we can focus on getting the
runtime part in before the feature freeze.

Fidget-Spinner 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.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Wow. I just read the PEP and this implementation for the first time. So I'll have some newbie concerns.

Comment thread Lib/typing.py Outdated
Comment thread Lib/test/test_typing.py

AlexWaygood 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.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Implementation and tests look good, just a few comments on the docstring

Comment thread Lib/typing.py Outdated
Comment thread Lib/typing.py Outdated
Comment thread Lib/typing.py

Copy link
Copy Markdown
Member Author

Thanks @Fidget-Spinner and @AlexWaygood for the feedback, I just pushed some changes.

AlexWaygood 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.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

LGTM! :)

Comment thread Lib/typing.py Outdated
AlexWaygood added type-feature A feature request or enhancement topic-typing stdlib Standard Library Python modules in the Lib/ directory labels Apr 25, 2022
JelleZijlstra merged commit 5397b5a into python:main Apr 26, 2022
JelleZijlstra deleted the pep681 branch April 26, 2022 03:30
JelleZijlstra added a commit to JelleZijlstra/typeshed that referenced this pull request Apr 26, 2022
AlexWaygood pushed a commit to python/typeshed that referenced this pull request Apr 26, 2022
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

stdlib Standard Library Python modules in the Lib/ directory topic-typing type-feature A feature request or enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants


Back | FazBrowse Home | New Git URL