Larry Hastings <la...@hastings.org> added the comment:

For what it's worth: I changed the name to ONLY_IF_STRINGIZED in the PR.

Since I propose that it be the default, everyone who called 
inspect.get_annotations(), and inspect.signature(), would use it.  I think 
Pydantic would prefer it, because Pydantic wants to see the real objects at 
runtime, rather than the stringized annotations.

If stringized annotations were deprecated in the future, then eval_str should 
be deprecated at the same time.

----------

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

Reply via email to