diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2018-05-24 12:39:08 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-24 12:39:08 (GMT) |
commit | 2fe940c727802ad54cff9486c658bc38743f7bfc (patch) | |
tree | 42f6b73b3a961a885b27e141556666562c88eb5f /Lib/asyncio/protocols.py | |
parent | b2ab5dc72b36d074a86f2b1d91ae804e5a7210f8 (diff) | |
download | cpython-2fe940c727802ad54cff9486c658bc38743f7bfc.zip cpython-2fe940c727802ad54cff9486c658bc38743f7bfc.tar.gz cpython-2fe940c727802ad54cff9486c658bc38743f7bfc.tar.bz2 |
bpo-33622: Fix issues with handling errors in the GC. (GH-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 301e3cc8a5bc68c5347ab6ac6f83428000d31ab2)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Diffstat (limited to 'Lib/asyncio/protocols.py')
0 files changed, 0 insertions, 0 deletions