fix navigation, update TOC, fix a few xrefs, stub out serializing chapter

This commit is contained in:
Mark Pilgrim
2009-07-27 04:19:31 -04:00
parent e2f55638c8
commit e8ecaab976
9 changed files with 49 additions and 10 deletions
+1 -2
View File
@@ -633,11 +633,10 @@ NameError: name '__import__' is not defined</samp></pre>
<li><a href=http://www.tkcs-collins.com/truman/alphamet/index.shtml>Alphametics Index</a>, including <a href=http://www.tkcs-collins.com/truman/alphamet/alphamet.shtml>lots of puzzles</a> and <a href=http://www.tkcs-collins.com/truman/alphamet/alpha_gen.shtml>a generator to make your own</a> <li><a href=http://www.tkcs-collins.com/truman/alphamet/index.shtml>Alphametics Index</a>, including <a href=http://www.tkcs-collins.com/truman/alphamet/alphamet.shtml>lots of puzzles</a> and <a href=http://www.tkcs-collins.com/truman/alphamet/alpha_gen.shtml>a generator to make your own</a>
</ul> </ul>
<p>Many, many thanks to Raymond Hettinger for agreeing to relicense his code so I could port it to Python 3 and use it as the basis for this chapter. <p>Many thanks to Raymond Hettinger for agreeing to relicense his code so I could port it to Python 3 and use it as the basis for this chapter.
<p class=v><a href=iterators.html rel=prev title='back to &#8220;Classes &amp; Iterators&#8221;'><span class=u>&#x261C;</span></a> <a href=unit-testing.html rel=next title='onward to &#8220;Unit Testing&#8221;'><span class=u>&#x261E;</span></a> <p class=v><a href=iterators.html rel=prev title='back to &#8220;Classes &amp; Iterators&#8221;'><span class=u>&#x261C;</span></a> <a href=unit-testing.html rel=next title='onward to &#8220;Unit Testing&#8221;'><span class=u>&#x261E;</span></a>
<p class=v><a rel=prev class=todo><span class=u>&#x261C;</span></a> <a rel=next class=todo><span class=u>&#x261E;</span></a>
<p class=c>&copy; 2001&ndash;9 <a href=about.html>Mark Pilgrim</a> <p class=c>&copy; 2001&ndash;9 <a href=about.html>Mark Pilgrim</a>
<script src=j/jquery.js></script> <script src=j/jquery.js></script>
<script src=j/prettify.js></script> <script src=j/prettify.js></script>
+2 -2
View File
@@ -2,7 +2,7 @@
* Your First Python Program * Your First Python Program
** TODO mention why from module import * is only allowed at module level ** TODO mention why from module import * is only allowed at module level
* Native Datatypes * Native Datatypes
* TODO Comprehensions * DONE Comprehensions
** List comprehensions ** List comprehensions
** Set comprehensions ** Set comprehensions
** Dictionary comprehensions ** Dictionary comprehensions
@@ -45,7 +45,7 @@
* TODO 2nd draft Porting Code to Python 3 with 2to3 * TODO 2nd draft Porting Code to Python 3 with 2to3
* TODO 2nd draft Special Method Names * TODO 2nd draft Special Method Names
* Bits to add somewhere * Bits to add somewhere
** TODO section on tuples ** DONE section on tuples
** TODO section on dictionary views ** TODO section on dictionary views
several dictionary methods return them several dictionary methods return them
they're dynamic they're dynamic
+1 -1
View File
@@ -39,7 +39,7 @@ h1:before{content:''}
<li><a href=refactoring.html>Refactoring</a> <li><a href=refactoring.html>Refactoring</a>
<li><a href=files.html>Files</a> <li><a href=files.html>Files</a>
<li><a href=xml.html>XML</a> <li><a href=xml.html>XML</a>
<li class=todo>Serializing Python Objects <li><a href=serializing.html>Serializing Python Objects</a>
<li><a href=http-web-services.html>HTTP Web Services</a> <li><a href=http-web-services.html>HTTP Web Services</a>
<li class=todo>Threading <i class=baa>&amp;</i> Multiprocessing <li class=todo>Threading <i class=baa>&amp;</i> Multiprocessing
<li class=todo>Packaging Python libraries <li class=todo>Packaging Python libraries
+1 -1
View File
@@ -471,7 +471,7 @@ OK</samp></pre>
<li>Refactoring mercilessly to improve performance, scalability, readability, maintainability, or whatever other -ility you&#8217;re lacking <li>Refactoring mercilessly to improve performance, scalability, readability, maintainability, or whatever other -ility you&#8217;re lacking
</ul> </ul>
<p class=v><a rel=prev class=todo><span class=u>&#x261C;</span></a> <a href=files.html rel=next title='onward to &#8220;Files&#8221;'><span class=u>&#x261E;</span></a> <p class=v><a rel=prev href=unit-testing.html title='back to &#8220;Unit Testing&#8221;'><span class=u>&#x261C;</span></a> <a href=files.html rel=next title='onward to &#8220;Files&#8221;'><span class=u>&#x261E;</span></a>
<p class=c>&copy; 2001&ndash;9 <a href=about.html>Mark Pilgrim</a> <p class=c>&copy; 2001&ndash;9 <a href=about.html>Mark Pilgrim</a>
<script src=j/jquery.js></script> <script src=j/jquery.js></script>
<script src=j/prettify.js></script> <script src=j/prettify.js></script>
+37
View File
@@ -0,0 +1,37 @@
<!DOCTYPE html>
<head>
<meta charset=utf-8>
<title>Serializing Python Objects - Dive into Python 3</title>
<!--[if IE]><script src=j/html5.js></script><![endif]-->
<link rel=stylesheet href=dip3.css>
<style>
body{counter-reset:h1 13}
</style>
<link rel=stylesheet media='only screen and (max-device-width: 480px)' href=mobile.css>
<link rel=stylesheet media=print href=print.css>
<meta name=viewport content='initial-scale=1.0'>
</head>
<form action=http://www.google.com/cse><div><input type=hidden name=cx value=014021643941856155761:l5eihuescdw><input type=hidden name=ie value=UTF-8>&nbsp;<input name=q size=25>&nbsp;<input type=submit name=root value=Search></div></form>
<p>You are here: <a href=index.html>Home</a> <span class=u>&#8227;</span> <a href=table-of-contents.html#serializing>Dive Into Python 3</a> <span class=u>&#8227;</span>
<p id=level>Difficulty level: <span class=u title=advanced>&#x2666;&#x2666;&#x2666;&#x2666;&#x2662;</span>
<h1>Serializing Python Objects</h1>
<blockquote class=q>
<p><span class=u>&#x275D;</span> FIXME <span class=u>&#x275E;</span><br>&mdash; FIXME
</blockquote>
<p id=toc>&nbsp;
<h2 id=divingin>Diving In</h2>
<p class=f>FIXME
<p class=a>&#x2042;
<h2 id=furtherreading>Further Reading</h2>
<ul>
<li>FIXME
</ul>
<p class=v><a rel=prev href=xml.html title='back to &#8220;XML&#8221;'><span class=u>&#x261C;</span></a> <a rel=next href=http-web-services.html title='onward to &#8220;HTTP Web Services&#8221;'><span class=u>&#x261E;</span></a>
<p class=c>&copy; 2001&ndash;9 <a href=about.html>Mark Pilgrim</a>
<script src=j/jquery.js></script>
<script src=j/prettify.js></script>
<script src=j/dip3.js></script>
+4 -1
View File
@@ -247,7 +247,10 @@ ul li ol{margin:0;padding:0 0 0 2.5em}
<li><a href=xml.html#xml-generate>Generating XML</a> <li><a href=xml.html#xml-generate>Generating XML</a>
<li><a href=xml.html#furtherreading>Further Reading</a> <li><a href=xml.html#furtherreading>Further Reading</a>
</ol> </ol>
<li>Serializing Python Objects <li id=serializing><a href=serializing.html>Serializing Python Objects</a>
<ol>
<li>...diving in...
</ol>
<li id=http-web-services><a href=http-web-services.html>HTTP Web Services</a> <li id=http-web-services><a href=http-web-services.html>HTTP Web Services</a>
<ol> <ol>
<li><a href=http-web-services.html#divingin>Diving In</a> <li><a href=http-web-services.html#divingin>Diving In</a>
+1 -1
View File
@@ -790,7 +790,7 @@ OK</samp></pre>
<p>And the anticlimax award of the year goes to&hellip; the word &#8220;<code>OK</code>&#8221;, which is printed by the <code>unittest</code> module when all the tests pass. <p>And the anticlimax award of the year goes to&hellip; the word &#8220;<code>OK</code>&#8221;, which is printed by the <code>unittest</code> module when all the tests pass.
<p class=v><a href=advanced-iterators.html rel=prev title='back to &#8220;Advanced Iterators&#8221;'><span class=u>&#x261C;</span></a> <a href=unit-testing.html rel=next title='onward to &#8220;Unit Testing&#8221;'><span class=u>&#x261E;</span></a> <p class=v><a href=advanced-iterators.html rel=prev title='back to &#8220;Advanced Iterators&#8221;'><span class=u>&#x261C;</span></a> <a href=refactoring.html rel=next title='onward to &#8220;Refactoring&#8221;'><span class=u>&#x261E;</span></a>
<p class=c>&copy; 2001&ndash;9 <a href=about.html>Mark Pilgrim</a> <p class=c>&copy; 2001&ndash;9 <a href=about.html>Mark Pilgrim</a>
<script src=j/jquery.js></script> <script src=j/jquery.js></script>
<script src=j/prettify.js></script> <script src=j/prettify.js></script>
+1 -1
View File
@@ -641,7 +641,7 @@ lxml.etree.XMLSyntaxError: Entity 'hellip' not defined, line 3, column 28</samp>
<li><a href=http://github.com/galvez/xmlwitch/tree/master>xmlwitch</a> is another <abbr>XML</abbr> generation library <li><a href=http://github.com/galvez/xmlwitch/tree/master>xmlwitch</a> is another <abbr>XML</abbr> generation library
</ul> </ul>
<p class=v><a rel=prev title='back to &#8220;Files&#8221;'><span class=u>&#x261C;</span></a> <a rel=next class=todo><span class=u>&#x261E;</span></a> <p class=v><a rel=prev href=files.html title='back to &#8220;Files&#8221;'><span class=u>&#x261C;</span></a> <a rel=next href=serializing.html title='onward to &#8220;Serializing Python Objects&#8221;'><span class=u>&#x261E;</span></a>
<p class=c>&copy; 2001&ndash;9 <a href=about.html>Mark Pilgrim</a> <p class=c>&copy; 2001&ndash;9 <a href=about.html>Mark Pilgrim</a>
<script src=j/jquery.js></script> <script src=j/jquery.js></script>
<script src=j/prettify.js></script> <script src=j/prettify.js></script>
+1 -1
View File
@@ -349,7 +349,7 @@ if __name__ == '__main__':
<li><a href=http://www.python.org/dev/peps/pep-0008/>PEP 8: Style Guide for Python Code</a> discusses good indentation style. <li><a href=http://www.python.org/dev/peps/pep-0008/>PEP 8: Style Guide for Python Code</a> discusses good indentation style.
<li><a href=http://docs.python.org/3.0/reference/><cite>Python Reference Manual</cite></a> explains what it means to say that <a href=http://docs.python.org/3.0/reference/datamodel.html#objects-values-and-types>everything in Python is an object</a>, because some people are <a href=http://www.douglasadams.com/dna/pedants.html>pedants</a> and like to discuss that sort of thing at great length. <li><a href=http://docs.python.org/3.0/reference/><cite>Python Reference Manual</cite></a> explains what it means to say that <a href=http://docs.python.org/3.0/reference/datamodel.html#objects-values-and-types>everything in Python is an object</a>, because some people are <a href=http://www.douglasadams.com/dna/pedants.html>pedants</a> and like to discuss that sort of thing at great length.
</ul> </ul>
<p class=v><a rel=prev class=todo><span class=u>&#x261C;</span></a> <a rel=next href=native-datatypes.html title='onward to &#8220;Native Datatypes&#8221;'><span class=u>&#x261E;</span></a> <p class=v><a rel=prev href=installing-python.html title='back to &#8220;Installing Python&#8221;'><span class=u>&#x261C;</span></a> <a rel=next href=native-datatypes.html title='onward to &#8220;Native Datatypes&#8221;'><span class=u>&#x261E;</span></a>
<p class=c>&copy; 2001&ndash;9 <a href=about.html>Mark Pilgrim</a> <p class=c>&copy; 2001&ndash;9 <a href=about.html>Mark Pilgrim</a>
<script src=j/jquery.js></script> <script src=j/jquery.js></script>
<script src=j/prettify.js></script> <script src=j/prettify.js></script>