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 saulshanabrook
Recipients docs@python, saulshanabrook
Date 2021-11-14.08:20:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1636878037.09.0.00718141853617.issue45805@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2021-11-14 08:20:37saulshanabrooksetrecipients: + saulshanabrook, docs@python
2021-11-14 08:20:37saulshanabrooksetmessageid: <1636878037.09.0.00718141853617.issue45805@roundup.psfhosted.org>
2021-11-14 08:20:37saulshanabrooklinkissue45805 messages
2021-11-14 08:20:36saulshanabrookcreate