[New-bugs-announce] [issue28649] refleak in typing.py
Yury Selivanov
report at bugs.python.org
Wed Nov 9 11:00:08 EST 2016
New submission from Yury Selivanov:
Looks like we have a refleak somewhere in the system that typing.py is exposing.
The following code exposes the refleak:
def test_refleak(self):
T = typing.TypeVar('T')
class C(typing.Generic[T], typing.Mapping[int, str]): ...
The change that first triggered the leak is 8f0df4db2b06.
I'm not an expert in typing.py, but I suspect that the real bug must be somewhere in CPython core.
Guido, do you have any idea how 8f0df4db2b06 could trigger this?
----------
components: Library (Lib)
messages: 280407
nosy: gvanrossum, ned.deily, serhiy.storchaka, yselivanov
priority: release blocker
severity: normal
stage: needs patch
status: open
title: refleak in typing.py
type: behavior
versions: Python 3.6, Python 3.7
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28649>
_______________________________________
More information about the New-bugs-announce
mailing list