mirror of https://github.com/python/cpython.git
New warnings to the uninitiated reader.
This commit is contained in:
parent
d741f4c48c
commit
d895749b61
|
@ -9,8 +9,16 @@
|
||||||
<H1>Metaclasses in Python 1.5</H1>
|
<H1>Metaclasses in Python 1.5</H1>
|
||||||
<H2>(A.k.a. The Killer Joke :-)</H2>
|
<H2>(A.k.a. The Killer Joke :-)</H2>
|
||||||
|
|
||||||
<P><b>Note: this document describes a feature only released in Python
|
<HR>
|
||||||
1.5 (starting with 1.5a3).</b>
|
|
||||||
|
(<i>Postscript:</i> reading this essay is probably not the best way to
|
||||||
|
understand the metaclass hook described here. See a <A
|
||||||
|
HREF="meta-vladimir.txt">message posted by Vladimir Marangozov</A>
|
||||||
|
which may give a gentler introduction to the matter. You may also
|
||||||
|
want to search Deja News for messages with "metaclass" in the subject
|
||||||
|
posted to comp.lang.python in July and August 1998.)
|
||||||
|
|
||||||
|
<HR>
|
||||||
|
|
||||||
<P>In previous Python releases (and still in 1.5), there is something
|
<P>In previous Python releases (and still in 1.5), there is something
|
||||||
called the ``Don Beaudry hook'', after its inventor and champion.
|
called the ``Don Beaudry hook'', after its inventor and champion.
|
||||||
|
@ -27,8 +35,7 @@ <H2>(A.k.a. The Killer Joke :-)</H2>
|
||||||
|
|
||||||
<P>(On first reading, you may want to skip directly to the examples in
|
<P>(On first reading, you may want to skip directly to the examples in
|
||||||
the section "Writing Metaclasses in Python" below, unless you want
|
the section "Writing Metaclasses in Python" below, unless you want
|
||||||
your head to explode.) (XXX I should really restructure this document
|
your head to explode.)
|
||||||
to place the historic notes last. After 1.5a4 is released...)
|
|
||||||
|
|
||||||
<P>
|
<P>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue