Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
da840167
Commit
da840167
authored
Feb 12, 1997
by
chris
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*** empty log message ***
parent
80c75a85
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
1 deletion
+13
-1
lib/Components/cPickle/pickle.py
lib/Components/cPickle/pickle.py
+13
-1
No files found.
lib/Components/cPickle/pickle.py
View file @
da840167
# $Id: pickle.py,v 1.
5 1997/02/10 22:08:32 cici
Exp $
# $Id: pickle.py,v 1.
6 1997/02/12 17:06:45 chris
Exp $
#
# Copyright
#
...
...
@@ -681,6 +681,18 @@ class Unpickler:
self
.
stack
[
k
:]
=
[
tuple
(
self
.
stack
[
k
+
1
:])]
dispatch
[
TUPLE
]
=
load_tuple
def
load_empty_tuple
(
self
):
self
.
stack
.
append
(())
dispatch
[
EMPTY_TUPLE
]
=
load_empty_tuple
def
load_empty_list
(
self
):
self
.
stack
.
append
([])
dispatch
[
EMPTY_LIST
]
=
load_empty_list
def
load_empty_dictionary
(
self
):
self
.
stack
.
append
({})
dispatch
[
EMPTY_DICT
]
=
load_empty_dictionary
def
load_list
(
self
):
k
=
self
.
marker
()
self
.
stack
[
k
:]
=
[
self
.
stack
[
k
+
1
:]]
...
...
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