gh-119180: Use type descriptors to access annotations (PEP 749) by JelleZijlstra · Pull Request #122074 · python/cpython
added 30 commits
This was referenced
JelleZijlstra added a commit to JelleZijlstra/typing_extensions that referenced this pull request
Tests from python/cpython#122074. We don't have to use the base descriptor approach here because we find the annotations directly in the `__dict__` for the class, which avoids metaclass problems.
JelleZijlstra added a commit to python/typing_extensions that referenced this pull request
Tests from python/cpython#122074. We don't have to use the base descriptor approach here because we find the annotations directly in the `__dict__` for the class, which avoids metaclass problems.
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