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

gh-119180: Improvements to ForwardRef.evaluate by JelleZijlstra · Pull Request #122210 · python/cpython · GitHub

/ cpython Public

gh-119180: Improvements to ForwardRef.evaluate - #122210

Merged
JelleZijlstra merged 3 commits into
python:mainfrom
JelleZijlstra:pep649-tweaks
Aug 11, 2024
Merged

gh-119180: Improvements to ForwardRef.evaluate#122210
JelleZijlstra merged 3 commits into
python:mainfrom
JelleZijlstra:pep649-tweaks

Conversation

JelleZijlstra commented Jul 24, 2024
edited by bedevere-app Bot
Loading

Copy link
Copy Markdown
Member

Noticed some issues while writing documentation for this method.

Noticed some issues while writing documentation for this method.
Comment thread Lib/annotationlib.py
return value
if owner is None:
owner = self.__owner__
if type_params is None and owner is None:

Copy link
Copy Markdown
Member Author

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

This check felt unnecessarily strict; many ForwardRefs can be evaluated correctly without worrying about type params.

JelleZijlstra enabled auto-merge (squash) August 11, 2024 23:21
JelleZijlstra merged commit 016f4b5 into python:main Aug 11, 2024
blhsing pushed a commit to blhsing/cpython that referenced this pull request Aug 22, 2024
Noticed some issues while writing documentation for this method.
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant


Back | FazBrowse Home | New Git URL