Skip to content

Avoid using PyThreadState.frame as it is not a public member.#11855

Closed
xuhdev wants to merge 1 commit intopytorch:masterfrom
xuhdev:thread-state
Closed

Avoid using PyThreadState.frame as it is not a public member.#11855
xuhdev wants to merge 1 commit intopytorch:masterfrom
xuhdev:thread-state

Conversation

@xuhdev
Copy link
Collaborator

@xuhdev xuhdev commented Sep 19, 2018

The doc of PyThreadState [1] emphasizes that interp is its only public member. Use PyEval_GetFrame() instead.

[1] https://docs.python.org/3/c-api/init.html#c.PyThreadState

The doc of PyThreadState [1] emphasizes that interp is its only public member. Use PyEval_GetFrame() instead.

[1] https://docs.python.org/3/c-api/init.html#c.PyThreadState
@pytorchbot pytorchbot added the oncall: jit Add this issue/PR to JIT oncall triage queue label Sep 19, 2018
Copy link
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

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

ezyang is landing this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

oncall: jit Add this issue/PR to JIT oncall triage queue open source

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants