This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author yselivanov
Recipients gvanrossum, ned.deily, serhiy.storchaka, yselivanov
Date 2016-11-09.16:00:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1478707208.62.0.656911294058.issue28649@psf.upfronthosting.co.za>
In-reply-to
Content
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?
History
Date User Action Args
2016-11-09 16:00:08yselivanovsetrecipients: + yselivanov, gvanrossum, ned.deily, serhiy.storchaka
2016-11-09 16:00:08yselivanovsetmessageid: <1478707208.62.0.656911294058.issue28649@psf.upfronthosting.co.za>
2016-11-09 16:00:08yselivanovlinkissue28649 messages
2016-11-09 16:00:08yselivanovcreate