This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author gvanrossum
Recipients BTaskaya, gousaiyang, gvanrossum, lys.nikolaou, pablogsal, serhiy.storchaka
Date 2021-04-21.21:26:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
The same thing happens at the module level. However in functions all is well (because inside functions annotations are never evaluated, apparently).

It may be as simple as the code forgetting to check the PEP 563 bit when generating code for complex annotations in classes and at the top (module) level.
Date User Action Args
2021-04-21 21:26:48gvanrossumsetrecipients: + gvanrossum, serhiy.storchaka, lys.nikolaou, pablogsal, BTaskaya, gousaiyang
2021-04-21 21:26:48gvanrossumsetmessageid: <>
2021-04-21 21:26:48gvanrossumlinkissue42737 messages
2021-04-21 21:26:48gvanrossumcreate