zlacker

[parent] [thread] 1 comments
1. sevens+(OP)[view] [source] 2026-02-04 13:16:14
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?
replies(1): >>romper+3S4
2. romper+3S4[view] [source] 2026-02-05 19:48:43
>>sevens+(OP)
Oh, 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/ and https://peps.python.org/pep-0749/

[go to top]