Magic words

Thomas Heller theller at python.net
Mon Apr 15 13:56:37 EDT 2002


"Bengt Richter" <bokr at oz.net> wrote in message news:a9f30t$mmo$0 at 216.39.172.122...
> On Mon, 15 Apr 2002 11:35:13 +0000 (UTC), Duncan Booth <duncan at NOSPAMrcp.co.uk> wrote:
>
> >Scott David Daniels <Scott.Daniels at Acm.Org> wrote in
> >news:1104_1018820620 at news.dsl-only.net:
> >
> >>> Seo Sanghyeon || Sat 13 Apr 2002 05:49:17a:
> >>> > Thank you very much for pointers, but I can think of something not
> >>> > listed there. For example, __all__ for "from module import *",
> >>> > pickle protocols, __new__ for subclassing from a type and so on. Is
> >>> > there a complete (or near-complete) list?
> >>> ...
> >>
> >> You could also take this lack of a list as a charter for your
> >> collecting _all_ (not __all__) such names, and creating a document for
> >> others who, like you want to know the list of such names.  This could
> >> include package references if you so desire (others will complain if
> >> you leave something out, providing you with more fodder for your
> >> document).
> >>
> >
> >To get you started, here is a list built by grepping over the Python
> >sources. Some of the names are probably red herrings, and there are
> >probably some used by libraries not in this list, but it should give you a
> >start:
> >
> [... grepped sorted list ...]
>
> Cool. Do you feel motivated to do the same on the .../doc/* tree and
> then do a diff? ;-)
>
There's a tool which does this: Doc/tools/undoc_symbols.py.
(It has to be tweaked slightly).

Thomas





More information about the Python-list mailing list