New submission from Saul Shanabrook <s.shanabr...@gmail.com>:

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.

----------
assignee: docs@python
components: Documentation, Library (Lib)
messages: 406309
nosy: docs@python, saulshanabrook
priority: normal
severity: normal
status: open
title: CO_FUTURE_ANNOTATIONS flag is not documented or in inspect
versions: Python 3.7

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue45805>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to