A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2001-January/011440.html below:

[Python-Dev] Add __exports__ to modules

[Python-Dev] Add __exports__ to modules [Python-Dev] Add __exports__ to modulesMoshe Zadka moshez@zadka.site.co.il
Tue, 9 Jan 2001 03:30:09 +0200 (IST)
On Mon, 08 Jan 2001 09:01:49 -0800, Paul Prescod <paulp@ActiveState.com> wrote:

> dir() is one of the "interactive tools" I'd like to work better in the
> presence of __exports__. On the other hand, dir() works pretty poorly
> for object instances today so maybe we need something new anyhow. 
> Perhaps attrs()? 
> 
> If there were an "attrs()" and it basically returned __exports__ if it
> existed and dir() if it didn't, then I would buy it. Graphical apps
> would just build on attrs().

Even better, __exports__ could be what was imported in 
from foo import *.
-- 
Moshe Zadka <sig@zadka.site.co.il>
This is a signature anti-virus. 
Please stop the spread of signature viruses!



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4