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
6171110c
Commit
6171110c
authored
Jan 11, 2001
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changed to get cPickle from ZODB.
parent
25472a36
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
8 deletions
+10
-8
src/ZEO/Invalidator.py
src/ZEO/Invalidator.py
+2
-1
src/ZEO/StorageServer.py
src/ZEO/StorageServer.py
+4
-4
src/ZEO/zrpc.py
src/ZEO/zrpc.py
+4
-3
No files found.
src/ZEO/Invalidator.py
View file @
6171110c
...
...
@@ -87,7 +87,8 @@
Note that this is not *really* atomic, but it is close enough.
"""
import
tempfile
,
cPickle
from
ZODB
import
cPickle
import
tempfile
class
Invalidator
:
...
...
src/ZEO/StorageServer.py
View file @
6171110c
...
...
@@ -83,18 +83,18 @@
#
##############################################################################
__version__
=
"$Revision: 1.
19
$"
[
11
:
-
2
]
__version__
=
"$Revision: 1.
20
$"
[
11
:
-
2
]
import
asyncore
,
socket
,
string
,
sys
,
cPickle
,
os
import
asyncore
,
socket
,
string
,
sys
,
os
from
smac
import
SizedMessageAsyncConnection
from
ZODB
import
POSException
from
ZODB
import
POSException
,
cPickle
from
ZODB.cPickle
import
Unpickler
from
ZODB.POSException
import
TransactionError
,
UndoError
,
VersionCommitError
from
ZODB.Transaction
import
Transaction
import
traceback
from
zLOG
import
LOG
,
INFO
,
ERROR
,
TRACE
from
ZODB.referencesf
import
referencesf
from
thread
import
start_new_thread
from
cPickle
import
Unpickler
from
cStringIO
import
StringIO
class
StorageServerError
(
POSException
.
StorageError
):
pass
...
...
src/ZEO/zrpc.py
View file @
6171110c
...
...
@@ -85,12 +85,13 @@
"""Simple rpc mechanisms
"""
__version__
=
"$Revision: 1.
9
$"
[
11
:
-
2
]
__version__
=
"$Revision: 1.
10
$"
[
11
:
-
2
]
from
cPickle
import
loads
from
ZODB.cPickle
import
loads
from
ZODB
import
cPickle
from
thread
import
allocate_lock
from
smac
import
SizedMessageAsyncConnection
import
socket
,
string
,
struct
,
asyncore
,
sys
,
time
,
cPickle
import
socket
,
string
,
struct
,
asyncore
,
sys
,
time
TupleType
=
type
(())
from
zLOG
import
LOG
,
TRACE
,
DEBUG
,
INFO
...
...
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