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
83ba2115
Commit
83ba2115
authored
Mar 21, 2002
by
Toby Dickenson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
merged toby-safe-missing-cvs-revision-tags-branch; cvs -kk compatability
parent
654bae09
Changes
16
Hide whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
53 additions
and
62 deletions
+53
-62
ZServer/medusa/ftp_server.py
ZServer/medusa/ftp_server.py
+5
-2
ZServer/medusa/http_server.py
ZServer/medusa/http_server.py
+5
-2
ZServer/medusa/monitor.py
ZServer/medusa/monitor.py
+5
-2
ZServer/medusa/resolver.py
ZServer/medusa/resolver.py
+5
-2
lib/Components/BTree/BTree.c
lib/Components/BTree/BTree.c
+1
-8
lib/Components/BTree/intSet.c
lib/Components/BTree/intSet.c
+1
-6
lib/Components/cPickle/cPickle.c
lib/Components/cPickle/cPickle.c
+3
-6
lib/python/AccessControl/cAccessControl.c
lib/python/AccessControl/cAccessControl.c
+2
-6
lib/python/DocumentTemplate/cDocumentTemplate.c
lib/python/DocumentTemplate/cDocumentTemplate.c
+1
-5
lib/python/Products/PluginIndexes/TextIndex/Splitter/ZopeSplitter/src/ZopeSplitter.c
...ndexes/TextIndex/Splitter/ZopeSplitter/src/ZopeSplitter.c
+1
-4
lib/python/SearchIndex/Splitter.c
lib/python/SearchIndex/Splitter.c
+1
-4
lib/python/Shared/DC/xml/pyexpat/dcpyexpat.c
lib/python/Shared/DC/xml/pyexpat/dcpyexpat.c
+3
-7
lib/python/ZServer/medusa/ftp_server.py
lib/python/ZServer/medusa/ftp_server.py
+5
-2
lib/python/ZServer/medusa/http_server.py
lib/python/ZServer/medusa/http_server.py
+5
-2
lib/python/ZServer/medusa/monitor.py
lib/python/ZServer/medusa/monitor.py
+5
-2
lib/python/ZServer/medusa/resolver.py
lib/python/ZServer/medusa/resolver.py
+5
-2
No files found.
ZServer/medusa/ftp_server.py
View file @
83ba2115
...
...
@@ -5,7 +5,7 @@
# All Rights Reserved.
#
RCS_ID
=
'$Id: ftp_server.py,v 1.1
8 2001/07/09 15:13:06 andreas
Exp $'
RCS_ID
=
'$Id: ftp_server.py,v 1.1
9 2002/03/21 15:48:53 htrd
Exp $'
# An extensible, configurable, asynchronous FTP server.
#
...
...
@@ -48,7 +48,10 @@ import time
# 2) carefully control the effective uid around filesystem accessing
# methods, using try/finally. [this seems to work]
VERSION
=
string
.
split
(
RCS_ID
)[
2
]
if
RCS_ID
.
startswith
(
'$Id: '
):
VERSION
=
string
.
split
(
RCS_ID
)[
2
]
else
:
VERSION
=
'0.0'
from
counter
import
counter
import
producers
...
...
ZServer/medusa/http_server.py
View file @
83ba2115
...
...
@@ -6,7 +6,7 @@
# All Rights Reserved.
#
RCS_ID
=
'$Id: http_server.py,v 1.3
0 2001/09/20 13:29:28 andreasjung
Exp $'
RCS_ID
=
'$Id: http_server.py,v 1.3
1 2002/03/21 15:48:53 htrd
Exp $'
# python modules
import
os
...
...
@@ -28,7 +28,10 @@ import producers
import
status_handler
import
logger
VERSION_STRING
=
string
.
split
(
RCS_ID
)[
2
]
if
RCS_ID
.
startswith
(
'$Id: '
):
VERSION_STRING
=
string
.
split
(
RCS_ID
)[
2
]
else
:
VERSION_STRING
=
'0.0'
from
counter
import
counter
from
urllib
import
unquote
...
...
ZServer/medusa/monitor.py
View file @
83ba2115
...
...
@@ -5,7 +5,7 @@
# python REPL channel.
#
RCS_ID
=
'$Id: monitor.py,v 1.1
2 2001/05/01 11:44:48 andreas
Exp $'
RCS_ID
=
'$Id: monitor.py,v 1.1
3 2002/03/21 15:48:53 htrd
Exp $'
import
md5
import
socket
...
...
@@ -13,7 +13,10 @@ import string
import
sys
import
time
VERSION
=
string
.
split
(
RCS_ID
)[
2
]
if
RCS_ID
.
startswith
(
'$Id: '
):
VERSION
=
string
.
split
(
RCS_ID
)[
2
]
else
:
VERSION
=
'0.0'
import
asyncore
import
asynchat
...
...
ZServer/medusa/resolver.py
View file @
83ba2115
...
...
@@ -4,7 +4,7 @@
# Author: Sam Rushing <rushing@nightmare.com>
#
RCS_ID
=
'$Id: resolver.py,v 1.
9 2001/05/01 11:44:49 andreas
Exp $'
RCS_ID
=
'$Id: resolver.py,v 1.
10 2002/03/21 15:48:53 htrd
Exp $'
# Fast, low-overhead asynchronous name resolver. uses 'pre-cooked'
...
...
@@ -19,7 +19,10 @@ import sys
import
time
from
counter
import
counter
VERSION
=
string
.
split
(
RCS_ID
)[
2
]
if
RCS_ID
.
startswith
(
'$Id: '
):
VERSION
=
string
.
split
(
RCS_ID
)[
2
]
else
:
VERSION
=
'0.0'
# header
# 1 1 1 1 1 1
...
...
lib/Components/BTree/BTree.c
View file @
83ba2115
...
...
@@ -13,7 +13,7 @@
static
char
BTree_module_documentation
[]
=
""
"
\n
$Id: BTree.c,v 1.3
0 2001/11/28 15:50:50 matt
Exp $"
"
\n
$Id: BTree.c,v 1.3
1 2002/03/21 15:48:53 htrd
Exp $"
;
#define PERSISTENT
...
...
@@ -2027,9 +2027,6 @@ initBTree(void)
#endif
{
PyObject
*
m
,
*
d
;
char
*
rev
=
"$Revision: 1.30 $"
;
UNLESS
(
PyExtensionClassCAPI
=
PyCObject_Import
(
"ExtensionClass"
,
"CAPI"
))
return
;
...
...
@@ -2073,10 +2070,6 @@ initBTree(void)
PyExtensionClass_Export
(
d
,
"Bucket"
,
BucketType
);
PyExtensionClass_Export
(
d
,
"BTree"
,
BTreeType
);
PyDict_SetItemString
(
d
,
"__version__"
,
PyString_FromStringAndSize
(
rev
+
11
,
strlen
(
rev
+
11
)
-
2
));
/* Check for errors */
if
(
PyErr_Occurred
())
Py_FatalError
(
"can't initialize module BTree"
);
...
...
lib/Components/BTree/intSet.c
View file @
83ba2115
...
...
@@ -13,7 +13,7 @@
static
char
intSet_module_documentation
[]
=
""
"
\n
$Id: intSet.c,v 1.2
1 2001/11/28 15:50:50 matt
Exp $"
"
\n
$Id: intSet.c,v 1.2
2 2002/03/21 15:48:53 htrd
Exp $"
;
#include <limits.h>
...
...
@@ -524,7 +524,6 @@ void
initintSet
(
void
)
{
PyObject
*
m
,
*
d
;
char
*
rev
=
"$Revision: 1.21 $"
;
UNLESS
(
ExtensionClassImported
)
return
;
...
...
@@ -546,10 +545,6 @@ initintSet(void)
PyExtensionClass_Export
(
d
,
"intSet"
,
intSetType
);
PyDict_SetItemString
(
d
,
"__version__"
,
PyString_FromStringAndSize
(
rev
+
11
,
strlen
(
rev
+
11
)
-
2
));
/* Check for errors */
if
(
PyErr_Occurred
())
Py_FatalError
(
"can't initialize module intSet"
);
...
...
lib/Components/cPickle/cPickle.c
View file @
83ba2115
/*
* $Id: cPickle.c,v 1.7
3 2001/04/10 16:55:33 jim
Exp $
* $Id: cPickle.c,v 1.7
4 2002/03/21 15:48:54 htrd
Exp $
*
* Copyright (c) 1996-1998, Digital Creations, Fredericksburg, VA, USA.
* All rights reserved.
...
...
@@ -49,7 +49,7 @@
static
char
cPickle_module_documentation
[]
=
"C implementation and optimization of the Python pickle module
\n
"
"
\n
"
"$Id: cPickle.c,v 1.7
3 2001/04/10 16:55:33 jim
Exp $
\n
"
"$Id: cPickle.c,v 1.7
4 2002/03/21 15:48:54 htrd
Exp $
\n
"
;
#include "Python.h"
...
...
@@ -4404,8 +4404,7 @@ init_stuff(PyObject *module, PyObject *module_dict) {
#endif
DL_EXPORT
(
void
)
initcPickle
()
{
PyObject
*
m
,
*
d
,
*
v
;
char
*
rev
=
"$Revision: 1.73 $"
;
PyObject
*
m
,
*
d
;
PyObject
*
format_version
;
PyObject
*
compatible_formats
;
...
...
@@ -4420,8 +4419,6 @@ initcPickle() {
/* Add some symbolic constants to the module */
d
=
PyModule_GetDict
(
m
);
PyDict_SetItemString
(
d
,
"__version__"
,
v
=
PyString_FromString
(
rev
));
Py_XDECREF
(
v
);
format_version
=
PyString_FromString
(
"1.3"
);
compatible_formats
=
Py_BuildValue
(
"[sss]"
,
"1.0"
,
"1.1"
,
"1.2"
);
...
...
lib/python/AccessControl/cAccessControl.c
View file @
83ba2115
...
...
@@ -36,7 +36,7 @@
USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
DAMAGE.
$Id: cAccessControl.c,v 1.1
4 2002/02/01 18:08:10 matt
Exp $
$Id: cAccessControl.c,v 1.1
5 2002/03/21 15:48:54 htrd
Exp $
If you have questions regarding this software,
contact:
...
...
@@ -2077,7 +2077,6 @@ static struct PyMethodDef dtml_methods[] = {
void
initcAccessControl
(
void
)
{
PyObject
*
module
;
PyObject
*
dict
;
char
*
rev
=
"$Revision: 1.14 $"
;
PURE_MIXIN_CLASS
(
RestrictedDTMLMixin
,
"A mix-in for derivatives of DT_String.String "
"that adds Zope security."
...
...
@@ -2098,16 +2097,13 @@ void initcAccessControl(void) {
module
=
Py_InitModule3
(
"cAccessControl"
,
cAccessControl_methods
,
"$Id: cAccessControl.c,v 1.1
4 2002/02/01 18:08:10 matt
Exp $
\n
"
);
"$Id: cAccessControl.c,v 1.1
5 2002/03/21 15:48:54 htrd
Exp $
\n
"
);
aq_init
();
/* For Python <= 2.1.1, aq_init() should be after
Py_InitModule(). */
dict
=
PyModule_GetDict
(
module
);
PyDict_SetItemString
(
dict
,
"__version__"
,
PyString_FromStringAndSize
(
rev
+
11
,
strlen
(
rev
+
11
)
-
2
));
PyDict_SetItemString
(
dict
,
"_what_not_even_god_should_do"
,
_what_not_even_god_should_do
);
...
...
lib/python/DocumentTemplate/cDocumentTemplate.c
View file @
83ba2115
...
...
@@ -12,7 +12,7 @@
****************************************************************************/
static
char
cDocumentTemplate_module_documentation
[]
=
""
"
\n
$Id: cDocumentTemplate.c,v 1.4
2 2001/11/28 15:50:55 matt
Exp $"
"
\n
$Id: cDocumentTemplate.c,v 1.4
3 2002/03/21 15:48:54 htrd
Exp $"
;
#include "ExtensionClass.h"
...
...
@@ -867,7 +867,6 @@ void
initcDocumentTemplate
(
void
)
{
PyObject
*
m
,
*
d
;
char
*
rev
=
"$Revision: 1.42 $"
;
DictInstanceType
.
ob_type
=&
PyType_Type
;
...
...
@@ -910,7 +909,4 @@ initcDocumentTemplate(void)
PyExtensionClass_Export
(
d
,
"InstanceDict"
,
InstanceDictType
);
PyExtensionClass_Export
(
d
,
"TemplateDict"
,
MMtype
);
PyDict_SetItemString
(
d
,
"__version__"
,
PyString_FromStringAndSize
(
rev
+
11
,
strlen
(
rev
+
11
)
-
2
));
}
lib/python/Products/PluginIndexes/TextIndex/Splitter/ZopeSplitter/src/ZopeSplitter.c
View file @
83ba2115
...
...
@@ -527,7 +527,7 @@ static char Splitter_module_documentation[] =
"
\n
"
"for use in an inverted index
\n
"
"
\n
"
"$Id: ZopeSplitter.c,v 1.
7 2002/01/21 19:28:55 andreasjung
Exp $
\n
"
"$Id: ZopeSplitter.c,v 1.
8 2002/03/21 15:48:54 htrd
Exp $
\n
"
;
...
...
@@ -535,7 +535,6 @@ void
initZopeSplitter
(
void
)
{
PyObject
*
m
,
*
d
;
char
*
rev
=
"$Revision: 1.7 $"
;
/* Create the module and add the functions */
m
=
Py_InitModule4
(
"ZopeSplitter"
,
Splitter_module_methods
,
...
...
@@ -544,8 +543,6 @@ initZopeSplitter(void)
/* Add some symbolic constants to the module */
d
=
PyModule_GetDict
(
m
);
PyDict_SetItemString
(
d
,
"__version__"
,
PyString_FromStringAndSize
(
rev
+
11
,
strlen
(
rev
+
11
)
-
2
));
if
(
PyErr_Occurred
())
Py_FatalError
(
"can't initialize module Splitter"
);
...
...
lib/python/SearchIndex/Splitter.c
View file @
83ba2115
...
...
@@ -406,7 +406,7 @@ static char Splitter_module_documentation[] =
"
\n
"
"for use in an inverted index
\n
"
"
\n
"
"$Id: Splitter.c,v 1.1
8 2001/11/28 15:51:11 matt
Exp $
\n
"
"$Id: Splitter.c,v 1.1
9 2002/03/21 15:48:55 htrd
Exp $
\n
"
;
...
...
@@ -414,7 +414,6 @@ void
initSplitter
(
void
)
{
PyObject
*
m
,
*
d
;
char
*
rev
=
"$Revision: 1.18 $"
;
/* Create the module and add the functions */
m
=
Py_InitModule4
(
"Splitter"
,
Splitter_module_methods
,
...
...
@@ -423,8 +422,6 @@ initSplitter(void)
/* Add some symbolic constants to the module */
d
=
PyModule_GetDict
(
m
);
PyDict_SetItemString
(
d
,
"__version__"
,
PyString_FromStringAndSize
(
rev
+
11
,
strlen
(
rev
+
11
)
-
2
));
if
(
PyErr_Occurred
())
Py_FatalError
(
"can't initialize module Splitter"
);
}
lib/python/Shared/DC/xml/pyexpat/dcpyexpat.c
View file @
83ba2115
...
...
@@ -71,7 +71,7 @@ my_StartElementHandler(void *userdata, const char *name, const char **atts) {
PyObject
*
attrs_obj
;
int
attrs_len
;
const
char
**
attrs_p
,
**
attrs_k
;
if
(
self
->
StartElementHandler
!=
Py_None
)
{
if
(
self
->
attrdict
)
{
...
...
@@ -709,13 +709,13 @@ static struct PyMethodDef pyexpat_methods[] = {
/* Initialization function for the module (*must* be called initpyexpat) */
static
char
pyexpat_module_documentation
[]
=
""
"
$Id: dcpyexpat.c,v 1.4 2002/03/21 15:48:56 htrd Exp $
"
;
void
initdcpyexpat
(
void
)
{
PyObject
*
m
,
*
d
;
char
*
rev
=
"$Revision: 1.
3
$"
;
char
*
rev
=
"$Revision: 1.
4
$"
;
Xmlparsetype
.
ob_type
=
&
PyType_Type
;
...
...
@@ -727,10 +727,6 @@ initdcpyexpat(void) {
ErrorObject
=
PyString_FromString
(
"pyexpat.error"
);
PyDict_SetItemString
(
d
,
"error"
,
ErrorObject
);
PyDict_SetItemString
(
d
,
"__version__"
,
PyString_FromStringAndSize
(
rev
+
11
,
strlen
(
rev
+
11
)
-
2
));
#define MYCONST(name) \
PyDict_SetItemString(d, #name, PyInt_FromLong(name))
...
...
lib/python/ZServer/medusa/ftp_server.py
View file @
83ba2115
...
...
@@ -5,7 +5,7 @@
# All Rights Reserved.
#
RCS_ID
=
'$Id: ftp_server.py,v 1.1
8 2001/07/09 15:13:06 andreas
Exp $'
RCS_ID
=
'$Id: ftp_server.py,v 1.1
9 2002/03/21 15:48:53 htrd
Exp $'
# An extensible, configurable, asynchronous FTP server.
#
...
...
@@ -48,7 +48,10 @@ import time
# 2) carefully control the effective uid around filesystem accessing
# methods, using try/finally. [this seems to work]
VERSION
=
string
.
split
(
RCS_ID
)[
2
]
if
RCS_ID
.
startswith
(
'$Id: '
):
VERSION
=
string
.
split
(
RCS_ID
)[
2
]
else
:
VERSION
=
'0.0'
from
counter
import
counter
import
producers
...
...
lib/python/ZServer/medusa/http_server.py
View file @
83ba2115
...
...
@@ -6,7 +6,7 @@
# All Rights Reserved.
#
RCS_ID
=
'$Id: http_server.py,v 1.3
0 2001/09/20 13:29:28 andreasjung
Exp $'
RCS_ID
=
'$Id: http_server.py,v 1.3
1 2002/03/21 15:48:53 htrd
Exp $'
# python modules
import
os
...
...
@@ -28,7 +28,10 @@ import producers
import
status_handler
import
logger
VERSION_STRING
=
string
.
split
(
RCS_ID
)[
2
]
if
RCS_ID
.
startswith
(
'$Id: '
):
VERSION_STRING
=
string
.
split
(
RCS_ID
)[
2
]
else
:
VERSION_STRING
=
'0.0'
from
counter
import
counter
from
urllib
import
unquote
...
...
lib/python/ZServer/medusa/monitor.py
View file @
83ba2115
...
...
@@ -5,7 +5,7 @@
# python REPL channel.
#
RCS_ID
=
'$Id: monitor.py,v 1.1
2 2001/05/01 11:44:48 andreas
Exp $'
RCS_ID
=
'$Id: monitor.py,v 1.1
3 2002/03/21 15:48:53 htrd
Exp $'
import
md5
import
socket
...
...
@@ -13,7 +13,10 @@ import string
import
sys
import
time
VERSION
=
string
.
split
(
RCS_ID
)[
2
]
if
RCS_ID
.
startswith
(
'$Id: '
):
VERSION
=
string
.
split
(
RCS_ID
)[
2
]
else
:
VERSION
=
'0.0'
import
asyncore
import
asynchat
...
...
lib/python/ZServer/medusa/resolver.py
View file @
83ba2115
...
...
@@ -4,7 +4,7 @@
# Author: Sam Rushing <rushing@nightmare.com>
#
RCS_ID
=
'$Id: resolver.py,v 1.
9 2001/05/01 11:44:49 andreas
Exp $'
RCS_ID
=
'$Id: resolver.py,v 1.
10 2002/03/21 15:48:53 htrd
Exp $'
# Fast, low-overhead asynchronous name resolver. uses 'pre-cooked'
...
...
@@ -19,7 +19,10 @@ import sys
import
time
from
counter
import
counter
VERSION
=
string
.
split
(
RCS_ID
)[
2
]
if
RCS_ID
.
startswith
(
'$Id: '
):
VERSION
=
string
.
split
(
RCS_ID
)[
2
]
else
:
VERSION
=
'0.0'
# header
# 1 1 1 1 1 1
...
...
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