[Patches] [Patch #103200] from foo import * respects __all__

noreply@sourceforge.net noreply@sourceforge.net
Fri, 12 Jan 2001 08:24:57 -0800


Patch #103200 has been updated. 

Project: python
Category: core (C code)
Status: Closed
Submitted by: nobody
Assigned to : gvanrossum
Summary: from foo import * respects __all__

Follow-Ups:

Date: 2001-Jan-12 08:24
By: gvanrossum

Comment:
I've checked in something similar.

(Note that your code leaks the value of __all__;-)

-------------------------------------------------------

Date: 2001-Jan-11 22:03
By: moshez

Comment:
Note: this patch also makes *any* Python object with an __all__ attribute
valid for "from foo import *"
(this comment is partially a test for whether I can post comments...)
-------------------------------------------------------

Date: 2001-Jan-11 13:39
By: gvanrossum

Comment:
Thanks -- I'll merge this with the partial code I had for this myself.
-------------------------------------------------------

-------------------------------------------------------
For more info, visit:

http://sourceforge.net/patch/?func=detailpatch&patch_id=103200&group_id=5470