Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
7956ca69
Commit
7956ca69
authored
Nov 18, 1998
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*** empty log message ***
parent
589034bc
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
55 additions
and
41 deletions
+55
-41
lib/Components/ExtensionClass/COPYRIGHT.txt
lib/Components/ExtensionClass/COPYRIGHT.txt
+30
-30
lib/Components/ExtensionClass/doc/Acquisition.stx
lib/Components/ExtensionClass/doc/Acquisition.stx
+7
-5
lib/Components/ExtensionClass/doc/ExtensionClass.stx
lib/Components/ExtensionClass/doc/ExtensionClass.stx
+2
-1
lib/Components/ExtensionClass/doc/Installation
lib/Components/ExtensionClass/doc/Installation
+2
-0
lib/Components/ExtensionClass/doc/MultiMapping.stx
lib/Components/ExtensionClass/doc/MultiMapping.stx
+6
-0
lib/Components/ExtensionClass/release.fl
lib/Components/ExtensionClass/release.fl
+2
-0
lib/Components/ExtensionClass/src/release.sh
lib/Components/ExtensionClass/src/release.sh
+6
-5
No files found.
lib/Components/ExtensionClass/COPYRIGHT.txt
View file @
7956ca69
Copyright (
c
) 1996-1998, Digital Creations, Fredericksburg, VA, USA.
Copyright (
C
) 1996-1998, Digital Creations, Fredericksburg, VA, USA.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
o Redistributions of source code must retain the above copyright
notice, this list of conditions, and the disclaimer that follows.
o Redistributions in binary form must reproduce the above copyright
notice, this list of conditions, and the following disclaimer in
the documentation and/or other materials provided with the
distribution.
o Neither the name of Digital Creations nor the names of its
contributors may be used to endorse or promote products derived
from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY DIGITAL CREATIONS AND CONTRIBUTORS *AS
IS* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL DIGITAL
CREATIONS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
DAMAGE.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
o Redistributions of source code must retain the above copyright
notice, this list of conditions, and the disclaimer that follows.
o Redistributions in binary form must reproduce the above copyright
notice, this list of conditions, and the following disclaimer in
the documentation and/or other materials provided with the
distribution.
o Neither the name of Digital Creations nor the names of its
contributors may be used to endorse or promote products derived
from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY DIGITAL CREATIONS AND CONTRIBUTORS *AS
IS* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL DIGITAL
CREATIONS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
DAMAGE.
lib/Components/ExtensionClass/doc/Acquisition.stx
View file @
7956ca69
Acquisition
"Copyright (C) 1996-1998, Digital Creations":COPYRIGHT.html.
Acquisition [1] is a mechanism that allows objects to obtain
attributes from their environment. It is similar to inheritence,
except that, rather than traversing an inheritence hierarchy
to obtain attributes, a containment hierarchy is traversed.
The
ExtensionClass release includes mix-in extension base classes
that can be used to add acquisition as a feature to extension
subclasses. These mix-in classes use the context-wrapping featur
e
of ExtensionClasses to implement acquisition. Consider the following
example::
The
"ExtensionClass":ExtensionClass.html. release includes mix-in
extension base classes that can be used to add acquisition as a
feature to extension subclasses. These mix-in classes use th
e
context-wrapping feature of ExtensionClasses to implement
acquisition. Consider the following
example::
import ExtensionClass, Acquisition
...
...
lib/Components/ExtensionClass/doc/ExtensionClass.stx
View file @
7956ca69
Extension Classes, Python Extension Types Become Classes
Jim Fulton, Digital Creations, Inc.
jim@digicool.com
"Copyright (C) 1996-1998, Digital Creations":COPYRIGHT.html.
Abstract
A lightweight mechanism has been developed for making Python
...
...
lib/Components/ExtensionClass/doc/Installation
View file @
7956ca69
Installation
"Copyright (C) 1996-1998, Digital Creations"
:
COPYRIGHT
.
html
.
The
ExtensionClass
distribution
now
uses
the
"Universal Unix
Makefile for Python extensions"
,
'Makefile.pre.in'
,
which
was
introduced
as
part
of
Python1
.4
.
Copies
of
this
file
for
Python
...
...
lib/Components/ExtensionClass/doc/MultiMapping.stx
View file @
7956ca69
Example: MultiMapping objects
"Copyright (C) 1996-1998, Digital Creations":COPYRIGHT.html.
As an example, consider an extension class that implements a
"MultiMapping". A multi-mapping is an object that encapsulates 0
or more mapping objects. When an attempt is made to lookup an
...
...
@@ -400,3 +402,7 @@ Example: MultiMapping objects
m['spam'] # returns 3
m['ham'] # returns 4
m['foo'] # raises a key error
Note that the source file included in the ExtensionClass
distribution has numerous enhancements beyond the version shown in
this document.
lib/Components/ExtensionClass/release.fl
View file @
7956ca69
COPYRIGHT.txt
COPYRIGHT.html
ExtensionClass.stx
ExtensionClass.html
Installation
...
...
lib/Components/ExtensionClass/src/release.sh
View file @
7956ca69
...
...
@@ -3,11 +3,12 @@
R
=
$1
M
=
ExtensionClass
StructuredText <
$M
.stx
>
$M
.html
StructuredText < Installation
>
Installation.html
StructuredText < Acquisition.stx
>
Acquisition.html
StructuredText < MultiMapping.stx
>
MultiMapping.html
StructuredText < release.notes
>
release.html
StructuredText
-t
<
$M
.stx
>
$M
.html
StructuredText
-t
< Installation
>
Installation.html
StructuredText
-t
< Acquisition.stx
>
Acquisition.html
StructuredText
-t
< MultiMapping.stx
>
MultiMapping.html
StructuredText
-t
< COPYRIGHT.txt
>
COPYRIGHT.html
StructuredText
-t
< release.notes
>
release.html
rm
-rf
"
$M
-
$R
"
mkdir
"
$M
-
$R
"
...
...
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