Skip to content

Commit 3b84a95

Browse files
authored
PEP 667: Incorporate feedback (#3730)
1 parent ec21ce3 commit 3b84a95

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

peps/pep-0667.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,9 @@ The following C-API functions will be deprecated, as they return borrowed refere
160160
PyEval_GetGlobals()
161161
PyEval_GetBuiltins()
162162

163-
They will be removed in 3.15.
163+
They will be removed in 3.15 at the earliest, and 3.18 at the latest.
164+
The exact version of removal will depend on the cost of continuing to
165+
support these functions.
164166

165167
The following functions should be used instead::
166168

@@ -179,7 +181,7 @@ The following three functions will become no-ops, and will be deprecated::
179181
PyFrame_FastToLocals()
180182
PyFrame_LocalsToFast()
181183

182-
They will be removed in 3.15.
184+
They may be removed in the future, but no earlier than 3.18.
183185

184186
Behavior of f_locals for optimized functions
185187
--------------------------------------------

0 commit comments

Comments
 (0)