Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
ZEO
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
ZEO
Commits
8a62ac14
Commit
8a62ac14
authored
Apr 02, 2002
by
Guido van Rossum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Jeremy, did you actually try to compile this? If so, what compiler
did you use?
parent
5e57c1db
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
12 deletions
+12
-12
src/Persistence/cPickleCache.c
src/Persistence/cPickleCache.c
+4
-4
src/ZODB/cPickleCache.c
src/ZODB/cPickleCache.c
+4
-4
src/persistent/cPickleCache.c
src/persistent/cPickleCache.c
+4
-4
No files found.
src/Persistence/cPickleCache.c
View file @
8a62ac14
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
static
char
cPickleCache_doc_string
[]
=
static
char
cPickleCache_doc_string
[]
=
"Defines the PickleCache used by ZODB Connection objects.
\n
"
"Defines the PickleCache used by ZODB Connection objects.
\n
"
"
\n
"
"
\n
"
"$Id: cPickleCache.c,v 1.4
6 2002/04/02 11:11:45 htrd
Exp $
\n
"
;
"$Id: cPickleCache.c,v 1.4
7 2002/04/02 14:35:36 gvanrossum
Exp $
\n
"
;
#define ASSIGN(V,E) {PyObject *__e; __e=(E); Py_XDECREF(V); (V)=__e;}
#define ASSIGN(V,E) {PyObject *__e; __e=(E); Py_XDECREF(V); (V)=__e;}
#define UNLESS(E) if(!(E))
#define UNLESS(E) if(!(E))
...
@@ -657,6 +657,8 @@ cc_add_item(ccobject *self, PyObject *key, PyObject *v)
...
@@ -657,6 +657,8 @@ cc_add_item(ccobject *self, PyObject *key, PyObject *v)
{
{
int
result
;
int
result
;
PyExtensionClass
*
class
;
PyExtensionClass
*
class
;
PyObject
*
oid
,
*
object_again
;
cPersistentObject
*
p
;
if
(
!
PyExtensionInstance_Check
(
v
))
{
if
(
!
PyExtensionInstance_Check
(
v
))
{
PyErr_SetString
(
PyExc_ValueError
,
PyErr_SetString
(
PyExc_ValueError
,
...
@@ -673,9 +675,7 @@ cc_add_item(ccobject *self, PyObject *key, PyObject *v)
...
@@ -673,9 +675,7 @@ cc_add_item(ccobject *self, PyObject *key, PyObject *v)
}
}
/* XXX Why not self->oid? */
/* XXX Why not self->oid? */
PyObject
*
oid
=
PyObject_GetAttr
(
v
,
py__p_oid
);
oid
=
PyObject_GetAttr
(
v
,
py__p_oid
);
PyObject
*
object_again
;
cPersistentObject
*
p
;
if
(
oid
==
NULL
)
if
(
oid
==
NULL
)
return
-
1
;
return
-
1
;
...
...
src/ZODB/cPickleCache.c
View file @
8a62ac14
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
static
char
cPickleCache_doc_string
[]
=
static
char
cPickleCache_doc_string
[]
=
"Defines the PickleCache used by ZODB Connection objects.
\n
"
"Defines the PickleCache used by ZODB Connection objects.
\n
"
"
\n
"
"
\n
"
"$Id: cPickleCache.c,v 1.4
6 2002/04/02 11:11:45 htrd
Exp $
\n
"
;
"$Id: cPickleCache.c,v 1.4
7 2002/04/02 14:35:36 gvanrossum
Exp $
\n
"
;
#define ASSIGN(V,E) {PyObject *__e; __e=(E); Py_XDECREF(V); (V)=__e;}
#define ASSIGN(V,E) {PyObject *__e; __e=(E); Py_XDECREF(V); (V)=__e;}
#define UNLESS(E) if(!(E))
#define UNLESS(E) if(!(E))
...
@@ -657,6 +657,8 @@ cc_add_item(ccobject *self, PyObject *key, PyObject *v)
...
@@ -657,6 +657,8 @@ cc_add_item(ccobject *self, PyObject *key, PyObject *v)
{
{
int
result
;
int
result
;
PyExtensionClass
*
class
;
PyExtensionClass
*
class
;
PyObject
*
oid
,
*
object_again
;
cPersistentObject
*
p
;
if
(
!
PyExtensionInstance_Check
(
v
))
{
if
(
!
PyExtensionInstance_Check
(
v
))
{
PyErr_SetString
(
PyExc_ValueError
,
PyErr_SetString
(
PyExc_ValueError
,
...
@@ -673,9 +675,7 @@ cc_add_item(ccobject *self, PyObject *key, PyObject *v)
...
@@ -673,9 +675,7 @@ cc_add_item(ccobject *self, PyObject *key, PyObject *v)
}
}
/* XXX Why not self->oid? */
/* XXX Why not self->oid? */
PyObject
*
oid
=
PyObject_GetAttr
(
v
,
py__p_oid
);
oid
=
PyObject_GetAttr
(
v
,
py__p_oid
);
PyObject
*
object_again
;
cPersistentObject
*
p
;
if
(
oid
==
NULL
)
if
(
oid
==
NULL
)
return
-
1
;
return
-
1
;
...
...
src/persistent/cPickleCache.c
View file @
8a62ac14
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
static
char
cPickleCache_doc_string
[]
=
static
char
cPickleCache_doc_string
[]
=
"Defines the PickleCache used by ZODB Connection objects.
\n
"
"Defines the PickleCache used by ZODB Connection objects.
\n
"
"
\n
"
"
\n
"
"$Id: cPickleCache.c,v 1.4
6 2002/04/02 11:11:45 htrd
Exp $
\n
"
;
"$Id: cPickleCache.c,v 1.4
7 2002/04/02 14:35:36 gvanrossum
Exp $
\n
"
;
#define ASSIGN(V,E) {PyObject *__e; __e=(E); Py_XDECREF(V); (V)=__e;}
#define ASSIGN(V,E) {PyObject *__e; __e=(E); Py_XDECREF(V); (V)=__e;}
#define UNLESS(E) if(!(E))
#define UNLESS(E) if(!(E))
...
@@ -657,6 +657,8 @@ cc_add_item(ccobject *self, PyObject *key, PyObject *v)
...
@@ -657,6 +657,8 @@ cc_add_item(ccobject *self, PyObject *key, PyObject *v)
{
{
int
result
;
int
result
;
PyExtensionClass
*
class
;
PyExtensionClass
*
class
;
PyObject
*
oid
,
*
object_again
;
cPersistentObject
*
p
;
if
(
!
PyExtensionInstance_Check
(
v
))
{
if
(
!
PyExtensionInstance_Check
(
v
))
{
PyErr_SetString
(
PyExc_ValueError
,
PyErr_SetString
(
PyExc_ValueError
,
...
@@ -673,9 +675,7 @@ cc_add_item(ccobject *self, PyObject *key, PyObject *v)
...
@@ -673,9 +675,7 @@ cc_add_item(ccobject *self, PyObject *key, PyObject *v)
}
}
/* XXX Why not self->oid? */
/* XXX Why not self->oid? */
PyObject
*
oid
=
PyObject_GetAttr
(
v
,
py__p_oid
);
oid
=
PyObject_GetAttr
(
v
,
py__p_oid
);
PyObject
*
object_again
;
cPersistentObject
*
p
;
if
(
oid
==
NULL
)
if
(
oid
==
NULL
)
return
-
1
;
return
-
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