Ken Jin <kenjin4...@gmail.com> added the comment:

Rejecting this since annotations are expressions that have side effects (so 
anti-patterns are discouraged). If you *really* want this, I suspect str: 
"str"="asdf" or using `from __future__ import annotations` will work.

----------
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed

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

Reply via email to