Skip to content

be more careful about potential gc of pyptrs#630

Merged
stevengj merged 1 commit intomasterfrom
gc_paranoia
Jan 23, 2019
Merged

be more careful about potential gc of pyptrs#630
stevengj merged 1 commit intomasterfrom
gc_paranoia

Conversation

@stevengj
Copy link
Copy Markdown
Member

Whenever we convert a PyObject to a PyPtr, we need to be a bit paranoid about the possibility that the PyObject will be garbage-collected (which will decref the underlying Python object) before we are done with the PyPtr.

@stevengj stevengj mentioned this pull request Jan 23, 2019
5 tasks
@stevengj stevengj merged commit f467d7c into master Jan 23, 2019
@stevengj stevengj deleted the gc_paranoia branch January 23, 2019 22:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant