From: Samuele P. <pe...@in...> - 2001-05-21 19:40:43
|
Hi. [Robert W. Bill] > Hello, > > I'm curious about the underscore import restriction- e.g, > >>> from A import * > when objects within "A" begin with a single underscore. > > 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. regards, Samuele Pedroni. |