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

Abdur-Rahmaan Janhangeer via Python-list <[email protected]>
Newsgroups gmane.comp.python.general
Message-ID <CADrxXXn7ALMs6X5aY3r0u-zukX0OSN5FGTi==oYRq5ketYj2Lg@mail.gmail.com>
And here: https://discuss.python.org/c/ideas/6

Kind Regards,

Abdur-Rahmaan Janhangeer
about <https://compileralchemy.github.io/> | blog
<https://compileralchemy.substack.com/>
github <https://github.com/Abdur-RahmaanJ>
Mauritius


On Tue, Jun 17, 2025 at 4:20 PM Barry Scott <[email protected]> wrote:

>
>
> > 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
>
>
> --
> https://mail.python.org/mailman3//lists/python-list.python.org
>
-- 
https://mail.python.org/mailman3//lists/python-list.python.org
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.