On Tue, Mar 31, 2020 at 12:12 AM <jope...@hotmail.fr> wrote: > That's why I propose to restrict the aliased import statement (`import ... as > ...`) to not be able to alias imported submodule, letting `from ... import > ... as ...` statement be the only to do it. > The roadmap could be to depreciate the statement with a warning in a few next > releases, to remove finally remove the syntax. > (hoping my English is okay) >
Can you elaborate a bit more on what the advantage of restricting and removing this is? ChrisA _______________________________________________ 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/JEMHSKVVRHMUI5DXQ3NBIFUBRZVWKL27/ Code of Conduct: http://python.org/psf/codeofconduct/