[issue28649] refleak in typing.py

Yury Selivanov report at bugs.python.org
Wed Nov 9 18:37:26 EST 2016


Yury Selivanov added the comment:

reflesk with only functools:

    def test_lru_type_error(self):
        @functools.lru_cache(maxsize=None)
        def foo(o):
            raise TypeError

        with self.assertRaises(TypeError):
            foo([])

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28649>
_______________________________________


More information about the Python-bugs-list mailing list