[New-bugs-announce] [issue44515] contextlib test incompatibility with non-refcounted GC

Nick Coghlan report at bugs.python.org
Sat Jun 26 04:30:11 EDT 2021


New submission from Nick Coghlan <ncoghlan at gmail.com>:

Backporting the latest contextlib module and test suite to contextlib2, I ran into a couple of CI failures on PyPy3.

Investigation showed that a couple of the new test cases were assuming the use of a refcounted GC. One could be fixed by switching to using a synchronous context manager instead of a ``__del__`` method, but the other needed a few explicit gc.collect() calls.

----------
assignee: ncoghlan
keywords: 3.10regression
messages: 396545
nosy: ncoghlan, yselivanov
priority: normal
severity: normal
stage: commit review
status: open
title: contextlib test incompatibility with non-refcounted GC
type: behavior

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44515>
_______________________________________


More information about the New-bugs-announce mailing list