Raymond Hettinger <raymond.hettin...@gmail.com> added the comment:

Brett, do you have any thoughts on this?  My initial take is that __spec__ is 
primarily about import logic and that it likely shouldn't creep into exec'd 
code like dataclasses and named tuples.  Also, I'm reluctant to expand the API 
for something that looks like a one time use, especially when other 
alternatives are possible.

----------
nosy: +brett.cannon
versions:  -Python 3.5, Python 3.6, Python 3.7, Python 3.8

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

Reply via email to