4 ms·
I am not an AI and I missed the memo on this. I put that line in whenever I need to use a forward-declared type annotation. Last I recall reading about it, ther
by sevensor 8mo ago
I am not an AI and I missed the memo on this. I put that line in whenever I need to use a forward-declared type annotation. Last I recall reading about it, there were some deep issues that meant it had to stay in __future__ indefinitely. Is there a PEP / release note about it?
- romperstomper 8mo agoOh, I was very wrong, my apologies! I was sure this one was for Python from 3.7 up to 3.10. But it is still here.. But as for 2026 it will not stay forever as it was supposed to - there are 2 PEPs which are suppose to fix it in Python 3.14 - https://peps.python.org/pep-0649/ https://peps.python.org/pep-0649/ and https://peps.python.org/pep-0749/ https://peps.python.org/pep-0749/
- sevensor 8mo agoThanks! I’ll look forward to these landing in Python.