Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Tiago Peixoto
graph-tool
Commits
505e795f
Commit
505e795f
authored
Sep 22, 2011
by
Tiago Peixoto
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use highest protocol when pickling internal property maps
This fixes ticket:73
parent
510c25b4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/graph_tool/io.py
src/graph_tool/io.py
+1
-1
No files found.
src/graph_tool/io.py
View file @
505e795f
...
...
@@ -59,7 +59,7 @@ libgraph_tool_core.OStream.write = OStream_write
# define and set the pickler/unpickler functions
def
pickler
(
stream
,
obj
):
sstream
=
StringIO
()
pickle
.
dump
(
obj
,
sstream
)
pickle
.
dump
(
obj
,
sstream
,
-
1
)
stream
.
write
(
base64
.
b64encode
(
sstream
.
getvalue
()))
...
...
Tiago Peixoto
@count0
mentioned in issue
#61 (closed)
·
Aug 06, 2014
mentioned in issue
#61 (closed)
mentioned in issue #61
Toggle commit list
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