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
5343dd45
Commit
5343dd45
authored
Sep 08, 1997
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added binary output flag. Waaaaaaa!
parent
19b86721
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
src/ZODB/cPickleJar.c
src/ZODB/cPickleJar.c
+6
-4
No files found.
src/ZODB/cPickleJar.c
View file @
5343dd45
...
@@ -53,7 +53,7 @@
...
@@ -53,7 +53,7 @@
static
char
cPickleJar_module_documentation
[]
=
static
char
cPickleJar_module_documentation
[]
=
""
""
"
\n
$Id: cPickleJar.c,v 1.
1 1997/05/08 19:28:0
5 jim Exp $"
"
\n
$Id: cPickleJar.c,v 1.
2 1997/09/08 18:59:5
5 jim Exp $"
;
;
#include "ExtensionClass.h"
#include "ExtensionClass.h"
...
@@ -152,7 +152,6 @@ not_persistent:
...
@@ -152,7 +152,6 @@ not_persistent:
PyErr_Clear
();
PyErr_Clear
();
Py_INCREF
(
Py_None
);
Py_INCREF
(
Py_None
);
return
Py_None
;
return
Py_None
;
}
}
static
PyObject
*
static
PyObject
*
...
@@ -229,7 +228,7 @@ pj_store(PyObject *self, PyObject *args)
...
@@ -229,7 +228,7 @@ pj_store(PyObject *self, PyObject *args)
else
UNLESS
(
T
=
PyString_FromString
(
""
))
goto
err
;
else
UNLESS
(
T
=
PyString_FromString
(
""
))
goto
err
;
UNLESS
(
file
=
PyObject_CallObject
(
StringIO
,
NULL
))
goto
err
;
UNLESS
(
file
=
PyObject_CallObject
(
StringIO
,
NULL
))
goto
err
;
UNLESS
(
pickler
=
PyObject_CallFunction
(
Pickler
,
"Oi"
,
file
,
0
))
goto
err
;
UNLESS
(
pickler
=
PyObject_CallFunction
(
Pickler
,
"Oi"
,
file
,
1
))
goto
err
;
if
(
PyObject_SetAttr
(
pickler
,
py_persistent_id
,
state
)
<
0
)
goto
err
;
if
(
PyObject_SetAttr
(
pickler
,
py_persistent_id
,
state
)
<
0
)
goto
err
;
UNLESS
(
store
=
PyObject_GetAttr
(
self
,
py_db
))
goto
err
;
UNLESS
(
store
=
PyObject_GetAttr
(
self
,
py_db
))
goto
err
;
UNLESS_ASSIGN
(
store
,
PyObject_GetAttr
(
store
,
py_store
))
goto
err
;
UNLESS_ASSIGN
(
store
,
PyObject_GetAttr
(
store
,
py_store
))
goto
err
;
...
@@ -323,7 +322,7 @@ void
...
@@ -323,7 +322,7 @@ void
initcPickleJar
()
initcPickleJar
()
{
{
PyObject
*
m
,
*
d
;
PyObject
*
m
,
*
d
;
char
*
rev
=
"$Revision: 1.
1
$"
;
char
*
rev
=
"$Revision: 1.
2
$"
;
PURE_MIXIN_CLASS
(
PickleJar
,
""
,
PickleJar_methods
);
PURE_MIXIN_CLASS
(
PickleJar
,
""
,
PickleJar_methods
);
UNLESS
(
Pickler
=
PyImport_ImportModule
(
"cPickle"
))
return
;
UNLESS
(
Pickler
=
PyImport_ImportModule
(
"cPickle"
))
return
;
...
@@ -377,6 +376,9 @@ initcPickleJar()
...
@@ -377,6 +376,9 @@ initcPickleJar()
Revision Log:
Revision Log:
$Log: cPickleJar.c,v $
$Log: cPickleJar.c,v $
Revision 1.2 1997/09/08 18:59:55 jim
Added binary output flag. Waaaaaaa!
Revision 1.1 1997/05/08 19:28:05 jim
Revision 1.1 1997/05/08 19:28:05 jim
*** empty log message ***
*** empty log message ***
...
...
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