Message406621
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' |
|
Date |
User |
Action |
Args |
2021-11-19 22:07:56 | eric.araujo | set | recipients:
+ eric.araujo, docs@python, saulshanabrook |
2021-11-19 22:07:56 | eric.araujo | set | messageid: <1637359676.7.0.705263197759.issue45805@roundup.psfhosted.org> |
2021-11-19 22:07:56 | eric.araujo | link | issue45805 messages |
2021-11-19 22:07:56 | eric.araujo | create | |
|