Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
3e8f962e
Commit
3e8f962e
authored
Dec 20, 2018
by
Arthur Neufeld
Committed by
Serhiy Storchaka
Dec 20, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bpo-35259: Limit `Py_FinalizeEx()` to `Py_LIMITED_API >= 0x03060000`. (GH-10620)
parent
9a8d1d75
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
Include/pylifecycle.h
Include/pylifecycle.h
+2
-0
Misc/NEWS.d/next/C API/2018-11-22-13-52-36.bpo-35259.p07c61.rst
...EWS.d/next/C API/2018-11-22-13-52-36.bpo-35259.p07c61.rst
+2
-0
No files found.
Include/pylifecycle.h
View file @
3e8f962e
...
...
@@ -12,7 +12,9 @@ extern "C" {
PyAPI_FUNC
(
void
)
Py_Initialize
(
void
);
PyAPI_FUNC
(
void
)
Py_InitializeEx
(
int
);
PyAPI_FUNC
(
void
)
Py_Finalize
(
void
);
#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x03060000
PyAPI_FUNC
(
int
)
Py_FinalizeEx
(
void
);
#endif
PyAPI_FUNC
(
int
)
Py_IsInitialized
(
void
);
/* Subinterpreter support */
...
...
Misc/NEWS.d/next/C API/2018-11-22-13-52-36.bpo-35259.p07c61.rst
0 → 100644
View file @
3e8f962e
Conditionally declare :c:func:`Py_FinalizeEx()` (new in 3.6) based on
Py_LIMITED_API. Patch by Arthur Neufeld.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment