File tree Expand file tree Collapse file tree 3 files changed +7
-3
lines changed
Misc/NEWS.d/next/Core and Builtins Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -705,9 +705,9 @@ Deprecated
705
705
stage, using the :mod: `ast ` module.
706
706
707
707
* The Public C API functions :c:func: `PyParser_SimpleParseStringFlags `,
708
- :c:func: `PyParser_SimpleParseStringFlagsFilename ` and
709
- :c:func: `PyParser_SimpleParseFileFlags ` are deprecated and will be removed
710
- in Python 3.10 together with the old parser.
708
+ :c:func: `PyParser_SimpleParseStringFlagsFilename `,
709
+ :c:func: `PyParser_SimpleParseFileFlags ` and :c:func: ` PyNode_Compile `
710
+ are deprecated and will be removed in Python 3.10 together with the old parser.
711
711
712
712
* Using :data: `NotImplemented ` in a boolean context has been deprecated,
713
713
as it is almost exclusively the result of incorrect rich comparator
Original file line number Diff line number Diff line change @@ -9,6 +9,9 @@ extern "C" {
9
9
10
10
/* Public interface */
11
11
struct _node ; /* Declare the existence of this type */
12
+ #ifndef Py_BUILD_CORE
13
+ Py_DEPRECATED (3.9 )
14
+ #endif
12
15
PyAPI_FUNC (PyCodeObject * ) PyNode_Compile (struct _node * , const char * );
13
16
/* XXX (ncoghlan): Unprefixed type name in a public API! */
14
17
Original file line number Diff line number Diff line change
1
+ Deprecate :c:func: `PyNode_Compile `.
You can’t perform that action at this time.
0 commit comments