stubs for final chapters, fix TOC/navigation

This commit is contained in:
Mark Pilgrim
2009-07-28 23:01:33 -04:00
parent 30a05f6a6e
commit af50491f54
7 changed files with 93 additions and 22 deletions
+1 -1
View File
@@ -818,7 +818,7 @@ tests\EUC-JP\arclamp.jp.xml EUC-JP with confide
<li>Test cases are essential. Don&#8217;t port anything without them. The <em>only</em> reason I have any confidence that <code>chardet</code> works in Python 3 is that I started with a test suite that exercised all major code paths. If you don&#8217;t have any tests, write some tests before you start porting to Python 3. If you have a few tests, write more. If you have a lot of tests, then the real fun can begin.
</ol>
<p class=v><a rel=prev class=todo><span class=u>&#x261C;</span></a> <a rel=next href=where-to-go-from-here.html title='onward to &#8220;Where To Go From Here&#8221;'><span class=u>&#x261E;</span></a>
<p class=v><a rel=prev href=packaging.html title='back to &#8220;Packaging Python Libraries&#8221;'><span class=u>&#x261C;</span></a> <a rel=next href=where-to-go-from-here.html title='onward to &#8220;Where to Go From Here&#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>
+1 -1
View File
@@ -978,7 +978,7 @@ user-agent: Python-httplib2/$Rev: 259 $
<li><a href=http://www.ietf.org/rfc/rfc1952.txt>RFC 1952: gzip compression</a>
</ul>
<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=v><a rel=prev href=serializing.html title='back to &#8220;Serializing Python Objects&#8221;'><span class=u>&#x261C;</span></a> <a rel=next href=multiprocessing.html title='onward to &#8220;Threading &amp; Multiprocessing&#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>
+7 -7
View File
@@ -5,7 +5,7 @@
<link rel=alternate type=application/atom+xml href=http://hg.diveintopython3.org/atom-log>
<link rel=stylesheet href=dip3.css>
<style>
h1:before{content:''}
h1:before,h2:before{content:''}
#a,#b{list-style:none;margin:0 0 0 -1.7em}
#a:before{content:'A. \00a0 \00a0'}
#b:before{content:'B. \00a0 \00a0'}
@@ -20,9 +20,9 @@ h1:before{content:''}
<h1>Dive Into Python 3</h1>
<p><cite>Dive Into Python 3</cite> covers Python 3 and its differences from Python 2. Compared to <cite><a href=http://diveintopython.org/>Dive Into Python</a></cite>, it&#8217;s about 20% revised and 80% new material. I am publishing drafts online as I go. <a href=about.html>Please send feedback</a>. The final version will be published on paper by Apress. The book will remain online under the <a rel=license href=http://creativecommons.org/licenses/by-sa/3.0/>CC-BY-SA-3.0</a> license.
<p><cite>Dive Into Python 3</cite> covers Python 3 and its differences from Python 2. Compared to <cite><a href=//diveintopython.org/>Dive Into Python</a></cite>, it&#8217;s about 20% revised and 80% new material. I am publishing drafts online as I go. <a href=about.html>Please send feedback</a>. The final version will be published on paper by Apress. The book will remain online under the <a rel=license href=//creativecommons.org/licenses/by-sa/3.0/>CC-BY-SA-3.0</a> license.
<p>You can see the <a href=table-of-contents.html>full table of contents</a> (<strong>not finalized</strong>), or read what I&#8217;ve written so far:
<h2>Table of Contents <span>(<a href=table-of-contents.html>expand</a>)</h2>
<ol start=-1>
<li><a href=whats-new.html>What&#8217;s New in &#8220;Dive Into Python 3&#8221;</a>
@@ -39,12 +39,12 @@ h1:before{content:''}
<li><a href=refactoring.html>Refactoring</a>
<li><a href=files.html>Files</a>
<li><a href=xml.html>XML</a>
<li><a href=serializing.html>Serializing Python Objects</a>
<li><a href=serializing.html>Serializing Python Objects</a> (in progress)
<li><a href=http-web-services.html>HTTP Web Services</a>
<li class=todo>Threading <i class=baa>&amp;</i> Multiprocessing
<li class=todo>Packaging Python libraries
<li><a href=multiprocessing.html>Threading <i class=baa>&amp;</i> Multiprocessing</a> (in progress)
<li><a href=packaging.html>Packaging Python Libraries</a> (in progress)
<li><a href=case-study-porting-chardet-to-python-3.html>Case Study: Porting <code>chardet</code> to Python 3</a>
<li><a href=where-to-go-from-here.html>Where to go from here</a>
<li><a href=where-to-go-from-here.html>Where to Go From Here</a>
<li id=a><a href=porting-code-to-python-3-with-2to3.html>Porting Code to Python 3 with <code>2to3</code></a>
<li id=b><a href=special-method-names.html>Special Method Names</a>
</ol>
+40
View File
@@ -0,0 +1,40 @@
<!DOCTYPE html>
<head>
<meta charset=utf-8>
<title>Threading &amp; Multiprocessing - 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 15}
</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#multiprocessing>Dive Into Python 3</a> <span class=u>&#8227;</span>
<p id=level>Difficulty level: <span class=u title=advanced>&#x2666;&#x2666;&#x2666;&#x2666;&#x2666;</span>
<h1>Threading <i class=baa>&amp;</i> Multiprocessing</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><a href=http://docs.python.org/3.1/library/threading.html><code>threading</code> module</a>
<li><a href=http://docs.python.org/3.1/library/multiprocessing.html><code>multiprocessing</code> module</a>
<li><a href=http://jessenoller.com/2009/02/01/python-threads-and-the-global-interpreter-lock/>Python threads and the Global Interpreter Lock</a>
<li><a href=http://blip.tv/file/2232410>Watch David Beazley&#8217;s &#8220;Inside the Python <abbr>GIL</abbr>&#8221; talk at PyCon 2009</a>
</ul>
<p class=v><a rel=prev href=http-web-services.html title='back to &#8220;HTTP Web Services&#8221;'><span class=u>&#x261C;</span></a> <a rel=next href=packaging.html title='onward to &#8220;Packaging Python Libraries&#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>
+37
View File
@@ -0,0 +1,37 @@
<!DOCTYPE html>
<head>
<meta charset=utf-8>
<title>Packaging Python Libraries - 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 16}
</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>Packaging Python Libraries</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><a href=http://docs.python.org/3.1/distutils/>Distributing Python Modules</a>
</ul>
<p class=v><a rel=prev href=multiprocessing.html title='back to &#8220;Threading &amp; Multiprocessing&#8221;'><span class=u>&#x261C;</span></a> <a rel=next href=case-study-porting-chardet-to-python-3.html title='onward to &#8220;Case Study: Porting chardet to Python 3&#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>
+6 -12
View File
@@ -275,20 +275,14 @@ ul li ol{margin:0;padding:0 0 0 2.5em}
<li><a href=http-web-services.html#beyond-post>Beyond HTTP POST</a>
<li><a href=http-web-services.html#furtherreading>Further Reading</a>
</ol>
<li>Threading <i class=baa>&amp;</i> Multiprocessing
<li>Packaging Python libraries
<li id=multiprocessing><a href=multiprocessing.html>Threading <i class=baa>&amp;</i> Multiprocessing</a>
<ol>
<li>...
</ol>
<li id=packaging><a href=packaging.html>Packaging Python libraries</a>
<!-- http://pypi.python.org/pypi -->
<ol>
<li>A brief history of packaging (and why it's harder than you think)
<li>setuptools
<li>distutils
<li>Eggs
<li>pip
<li>Platform-specific packaging
<ol>
<li>Packaging by Linux distributions
<li>Py2exe
</ol>
<li>...
</ol>
<li id=case-study-porting-chardet-to-python-3><a href=case-study-porting-chardet-to-python-3.html>Case study: porting <code>chardet</code> to Python 3</a>
<ol>
+1 -1
View File
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<head>
<meta charset=utf-8>
<title>Where to go from here - Dive into Python 3</title>
<title>Where to Go From Here - Dive into Python 3</title>
<!--[if IE]><script src=j/html5.js></script><![endif]-->
<link rel=stylesheet href=dip3.css>
<style>