mirror of
https://github.com/python/cpython.git
synced 2026-11-09 06:00:54 +08:00
Hold strong references to __annotate__ and the annotations tuple while running
code that can replace them. If __annotations__ is set while __annotate__
runs, keep the newly set value.
(cherry picked from commit 12dfd4d254)
Co-authored-by: Neil Schemenauer <[email protected]>
Source files for various builtin objects