[issue28649] refleak in typing.py

Ivan Levkivskyi report at bugs.python.org
Wed Nov 9 18:23:10 EST 2016


Ivan Levkivskyi added the comment:

A very simple repro:

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

It looks like the problem happens when a non-hashable argument is passed to cached function

----------

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


More information about the Python-bugs-list mailing list