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

Guido van Rossum guido at python.org
Sun Apr 27 00:53:58 CEST 2008


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