Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
ZODB
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
ZODB
Commits
bdd67c2d
Commit
bdd67c2d
authored
Sep 17, 2002
by
Jeremy Hylton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
get_class() should return NULL if class is not otherwise set.
Caught by Guido, but why not be my compiler?
parent
149ecb33
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/ZODB/coptimizations.c
src/ZODB/coptimizations.c
+2
-2
No files found.
src/ZODB/coptimizations.c
View file @
bdd67c2d
...
...
@@ -14,7 +14,7 @@
static
char
coptimizations_doc_string
[]
=
"C optimization for new_persistent_id().
\n
"
"
\n
"
"$Id: coptimizations.c,v 1.1
8 2002/09/16 23:50:39
jeremy Exp $
\n
"
;
"$Id: coptimizations.c,v 1.1
9 2002/09/17 03:42:58
jeremy Exp $
\n
"
;
#include "Python.h"
#define DONT_USE_CPERSISTENCECAPI
...
...
@@ -72,7 +72,7 @@ persistent_id_dealloc(persistent_id *self)
static
PyObject
*
get_class
(
PyObject
*
object
)
{
PyObject
*
class
;
PyObject
*
class
=
NULL
;
if
(
!
PyExtensionClass_Check
(
object
))
{
if
(
PyExtensionInstance_Check
(
object
))
{
...
...
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