12 Apr
2022
12 Apr
'22
4:31 p.m.
On Mon, Apr 11, 2022 at 2:03 PM Brett Cannon <brett@python.org> wrote:
That is an extremely subtle shift for what `import x.y` does compared to `(import x.y)`. That requires a context switch of not only seeing `import` in an expression context, but that the statement also acts differently in terms of what is returned by the equivalent statement. I really don't to try and teach that distinction to a newcomer.
Frankly, there are already an overwhelming-to-a-newcomer number of ways to import modules. We really don't want nore! -CHB -- Christopher Barker, PhD (Chris) Python Language Consulting - Teaching - Scientific Software Development - Desktop GUI and Web Development - wxPython, numpy, scipy, Cython