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

[3.7] bpo-33622: Fix issues with handling errors in the GC. (GH-7078) #7094

Merged
merged 1 commit into from
May 24, 2018

Conversation

miss-islington
Copy link
Contributor

@miss-islington miss-islington commented May 24, 2018

  • Fixed a leak when the GC fails to add an object with __del__ into the gc.garbage list.
  • PyGC_Collect() can now be called when an exception is set and preserves it.
  • Fixed an undefined behavior with comparing a dead pointer with NULL.
    (cherry picked from commit 301e3cc)

Co-authored-by: Serhiy Storchaka [email protected]

https://bugs.python.org/issue33622

* Fixed a leak when the GC fails to add an object with __del__ into
  the gc.garbage list.
* PyGC_Collect() can now be called when an exception is set and
  preserves it.
* Fixed an undefined behavior with comparing a dead pointer with NULL.
(cherry picked from commit 301e3cc)

Co-authored-by: Serhiy Storchaka <[email protected]>
@miss-islington
Copy link
Contributor Author

@serhiy-storchaka: Backport status check is done, and it's a success ✅ .

@miss-islington miss-islington merged commit 2fe940c into python:3.7 May 24, 2018
@miss-islington
Copy link
Contributor Author

Thanks!

@miss-islington miss-islington deleted the backport-301e3cc-3.7 branch May 24, 2018 12:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants