Initial commit of OpenSPARC T2 design and verification files.
[OpenSPARC-T2-DV] / tools / src / nas,5.n2.os.2 / lib / python / html / python / lib / pickle-protocol.html
CommitLineData
86530b38
AT
1<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2<html>
3<head>
4<link rel="STYLESHEET" href="lib.css" type='text/css' />
5<link rel="SHORTCUT ICON" href="../icons/pyfav.png" type="image/png" />
6<link rel='start' href='../index.html' title='Python Documentation Index' />
7<link rel="first" href="lib.html" title='Python Library Reference' />
8<link rel='contents' href='contents.html' title="Contents" />
9<link rel='index' href='genindex.html' title='Index' />
10<link rel='last' href='about.html' title='About this document...' />
11<link rel='help' href='about.html' title='About this document...' />
12<link rel="next" href="pickle-sub.html" />
13<link rel="prev" href="node66.html" />
14<link rel="parent" href="module-pickle.html" />
15<link rel="next" href="pickle-inst.html" />
16<meta name='aesop' content='information' />
17<title>3.14.5 The pickle protocol
18</title>
19</head>
20<body>
21<DIV CLASS="navigation">
22<div id='top-navigation-panel' xml:id='top-navigation-panel'>
23<table align="center" width="100%" cellpadding="0" cellspacing="2">
24<tr>
25<td class='online-navigation'><a rel="prev" title="3.14.4 What can be"
26 href="node66.html"><img src='../icons/previous.png'
27 border='0' height='32' alt='Previous Page' width='32' /></A></td>
28<td class='online-navigation'><a rel="parent" title="3.14 pickle "
29 href="module-pickle.html"><img src='../icons/up.png'
30 border='0' height='32' alt='Up One Level' width='32' /></A></td>
31<td class='online-navigation'><a rel="next" title="3.14.5.1 Pickling and unpickling"
32 href="pickle-inst.html"><img src='../icons/next.png'
33 border='0' height='32' alt='Next Page' width='32' /></A></td>
34<td align="center" width="100%">Python Library Reference</td>
35<td class='online-navigation'><a rel="contents" title="Table of Contents"
36 href="contents.html"><img src='../icons/contents.png'
37 border='0' height='32' alt='Contents' width='32' /></A></td>
38<td class='online-navigation'><a href="modindex.html" title="Module Index"><img src='../icons/modules.png'
39 border='0' height='32' alt='Module Index' width='32' /></a></td>
40<td class='online-navigation'><a rel="index" title="Index"
41 href="genindex.html"><img src='../icons/index.png'
42 border='0' height='32' alt='Index' width='32' /></A></td>
43</tr></table>
44<div class='online-navigation'>
45<b class="navlabel">Previous:</b>
46<a class="sectref" rel="prev" href="node66.html">3.14.4 What can be</A>
47<b class="navlabel">Up:</b>
48<a class="sectref" rel="parent" href="module-pickle.html">3.14 pickle </A>
49<b class="navlabel">Next:</b>
50<a class="sectref" rel="next" href="pickle-inst.html">3.14.5.1 Pickling and unpickling</A>
51</div>
52<hr /></div>
53</DIV>
54<!--End of Navigation Panel-->
55
56<H2><A NAME="SECTION0051450000000000000000"></A><A NAME="pickle-protocol"></A>
57<BR>
583.14.5 The pickle protocol
59
60</H2>
61
62<P>
63This section describes the ``pickling protocol'' that defines the
64interface between the pickler/unpickler and the objects that are being
65serialized. This protocol provides a standard way for you to define,
66customize, and control how your objects are serialized and
67de-serialized. The description in this section doesn't cover specific
68customizations that you can employ to make the unpickling environment
69slightly safer from untrusted pickle data streams; see section&nbsp;<A href="pickle-sub.html#pickle-sub">3.14.6</A>
70for more details.
71
72<P>
73
74<p><br /></p><hr class='online-navigation' />
75<div class='online-navigation'>
76<!--Table of Child-Links-->
77<A NAME="CHILD_LINKS"><STRONG>Subsections</STRONG></a>
78
79<UL CLASS="ChildLinks">
80<LI><A href="pickle-inst.html">3.14.5.1 Pickling and unpickling normal class
81 instances</a>
82<LI><A href="node69.html">3.14.5.2 Pickling and unpickling extension types</a>
83<LI><A href="node70.html">3.14.5.3 Pickling and unpickling external objects</a>
84</ul>
85<!--End of Table of Child-Links-->
86</div>
87
88<DIV CLASS="navigation">
89<div class='online-navigation'>
90<p></p><hr />
91<table align="center" width="100%" cellpadding="0" cellspacing="2">
92<tr>
93<td class='online-navigation'><a rel="prev" title="3.14.4 What can be"
94 href="node66.html"><img src='../icons/previous.png'
95 border='0' height='32' alt='Previous Page' width='32' /></A></td>
96<td class='online-navigation'><a rel="parent" title="3.14 pickle "
97 href="module-pickle.html"><img src='../icons/up.png'
98 border='0' height='32' alt='Up One Level' width='32' /></A></td>
99<td class='online-navigation'><a rel="next" title="3.14.5.1 Pickling and unpickling"
100 href="pickle-inst.html"><img src='../icons/next.png'
101 border='0' height='32' alt='Next Page' width='32' /></A></td>
102<td align="center" width="100%">Python Library Reference</td>
103<td class='online-navigation'><a rel="contents" title="Table of Contents"
104 href="contents.html"><img src='../icons/contents.png'
105 border='0' height='32' alt='Contents' width='32' /></A></td>
106<td class='online-navigation'><a href="modindex.html" title="Module Index"><img src='../icons/modules.png'
107 border='0' height='32' alt='Module Index' width='32' /></a></td>
108<td class='online-navigation'><a rel="index" title="Index"
109 href="genindex.html"><img src='../icons/index.png'
110 border='0' height='32' alt='Index' width='32' /></A></td>
111</tr></table>
112<div class='online-navigation'>
113<b class="navlabel">Previous:</b>
114<a class="sectref" rel="prev" href="node66.html">3.14.4 What can be</A>
115<b class="navlabel">Up:</b>
116<a class="sectref" rel="parent" href="module-pickle.html">3.14 pickle </A>
117<b class="navlabel">Next:</b>
118<a class="sectref" rel="next" href="pickle-inst.html">3.14.5.1 Pickling and unpickling</A>
119</div>
120</div>
121<hr />
122<span class="release-info">Release 2.4.2, documentation updated on 28 September 2005.</span>
123</DIV>
124<!--End of Navigation Panel-->
125<ADDRESS>
126See <i><a href="about.html">About this document...</a></i> for information on suggesting changes.
127</ADDRESS>
128</BODY>
129</HTML>