New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bpo-36157:Document PyInterpreterState_Main() #12238
Conversation
cc @ericsnowcurrently and @ncoghlan |
Thanks for working on this, @nanjekyejoannah. This PR may be a good opportunity to make sure the C-API docs are clear about what the "main" interpreter is. However, if you don't want to worry about that here it can be dealt with separately. I'll merge this the next time I take a look (giving you a few days to respond) if you go with the latter or don't respond. :) |
@ericsnowcurrently please go on and merge this. I will work on making the C-API docs more clear in a separate PR. I opened an issue on the bug tracker to track this. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Thanks @nanjekyejoannah for the PR 🌮🎉.. I'm working now to backport this PR to: 3.7. |
GH-12650 is a backport of this pull request to the 3.7 branch. |
I have added documentation for `PyInterpreterState_Main()`. I chose to place it under Advanced Debugger Support together with similar functions like `PyInterpreterState_Head()`, `PyInterpreterState_Next(`), and `PyInterpreterState_ThreadHead()` . https://bugs.python.org/issue36157 (cherry picked from commit 8c61739) Co-authored-by: Joannah Nanjekye <33177550+nanjekyejoannah@users.noreply.github.com>
I have added documentation for `PyInterpreterState_Main()`. I chose to place it under Advanced Debugger Support together with similar functions like `PyInterpreterState_Head()`, `PyInterpreterState_Next(`), and `PyInterpreterState_ThreadHead()` . https://bugs.python.org/issue36157 (cherry picked from commit 8c61739) Co-authored-by: Joannah Nanjekye <33177550+nanjekyejoannah@users.noreply.github.com>
I have added documentation for
PyInterpreterState_Main()
.I chose to place it under Advanced Debugger Support together with similar functions like
PyInterpreterState_Head()
,PyInterpreterState_Next(
), andPyInterpreterState_ThreadHead()
.https://bugs.python.org/issue36157