Magic words

Thomas Heller theller at python.net
Mon Apr 15 13:41:17 EDT 2002


"Duncan Booth" <duncan at NOSPAMrcp.co.uk> wrote in message news:Xns91F17F7FFB78Fduncanrcpcouk at 127.0.0.1...
> 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:
[snip list]

or use my (not yet announced) Python Index search:

http://starship.python.net/crew/theller/pyhelp.cgi?keyword=__%5Cw*__&version=current&regexp=on

Thomas





More information about the Python-list mailing list