Re: Proposal: private keyword for import statements to hide module dependencies

Richard Damon <[email protected]>
Newsgroups gmane.comp.python.general
Message-ID <[email protected]>
> On Nov 21, 2025, at 4:20 PM, Bjørnar Remmen via Python-list <[email protected]> wrote:
> 
> I would like to open up for a discussion on how we can introduce a way to hide imports.
> 

My first thought is this isn’t the way Python tends to do things, and what it means to implement this is that a lookup in a namespace needs to know the context of the lookup.
-- 
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.