Bugs item #426023, was opened at 2001-05-21 12:36
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=112867&aid=426023&group_id=12867
Category: Core
>Group: Fixed in 2.1a2
Status: Closed
Resolution: Fixed
Priority: 3
Submitted By: Samuele Pedroni (pedronis)
Assigned to: Nobody/Anonymous (nobody)
Summary: from import *: ign __ vs. _ and __all__
Initial Comment:
[Robert W. Bill]
> CPython excludes those objects prefixed with a single
underscore,
> while Jython excludes those with 2 prefixing
underscores only.
> I didn't see anything on "differences.html," in the
bug-list, in
> mail archives, nor code comment that indicates this
is
> intended. Sorry if I've overlooked the obvious, but
I
> was hoping someone could tell me if this is expected
behavior,
> or if it could change anytime soon.
Thanks for reporting this, it's a bug and there's is
another bug
related to the fact that the restriction is in-place
even when
__all__ is set.
----------------------------------------------------------------------
Comment By: Samuele Pedroni (pedronis)
Date: 2001-05-28 15:45
Message:
Logged In: YES
user_id=61408
fixed in CVS.
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=112867&aid=426023&group_id=12867
|