Re: PEP Idea: Extended import syntax for aliasing module attributes

Barry Scott <[email protected]>
Newsgroups gmane.comp.python.general
Message-ID <[email protected]>

> On 17 Jun 2025, at 00:19, Omar Ahmed via Python-list <[email protected]> wrote:
> 
> Hi all,
> I would like to propose a potential addition to Python's `import` syntax that would improve clarity and ergonomics for cases where developers want both full module access *and* a local alias to a specific attribute within that module.
> 

FYI python idea are discussed on https://discussion.fedoraproject.org/ these days.
You will get a lot of feedback there.

Barry
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.