[issue41370] PEP 585 and ForwardRef

Guido van Rossum report at bugs.python.org
Tue Jan 25 13:25:17 EST 2022


Guido van Rossum <guido at python.org> added the comment:

I asked for a brief example that explains your issue to me. Instead you sent me links to production code and patches to it. Sorry, but that doesn't help me understand your problem. Is there really no way that you can write a little story that goes along the lines of

 In our production code, we use the pattern

   foo blah blah:
       spam spam Ham eggs anchovies
       buzz buzz blah get_type_hints buzz buzz

  a lot. As you can see, the get_type_hints call fails
  when we switch from "Ham eggs" to "ham eggs".

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue41370>
_______________________________________


More information about the Python-bugs-list mailing list