[2.7] bpo-33622: Fix issues with handling errors in the GC. (GH-7078) by serhiy-storchaka · Pull Request #7096 · python/cpython

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@serhiy-storchaka

Copy link Copy Markdown

Member

@serhiy-storchaka serhiy-storchaka commented

May 24, 2018

edited by bedevere-bot

Loading

  • 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.
    (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.
(cherry picked from commit 301e3cc)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>

@bedevere-bot

Copy link Copy Markdown

@serhiy-storchaka: Please replace # with GH- in the commit message next time. Thanks!

@serhiy-storchaka serhiy-storchaka deleted the backport-301e3cc-2.7 branch

May 24, 2018 20:27

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

Reviewers

No reviews

Assignees

No one assigned

Labels

type-bug

An unexpected behavior, bug, or error

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@serhiy-storchaka @bedevere-bot @the-knights-who-say-ni