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 <rep...@bugs.python.org>
<http://bugs.python.org/issue28649>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to