-
-
Notifications
You must be signed in to change notification settings - Fork 32.3k
bpo-29102: Add a unique ID to PyInterpreterState. #1639
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
Conversation
@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) |
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.
Python 3.6 now uses stdint.h: please use directly uint64_t.
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.
Why unsigned? Did you mean int64_t?
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.
Oh right, int64_t. By the way, extract of master:
#define PY_INT64_T int64_t
4bcf3f2
to
da8439a
Compare
da8439a
to
4797749
Compare
(see http://bugs.python.org/issue29102)