homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Move and clarify Py_Main documentation
Type: enhancement Stage: patch review
Components: Documentation Versions: Python 3.10, Python 3.9, Python 3.8
process
Status: open Resolution:
Dependencies: 34008 Superseder:
Assigned To: ncoghlan Nosy List: emilyemorehouse, eric.snow, ncoghlan
Priority: normal Keywords: patch

Created on 2018年07月24日 13:37 by ncoghlan, last changed 2022年04月11日 14:59 by admin.

Pull Requests
URL Status Linked Edit
PR 8023 open ncoghlan, 2018年07月24日 13:40
Messages (3)
msg322301 - (view) Author: Alyssa Coghlan (ncoghlan) * (Python committer) Date: 2018年07月24日 13:37
In resolving issue 34008, we determined that we *do* support calling Py_Main after Py_Initialize, but it's not clear from that current documentation that this implies a Py_Finalize() call, so you don't need to call that again yourself (and it's actually an error to do so).
So this issue covers updating the draft PR I wrote at https://github.com/python/cpython/pull/8023 to move the Py_Main documentation into the initialization and finalization section, and clarify how it relates to the other initialization and finalization functions.
msg372503 - (view) Author: Alyssa Coghlan (ncoghlan) * (Python committer) Date: 2020年06月28日 07:27
Adjusted target versions, as I never previously got around to merging this PR.
msg372504 - (view) Author: Alyssa Coghlan (ncoghlan) * (Python committer) Date: 2020年06月28日 07:32
Added 3.8 back in to the target versions. However, if the automatic backport doesn't work for that branch, I'll probably skip it rather than fixing any conflicts.
History
Date User Action Args
2022年04月11日 14:59:03adminsetgithub: 78387
2020年06月29日 10:35:59vstinnersetnosy: - vstinner
2020年06月28日 07:32:56ncoghlansetmessages: + msg372504
versions: + Python 3.8
2020年06月28日 07:27:33ncoghlansetmessages: + msg372503
versions: + Python 3.9, Python 3.10, - Python 3.7, Python 3.8
2018年07月26日 14:28:13eric.snowsetnosy: + emilyemorehouse
2018年07月26日 14:27:39eric.snowsetnosy: + eric.snow
2018年07月24日 13:40:23ncoghlansetkeywords: + patch
pull_requests: + pull_request7964
2018年07月24日 13:37:59ncoghlansetdependencies: + Do we support calling Py_Main() after Py_Initialize()?
2018年07月24日 13:37:49ncoghlancreate

AltStyle によって変換されたページ (->オリジナル) /