Aidan Clark <aidan.b.cl...@gmail.com> added the comment:

Ah yes, I completely apologize about that typo, the __init__ is definitely 
needed (serves me right for trying to clean up a repo before posting it).

One other comment to make, perhaps obvious; manually passing a namespace to 
get_type_hints' `globalns` which contains `collections` does indeed solve the 
problem (in case anyone else sees this and is blocked). Of course determining 
the right values to pass is in general difficult for a user (and shouldn't be 
necessary).

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue45524>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to