Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
d895749b
Commit
d895749b
authored
Aug 10, 1998
by
Guido van Rossum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
New warnings to the uninitiated reader.
parent
d741f4c4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
4 deletions
+11
-4
Demo/metaclasses/index.html
Demo/metaclasses/index.html
+11
-4
No files found.
Demo/metaclasses/index.html
View file @
d895749b
...
...
@@ -9,8 +9,16 @@
<H1>
Metaclasses in Python 1.5
</H1>
<H2>
(A.k.a. The Killer Joke :-)
</H2>
<P><b>
Note: this document describes a feature only released in Python
1.5 (starting with 1.5a3).
</b>
<HR>
(
<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
called the ``Don Beaudry hook'', after its inventor and champion.
...
...
@@ -27,8 +35,7 @@ there's something dark to it.)
<P>
(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.)
<P>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment