Skip to content

Commit e54f68b

Browse files
committed
PEP 749: Mark as Accepted
1 parent a9f1b15 commit e54f68b

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

peps/pep-0749.rst

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,14 @@ PEP: 749
22
Title: Implementing PEP 649
33
Author: Jelle Zijlstra <jelle.zijlstra@gmail.com>
44
Discussions-To: https://discuss.python.org/t/pep-749-implementing-pep-649/54974
5-
Status: Draft
5+
Status: Accepted
66
Type: Standards Track
77
Topic: Typing
88
Requires: 649
99
Created: 28-May-2024
1010
Python-Version: 3.14
1111
Post-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

1415
Abstract
@@ -633,7 +634,9 @@ Specification
633634
An 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
635636
other 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

638641
Compiler-generated
639642
annotate functions will support this format and return the same value as

0 commit comments

Comments
 (0)