[Python-Dev] Add __exports__ to modules
Andrew Kuchling
akuchlin@mems-exchange.org
Mon, 8 Jan 2001 11:49:13 -0500
On Mon, Jan 08, 2001 at 08:46:47AM -0800, Paul Prescod wrote:
>How are class browsers and "intellisense prompters" supposed to know
>that it "makes sense" to prompt the user with os.path but not
>CGIHTTPServer.os.path.
Could we then simply adopt __exports__ as a convention for such
browsers, but with no changes to core Python to support it? Browsers
would then follow the algorithm "Use __exports__ if present, dir() if
not."
--amk