diff --git a/about.html b/about.html old mode 100644 new mode 100755 index 230e1bb..5526162 --- a/about.html +++ b/about.html @@ -5,6 +5,10 @@ @@ -13,19 +17,12 @@ h1:before{content:''}
 

You are here: Home Dive Into Python 3

About The Book

+
+

The text of Dive Into Python 3 is licensed under the Creative Commons Attribution-ShareAlike 3.0 Unported License. -

The chardet library referenced in Case study: porting chardet to Python 3 is licensed under the LGPL 2.1 or later. The alphametics solver referenced in Advanced Iterators is based on Raymond Hettinger's solver for Python 2, which he has graciously relicensed under the MIT license so I could port it to Python 3. Advanced Classes and Special Method Names contain snippets of code from the Python standard library which are released under the Python Software Foundation License version 2. All other example code is my original work and is licensed under the MIT license. Full licensing terms are included in each source code file. -

The dynamic highlighting effects in the online edition are built on top of jQuery, which is dual-licensed under the MIT and GPL licenses. Color syntax highlighting is provided by prettify.js, which is licensed under the Apache License 2.0. -

The online edition loads as quickly as it does because -

    -
  1. HTML is compressed. -
  2. Scripts and stylesheets are minimized by YUI Compressor. -
  3. Scripts are combined to reduce HTTP requests. -
  4. Stylesheets are combined and inlined to reduce HTTP requests. -
  5. Unused CSS selectors and properties are removed on a page-by-page basis with pyquery. -
  6. HTTP caching and other server-side options are optimized based on advice from YSlow and Page Speed. -
  7. The text uses Unicode characters in place of graphics wherever possible. -
  8. The entire book was lovingly hand-authored in HTML 5 to avoid markup cruft. -
-

Send corrections and feedback to mark@diveintomark.org. +

The chardet library is licensed under the LGPL 2.1 or later. The alphametics solver is a port of Raymond Hettinger’s version, which was released under the MIT license. Advanced Classes and Special Method Names contain code from the Python standard library, released under the PSF License 2.0. All other example code is my original work and is licensed under the MIT license. +

The online edition uses jQuery, released under the MIT and GPL licenses. Color syntax highlighting is provided by prettify.js, released under the Apache License 2.0. +

Corrections and feedback to mark@diveintomark.org +

+

© 2001–9 Mark Pilgrim diff --git a/diveintopython3.org b/diveintopython3.org index b10fdb5..274626a 100755 --- a/diveintopython3.org +++ b/diveintopython3.org @@ -1,40 +1,26 @@ * Installing Python * 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 * Strings * Regular Expressions * Closures & Generators * Classes & Iterators -* Advanced Iterators -** TODO 2nd draft -* Unit Testing -** TODO 2nd draft -* Advanced Unit Testing -** TODO 1st draft -* Refactoring -** TODO 2nd draft -* Advanced Classes -** TODO 1st draft -* Files -** TODO 1st draft -* XML -** TODO 2nd draft -* Serializing Python Objects -** TODO 1st draft -* HTTP Web Services -** TODO 2nd draft -* Threading & Multiprocessing -** TODO 1st draft -* Packaging Python libraries -** TODO 1st draft -* Case Study: Porting chardet to Python 3 -** TODO 2nd draft +* TODO 2nd draft Advanced Iterators +* TODO 2nd draft Unit Testing +* TODO 1st draft Advanced Unit Testing +* TODO 2nd draft Refactoring +* TODO 1st draft Advanced Classes +* TODO 1st draft Files +* TODO 2nd draft XML +* TODO 1st draft Serializing Python Objects +* TODO 2nd draft HTTP Web Services +* TODO 1st draft Threading & Multiprocessing +* TODO 1st draft Packaging Python libraries +* TODO 2nd draft Case Study: Porting chardet to Python 3 * Where to go from here -* Porting Code to Python 3 with 2to3 -** TODO 2nd draft -* Special Method Names -** TODO 2nd draft +* TODO 2nd draft Porting Code to Python 3 with 2to3 +* TODO 2nd draft Special Method Names * Bits to add somewhere ** TODO section on tuples ** TODO section (chapter?) on comprehensions @@ -52,4 +38,5 @@ they update when the dictionary changes * Meta ** TODO generate HTML ** TODO generate PDF -** TODO all

 blocks without numbers should be marked class=nd
+** DONE all 
 blocks without numbers should be marked class=nd
+   CLOSED: [2009-07-14 Tue 20:55]
diff --git a/i/this-book-belongs-to.png b/i/this-book-belongs-to.png
new file mode 100755
index 0000000..9a86ad4
Binary files /dev/null and b/i/this-book-belongs-to.png differ
diff --git a/iterators-and-generators.html b/iterators-and-generators.html
old mode 100644
new mode 100755
index da6adde..927992d
--- a/iterators-and-generators.html
+++ b/iterators-and-generators.html
@@ -27,9 +27,21 @@ h1:before{counter-increment:h1;content:''}
 
  • Iterators -