diff --git a/about.html b/about.html index ff3daca..3a43653 100644 --- a/about.html +++ b/about.html @@ -12,7 +12,7 @@ h1:before{content:""}
 

You are here: Home Dive Into Python 3

About the book

-

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

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. All other example code 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.

The online edition loads as quickly as it does because @@ -23,4 +23,4 @@ h1:before{content:""}

  • The text uses Unicode characters in place of graphics wherever possible.
  • The entire book was lovingly hand-authored in HTML 5 to avoid markup cruft. -

    © 2001–4, 2009 ark Pilgrim +

    © 2001–9 ark Pilgrim diff --git a/case-study-porting-chardet-to-python-3.html b/case-study-porting-chardet-to-python-3.html index d24d831..09ff8ed 100644 --- a/case-study-porting-chardet-to-python-3.html +++ b/case-study-porting-chardet-to-python-3.html @@ -1241,6 +1241,6 @@ tests\EUC-JP\arclamp.jp.xml EUC-JP with confide

  • You need to understand your program. Thoroughly. Preferably because you wrote it, but at the very least, you need to be comfortable with all its quirks and musty corners. The bugs are everywhere.
  • Test cases are essential. Don't port anything without them. Don't even try. The only reason I have any confidence at all that chardet works in Python 3 is because I had a test suite that exercised every line of code in the entire library. I never would have found half of these problems with manual spot-checking. -

    © 2001–4, 2009 ark Pilgrim • open standards • open content • open source +

    © 2001–9 ark Pilgrim diff --git a/dip3.css b/dip3.css index 8ba2637..8fc8396 100644 --- a/dip3.css +++ b/dip3.css @@ -24,6 +24,7 @@ a{background:transparent;text-decoration:none;border-bottom:1px dotted} a:hover{border-bottom:1px solid} a:link,.w a{color:#26c} a:visited{color:#93c} +.c a{color:inherit} /* skip links */ .s a,.s a:hover,.s a:visited{position:absolute;left:0px;top:-500px;width:1px;height:1px;overflow:hidden} diff --git a/index.html b/index.html index 8164e27..f8f2d70 100644 --- a/index.html +++ b/index.html @@ -56,4 +56,4 @@ h1:before{content:""}

    This site is optimized for Lynx just because fuck you.
    I’m told it also looks good in graphical browsers. -

    © 2001–4, 2009 ark Pilgrim • open standards • open content • open source +

    © 2001–9 ark Pilgrim diff --git a/native-datatypes.html b/native-datatypes.html index 1b74f7d..1ea8ee6 100644 --- a/native-datatypes.html +++ b/native-datatypes.html @@ -492,6 +492,6 @@ KeyError: 'db.diveintopython3.org'

  • PEP 237: Unifying Long Integers and Integers
  • PEP 238: Changing the Division Operator -

    © 2001–4, 2009 ark Pilgrim • open standards • open content • open source +

    © 2001–9 ark Pilgrim diff --git a/porting-code-to-python-3-with-2to3.html b/porting-code-to-python-3-with-2to3.html index 1da85f9..30fae83 100644 --- a/porting-code-to-python-3-with-2to3.html +++ b/porting-code-to-python-3-with-2to3.html @@ -1279,6 +1279,6 @@ do_stuff(a_list)

    FIXME: once the rest of the book is written, this appendix should contain copious links back to any chapter or section that touches on these features. -

    © 2001–4, 2009 ark Pilgrim • open standards • open content • open source +

    © 2001–9 ark Pilgrim diff --git a/regular-expressions.html b/regular-expressions.html index 4e8a129..c363623 100644 --- a/regular-expressions.html +++ b/regular-expressions.html @@ -430,6 +430,6 @@ body{counter-reset:h1 4}

  • (x) in general is a remembered group. You can get the value of what matched by using the groups() method of the object returned by re.search.

    Regular expressions are extremely powerful, but they are not the correct solution for every problem. You should learn enough about them to know when they are appropriate, when they will solve your problems, and when they will cause more problems than they solve. -

    © 2001–4, 2009 ark Pilgrim • open standards • open content • open source +

    © 2001–9 ark Pilgrim diff --git a/strings.html b/strings.html index 983bc4b..4b1c2a0 100644 --- a/strings.html +++ b/strings.html @@ -261,6 +261,6 @@ http://www.w3.org/People/Dürst/papers.html http://rishida.net/scripts/chinese/ -

    © 2001–4, 2009 ark Pilgrim • open standards • open content • open source +

    © 2001–9 ark Pilgrim diff --git a/table-of-contents.html b/table-of-contents.html index fefaf3d..ee7ee30 100644 --- a/table-of-contents.html +++ b/table-of-contents.html @@ -378,4 +378,4 @@ ul li ol{margin:0;padding:0 0 0 2.5em}

  • Dictionary comprehensions
  • Views (several dictionary methods return them, they're dynamic, update when the dictionary changes, etc.) -

    © 2001–4, 2009 ark Pilgrim • open standards • open content • open source +

    © 2001–9 ark Pilgrim diff --git a/unit-testing.html b/unit-testing.html index 17d1388..53fa82d 100644 --- a/unit-testing.html +++ b/unit-testing.html @@ -362,6 +362,6 @@ For instance, the testFromRomanCase method (“from_roman

  • from_roman should only accept uppercase Roman numerals (i.e. it should fail when given lowercase input). --> -

    © 2001–4, 2009 ark Pilgrim • open standards • open content • open source +

    © 2001–9 ark Pilgrim diff --git a/your-first-python-program.html b/your-first-python-program.html index c2ec774..1143c59 100644 --- a/your-first-python-program.html +++ b/your-first-python-program.html @@ -248,6 +248,6 @@ if __name__ == "__main__":

  • PEP 8: Style Guide for Python Code discusses good indentation style.
  • Python Reference Manual explains what it means to say that everything in Python is an object, because some people are pedantic and like to discuss that sort of thing at great length. -

    © 2001–4, 2009 ark Pilgrim • open standards • open content • open source +

    © 2001–9 ark Pilgrim