Saul Shanabrook <s.shanabr...@gmail.com> added the comment:

Actually, keeping this open. 

I am still unclear if this is expected behavior or not, but I do notice that 
the dis module is unable to read the flag when the annotations future is 
imported.

For example `dis.pretty_flags(compile("from __future__ import annotations", "", 
"exec").co_flags)` return `'NOFREE, 0x1000000'`. 

Sorry for the repeated messages.

----------
status: closed -> open

_______________________________________
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