Message406309
The CO_FUTURE_ANNOTATIONS code flag was added in Python 3.7 I believe in this PR https://github.com/python/cpython/pull/4390.
However, it does not appear in dis's COMPILER_FLAG_NAMES map and so is not documented in inspect or pretty printed.
I believe the fix would be to add it to the dict in dis as well as document it in inspect. |
|
Date |
User |
Action |
Args |
2021-11-14 08:20:37 | saulshanabrook | set | recipients:
+ saulshanabrook, docs@python |
2021-11-14 08:20:37 | saulshanabrook | set | messageid: <1636878037.09.0.00718141853617.issue45805@roundup.psfhosted.org> |
2021-11-14 08:20:37 | saulshanabrook | link | issue45805 messages |
2021-11-14 08:20:36 | saulshanabrook | create | |
|