mirror of
https://github.com/kennethreitz/dive-into-python3.git
synced 2026-06-05 23:10:17 +00:00
stubs for final chapters, fix TOC/navigation
This commit is contained in:
@@ -818,7 +818,7 @@ tests\EUC-JP\arclamp.jp.xml EUC-JP with confide
|
||||
<li>Test cases are essential. Don’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’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>☜</span></a> <a rel=next href=where-to-go-from-here.html title='onward to “Where To Go From Here”'><span class=u>☞</span></a>
|
||||
<p class=v><a rel=prev href=packaging.html title='back to “Packaging Python Libraries”'><span class=u>☜</span></a> <a rel=next href=where-to-go-from-here.html title='onward to “Where to Go From Here”'><span class=u>☞</span></a>
|
||||
<p class=c>© 2001–9 <a href=about.html>Mark Pilgrim</a>
|
||||
<script src=j/jquery.js></script>
|
||||
<script src=j/prettify.js></script>
|
||||
|
||||
@@ -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>☜</span></a> <a rel=next class=todo><span class=u>☞</span></a>
|
||||
<p class=v><a rel=prev href=serializing.html title='back to “Serializing Python Objects”'><span class=u>☜</span></a> <a rel=next href=multiprocessing.html title='onward to “Threading & Multiprocessing”'><span class=u>☞</span></a>
|
||||
<p class=c>© 2001–9 <a href=about.html>Mark Pilgrim</a>
|
||||
<script src=j/jquery.js></script>
|
||||
<script src=j/prettify.js></script>
|
||||
|
||||
+7
-7
@@ -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’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’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’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’s New in “Dive Into Python 3”</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>&</i> Multiprocessing
|
||||
<li class=todo>Packaging Python libraries
|
||||
<li><a href=multiprocessing.html>Threading <i class=baa>&</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>
|
||||
|
||||
@@ -0,0 +1,40 @@
|
||||
<!DOCTYPE html>
|
||||
<head>
|
||||
<meta charset=utf-8>
|
||||
<title>Threading & 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> <input name=q size=25> <input type=submit name=root value=Search></div></form>
|
||||
<p>You are here: <a href=index.html>Home</a> <span class=u>‣</span> <a href=table-of-contents.html#multiprocessing>Dive Into Python 3</a> <span class=u>‣</span>
|
||||
<p id=level>Difficulty level: <span class=u title=advanced>♦♦♦♦♦</span>
|
||||
<h1>Threading <i class=baa>&</i> Multiprocessing</h1>
|
||||
<blockquote class=q>
|
||||
<p><span class=u>❝</span> FIXME <span class=u>❞</span><br>— FIXME
|
||||
</blockquote>
|
||||
<p id=toc>
|
||||
<h2 id=divingin>Diving In</h2>
|
||||
<p class=f>FIXME
|
||||
|
||||
<p class=a>⁂
|
||||
|
||||
<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’s “Inside the Python <abbr>GIL</abbr>” talk at PyCon 2009</a>
|
||||
</ul>
|
||||
|
||||
<p class=v><a rel=prev href=http-web-services.html title='back to “HTTP Web Services”'><span class=u>☜</span></a> <a rel=next href=packaging.html title='onward to “Packaging Python Libraries”'><span class=u>☞</span></a>
|
||||
<p class=c>© 2001–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>
|
||||
@@ -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> <input name=q size=25> <input type=submit name=root value=Search></div></form>
|
||||
<p>You are here: <a href=index.html>Home</a> <span class=u>‣</span> <a href=table-of-contents.html#serializing>Dive Into Python 3</a> <span class=u>‣</span>
|
||||
<p id=level>Difficulty level: <span class=u title=advanced>♦♦♦♦♢</span>
|
||||
<h1>Packaging Python Libraries</h1>
|
||||
<blockquote class=q>
|
||||
<p><span class=u>❝</span> FIXME <span class=u>❞</span><br>— FIXME
|
||||
</blockquote>
|
||||
<p id=toc>
|
||||
<h2 id=divingin>Diving In</h2>
|
||||
<p class=f>FIXME
|
||||
|
||||
<p class=a>⁂
|
||||
|
||||
<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 “Threading & Multiprocessing”'><span class=u>☜</span></a> <a rel=next href=case-study-porting-chardet-to-python-3.html title='onward to “Case Study: Porting chardet to Python 3”'><span class=u>☞</span></a>
|
||||
<p class=c>© 2001–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
@@ -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>&</i> Multiprocessing
|
||||
<li>Packaging Python libraries
|
||||
<li id=multiprocessing><a href=multiprocessing.html>Threading <i class=baa>&</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,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>
|
||||
|
||||
Reference in New Issue
Block a user