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

Neal Becker via Python-list <[email protected]>
Newsgroups gmane.comp.python.general
Message-ID <CAG3t+pF7f+CrckokP0CTHKpOQYPdnFYAynYSMsjs=dKqr+0NUA@mail.gmail.com>
On Tue, Jun 17, 2025 at 8:19 AM 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
>
> Are you sure you meant to point to the Fedora discussion, not python?
-- 
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.