Skip to content

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

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

Merged
merged 1 commit into from
May 24, 2018

Conversation

serhiy-storchaka
Copy link
Member

@serhiy-storchaka serhiy-storchaka 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)

https://bugs.python.org/issue33622

…-7078)

* 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]>
@serhiy-storchaka serhiy-storchaka added the type-bug An unexpected behavior, bug, or error label May 24, 2018
@bedevere-bot bedevere-bot added type-bug An unexpected behavior, bug, or error awaiting merge labels May 24, 2018
@serhiy-storchaka serhiy-storchaka merged commit f0e04b2 into python:3.6 May 24, 2018
@serhiy-storchaka serhiy-storchaka deleted the backport-301e3cc-3.6 branch May 24, 2018 13:05
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.

3 participants