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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
ZEO
Commits
88583a45
Commit
88583a45
authored
May 26, 2000
by
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Backed off the wrapped object check in coptimizations.
parent
4ebc9555
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
12 deletions
+1
-12
src/ZODB/coptimizations.c
src/ZODB/coptimizations.c
+1
-12
No files found.
src/ZODB/coptimizations.c
View file @
88583a45
...
@@ -164,17 +164,6 @@ persistent_id_call(persistent_id *self, PyObject *args, PyObject *kwargs)
...
@@ -164,17 +164,6 @@ persistent_id_call(persistent_id *self, PyObject *args, PyObject *kwargs)
)
)
goto
not_persistent
;
goto
not_persistent
;
if
(
OBJECT
(
object
->
ob_type
)
!=
klass
)
{
/* Wrapped object, whine! */
/*
printf("%s != %s\n",
object->ob_type->tp_name,
(((PyExtensionClass*)klass)->tp_name));
*/
PyErr_SetString
(
InvalidObjectReference
,
"Attempt to store a wrapped persistent object"
);
return
NULL
;
}
}
}
else
else
goto
not_persistent
;
goto
not_persistent
;
...
@@ -328,7 +317,7 @@ void
...
@@ -328,7 +317,7 @@ void
initcoptimizations
()
initcoptimizations
()
{
{
PyObject
*
m
,
*
d
;
PyObject
*
m
,
*
d
;
char
*
rev
=
"$Revision: 1.
8
$"
;
char
*
rev
=
"$Revision: 1.
9
$"
;
#define make_string(S) if (! (py_ ## S=PyString_FromString(#S))) return
#define make_string(S) if (! (py_ ## S=PyString_FromString(#S))) return
make_string
(
_p_oid
);
make_string
(
_p_oid
);
...
...
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