On Tue, Mar 31, 2020 at 12:12 AM <[email protected]> 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 -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/[email protected]/message/JEMHSKVVRHMUI5DXQ3NBIFUBRZVWKL27/ Code of Conduct: http://python.org/psf/codeofconduct/
