[Python-3000] Hiding _abcoll from introspection (e.g. help() and cie.)

Alexandre Vassalotti alexandre at peadrop.com
Sun Apr 27 02:37:02 CEST 2008


Although I am not totally convinced that it would make harder to find
to source or that it could confuse other introspection tools, I don't
feel that something worth arguing about. So, I guess that pretty much
kill the idea.

Thanks,
-- Alexandre

On Sat, Apr 26, 2008 at 6:53 PM, Guido van Rossum <guido at python.org> wrote:
> I'm not in favor of lying regarding the origin of objects; it makes it
>  harder to find the source and can confuse other introspection tools.
>  This is an inherent limitation of help(), and not one I'm inclined to
>  lose sleep over.
>
>
>
>  On Sat, Apr 26, 2008 at 3:21 PM, Alexandre Vassalotti
>  <alexandre at peadrop.com> wrote:
>  >  Since _abcoll shouldn't be used directly, would changing its __name__
>  >  module attribute to 'collections' be justified? This would hide the
>  >  module from appearing in the subclasses listing of help().
>
>  --
>  --Guido van Rossum (home page: http://www.python.org/~guido/)
>


More information about the Python-3000 mailing list