File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -2,13 +2,14 @@ PEP: 749
22Title: Implementing PEP 649
33Author: Jelle Zijlstra <jelle.zijlstra@gmail.com>
44Discussions-To: https://discuss.python.org/t/pep-749-implementing-pep-649/54974
5- Status: Draft
5+ Status: Accepted
66Type: Standards Track
77Topic: Typing
88Requires: 649
99Created: 28-May-2024
1010Python-Version: 3.14
1111Post-History: `04-Jun-2024 <https://discuss.python.org/t/pep-749-implementing-pep-649/54974 >`__
12+ Resolution: `05-May-2025 <https://discuss.python.org/t/pep-749-implementing-pep-649/54974/66 >`__
1213
1314
1415Abstract
@@ -633,7 +634,9 @@ Specification
633634An additional format, ``VALUE_WITH_FAKE_GLOBALS ``, is added to the ``Format `` enum in the
634635``annotationlib `` module, with value equal to 2. (As a result, the values of the
635636other formats will shift relative to PEP 649: ``FORWARDREF `` will be 3 and ``SOURCE ``
636- will be 4.)
637+ will be 4.) The integer values of these formats are specified for use in places where
638+ the enum is not readily available, such as in ``__annotate__ `` functions implemented
639+ in C.
637640
638641Compiler-generated
639642annotate functions will support this format and return the same value as
You can’t perform that action at this time.
0 commit comments