April 8, 2022
11:51 a.m.
On Fri, 8 Apr 2022 at 12:23, Steve Dower <steve.dower@python.org> wrote:
I've read the rest of the thread so far, and agree strongly that we can't do this at the language/runtime level.
You mean the hoisting, right? I don't see any reason why an import expression without hoisting would be impractical. But I'd like to hear your thoughts if you think it is. Desirability on the other hand is subjective. I think I actually do desire it, others are not bothered. I don't see strong arguments as to why you definitely wouldn't want it in your language. Design is hard, but designing this is definitely not as hard as designing match/case or except* statements.