]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-119180: Make FORWARDREF format look at __annotations__ first (#124479)
authorJelle Zijlstra <jelle.zijlstra@gmail.com>
Wed, 25 Sep 2024 22:32:45 +0000 (15:32 -0700)
committerGitHub <noreply@github.com>
Wed, 25 Sep 2024 22:32:45 +0000 (15:32 -0700)
commitbc543936ab4ca3625bd7cbeac97faa47f5fd93dc
treecbee4a1c567440e846e30663f63e86fcded5b061
parent4e2fb7bdf5e1b2eddeb29b776820cfa2017a673f
gh-119180: Make FORWARDREF format look at __annotations__ first (#124479)

From discussion with Larry Hastings and Carl Meyer, this is the desired
behavior.
Lib/annotationlib.py
Lib/test/test_annotationlib.py