Skip to content
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

Merged
merged 2 commits into from Apr 1, 2019

Conversation

nanjekyejoannah
Copy link
Member

@nanjekyejoannah nanjekyejoannah commented Mar 8, 2019

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

@nanjekyejoannah
Copy link
Member Author

cc @ericsnowcurrently and @ncoghlan

@ericsnowcurrently
Copy link
Member

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. :)

@nanjekyejoannah
Copy link
Member Author

nanjekyejoannah commented Mar 30, 2019

@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.

Copy link
Member

@ericsnowcurrently ericsnowcurrently left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@miss-islington
Copy link
Contributor

Thanks @nanjekyejoannah for the PR 🌮🎉.. I'm working now to backport this PR to: 3.7.
🐍🍒⛏🤖

@bedevere-bot
Copy link

GH-12650 is a backport of this pull request to the 3.7 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Apr 1, 2019
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>
miss-islington added a commit that referenced this pull request Apr 1, 2019
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation in the Doc dir
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants