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-29102: Add a unique ID to PyInterpreterState. #1639

Merged
merged 17 commits into from May 23, 2017

Conversation

ericsnowcurrently
Copy link
Member

@ericsnowcurrently ericsnowcurrently commented May 17, 2017

@mention-bot
Copy link

@mention-bot mention-bot commented May 17, 2017

@ericsnowcurrently, thanks for your PR! By analyzing the history of the files in this pull request, we identified @zooba, @birkenfeld and @ncoghlan to be potential reviewers.

@@ -821,6 +821,14 @@ been created.
:c:func:`PyThreadState_Clear`.
.. c:function:: PY_INT64_T PyInterpreterState_GetID(PyInterpreterState *interp)
Copy link
Member

@vstinner vstinner May 17, 2017

Choose a reason for hiding this comment

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

Python 3.6 now uses stdint.h: please use directly uint64_t.

Copy link
Member Author

@ericsnowcurrently ericsnowcurrently May 17, 2017

Choose a reason for hiding this comment

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

Why unsigned? Did you mean int64_t?

Copy link
Member

@vstinner vstinner May 18, 2017

Choose a reason for hiding this comment

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

Oh right, int64_t. By the way, extract of master:

#define PY_INT64_T int64_t

@ericsnowcurrently ericsnowcurrently force-pushed the interpreter-id branch 5 times, most recently from 4bcf3f2 to da8439a Compare May 21, 2017
zooba
zooba approved these changes May 23, 2017
@ericsnowcurrently ericsnowcurrently merged commit e377416 into python:master May 23, 2017
3 checks passed
@ericsnowcurrently ericsnowcurrently deleted the interpreter-id branch May 23, 2017
mlouielu pushed a commit to mlouielu/cpython that referenced this issue Jun 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants