diff --git a/table-of-contents.html b/table-of-contents.html
index e5157e8..8d3b2ab 100755
--- a/table-of-contents.html
+++ b/table-of-contents.html
@@ -1,5 +1,4 @@
-
Table of contents - Dive Into Python 3
@@ -13,7 +12,6 @@ ul li ol{margin:0;padding:0 0 0 2.5em}
-
You are here: Home ‣ Dive Into Python 3 ‣
Table of Contents
@@ -291,38 +289,57 @@ ul li ol{margin:0;padding:0 0 0 2.5em}
Case study: porting chardet to Python 3
- - Introducing
chardet: a mini-FAQ
+ - Diving In
+
- What is Character Encoding Auto-Detection?
- - What is character encoding auto-detection?
-
- Isn’t that impossible?
-
- Who wrote this detection algorithm?
-
- Yippie! Screw the standards, I’ll just auto-detect everything!
-
- Why bother with auto-detection if it’s slow, inaccurate, and non-standard?
+
- Isn’t That Impossible?
+
- Does Such An Algorithm Exist?
- - Diving in
+
- Introducing The
chardet Module
- UTF-n with a BOM
- - Escaped encodings
-
- Multi-byte encodings
-
- Single-byte encodings
+
UTF-n With A BOM
+ - Escaped Encodings
+
- Multi-Byte Encodings
+
- Single-Byte Encodings
windows-1252
- Running
2to3
- - Fixing what
2to3 can’t
+ - A Short Digression Into Multi-File Modules
+
- Fixing What
2to3 Can’t
False is invalid syntax
- No module named
constants
- - Name 'file' is not defined
+
- Name 'file' is not defined
- Can’t use a string pattern on a bytes-like object
-
- Can’t convert '
bytes' object to str implicitly
+ - Can't convert
'bytes' object to str implicitly
+ - Unsupported operand type(s) for +:
'int' and 'bytes'
+ ord() expected string of length 1, but int found
+ - Unorderable types:
int() >= str()
+ - Global name
'reduce' is not defined
+ - Summary
Packaging Python libraries
- - ...
+
- Diving In
+
- Things Distutils Can’t Do For You
+
- Directory Structure
+
- Writing Your Setup Script
+
- Classifying Your Package
+
+ - Examples of Good Package Classifiers
+
+ - Specifying Additional Files With A Manifest
+
- Checking Your Setup Script for Errors
+
- Creating a Source Distribution
+
- Creating a Graphical Installer
+
+ - Building Installable Packages for Other Operating Systems
+
+ - Adding Your Software to The Python Package Index
+
- The Many Possible Futures of Python Packaging
+
- Further Reading
-
-
+
© 2001–9 Mark Pilgrim