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 eric.araujo
Recipients docs@python, eric.araujo, saulshanabrook
Date 2021-11-19.22:07:56
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1637359676.7.0.705263197759.issue45805@roundup.psfhosted.org>
In-reply-to
Content
No worry about posting multiple messages.

I think the flag is documented through the __future__ module.
Future imports are both special-cased by the compiler to enable custom behaviour, but also real, regular imports!

    >>> from __future__ import annotations
    >>> annotations
    _Feature((3, 7, 0, 'beta', 1), (3, 10, 0, 'alpha', 0), 16777216)
    >>> hex(annotations.compiler_flag)
    '0x1000000'
History
Date User Action Args
2021-11-19 22:07:56eric.araujosetrecipients: + eric.araujo, docs@python, saulshanabrook
2021-11-19 22:07:56eric.araujosetmessageid: <1637359676.7.0.705263197759.issue45805@roundup.psfhosted.org>
2021-11-19 22:07:56eric.araujolinkissue45805 messages
2021-11-19 22:07:56eric.araujocreate