[Python-Dev] Add __exports__ to modules

Moshe Zadka moshez@zadka.site.co.il
Tue, 9 Jan 2001 02:03:00 +0200 (IST)


On Mon, 08 Jan 2001 10:15:20 -0500, Guido van Rossum <guido@python.org> wrote:

> (1) For what problem?

Users seeing things they didn't expect in their modules.

> (2) Under exactly what circumstances do you want from foo import *
>     issue a warning?

All.
If you want to be less extreme, don't warn if the module defines
a __from_star_ok__

But in any case, I'm done with this thread. We'll probably won't
manage to convince each other.
-- 
Moshe Zadka <sig@zadka.site.co.il>
This is a signature anti-virus. 
Please stop the spread of signature viruses!