On Mon, Apr 11, 2022 at 2:03 PM Brett Cannon <br...@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
_______________________________________________ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-le...@python.org https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://mail.python.org/archives/list/python-dev@python.org/message/FR3SSOXKWPQJNI2YGLITOW6NXADZGMCU/ Code of Conduct: http://python.org/psf/codeofconduct/