On Wed, Jan 22, 2020 at 02:39:57PM +0900, Stephen J. Turnbull wrote:

> I see some parallels, but I'm definitely in the camp of "confusingly
> similar" rather than "instructively similar", and I definitely don't
> see a need for a syntax change to enable importing anything inside
> expressions.

+1 QOTW

importlib.resources already provides this functionality in an easy to 
use functional form. We don't need a weird, unusual magic f-string 
variant, or even a new form of the import statement for this.


-- 
Steven
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/5G7IE6GOQQSZ3TIDTQTESBDLDBTTSHFR/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to