From d895749b61da4bb937b47f69835b3d6ec2495767 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Mon, 10 Aug 1998 01:54:40 +0000 Subject: [PATCH] New warnings to the uninitiated reader. --- Demo/metaclasses/index.html | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/Demo/metaclasses/index.html b/Demo/metaclasses/index.html index 77186cc10ca9..1a54cdd7e63a 100644 --- a/Demo/metaclasses/index.html +++ b/Demo/metaclasses/index.html @@ -9,8 +9,16 @@

Metaclasses in Python 1.5

(A.k.a. The Killer Joke :-)

-

Note: this document describes a feature only released in Python -1.5 (starting with 1.5a3). +


+ +(Postscript: reading this essay is probably not the best way to +understand the metaclass hook described here. See a message posted by Vladimir Marangozov +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.) + +

In previous Python releases (and still in 1.5), there is something called the ``Don Beaudry hook'', after its inventor and champion. @@ -27,8 +35,7 @@

(A.k.a. The Killer Joke :-)

(On first reading, you may want to skip directly to the examples in the section "Writing Metaclasses in Python" below, unless you want -your head to explode.) (XXX I should really restructure this document -to place the historic notes last. After 1.5a4 is released...) +your head to explode.)