[Python-Dev] Add __exports__ to modules
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 <firstname.lastname@example.org>
This is a signature anti-virus.
Please stop the spread of signature viruses!