Skip to content

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