From 3c39352a322db6c5197dd0d9ec7a741ebc6df71e Mon Sep 17 00:00:00 2001
From: Mark Pilgrim
Date: Thu, 12 Feb 2009 02:16:49 -0500
Subject: [PATCH] CHANGED LICENSE TO CC-BY-SA-3.0 at publisher's request, also
some line-height css fiddling
---
case-study-porting-chardet-to-python-3.html | 2 +-
dip3.css | 74 +++++++++++++--------
dip3.js | 1 +
index.html | 6 +-
native-datatypes.html | 7 +-
porting-code-to-python-3-with-2to3.html | 2 +-
publish | 13 ++++
table-of-contents.html | 32 ++++-----
your-first-python-program.html | 7 +-
9 files changed, 87 insertions(+), 57 deletions(-)
create mode 100644 publish
diff --git a/case-study-porting-chardet-to-python-3.html b/case-study-porting-chardet-to-python-3.html
index 4a84ccd..ce6fb63 100644
--- a/case-study-porting-chardet-to-python-3.html
+++ b/case-study-porting-chardet-to-python-3.html
@@ -717,7 +717,7 @@ for line in open(f, 'rb'):
elif (self._mInputState == ePureAscii) and self._escDetector.search(self._mLastChar + aBuf):
TypeError: Can't convert 'bytes' object to str implicitly
...
- © 2001-4, 2009 ℳark Pilgrim, CC-BY-3.0
+ © 2001-4, 2009 ℳark Pilgrim, CC-BY-SA-3.0
Dive Into Python 3 will cover Python 3 and its differences from Python 2. Compared to the original Dive Into Python, it will be about 50% revised and 50% new material. I will publish drafts online as I go. The final version will be published on paper by Apress. The book will remain online under the CC-BY-3.0 license. +
Dive Into Python 3 will cover Python 3 and its differences from Python 2. Compared to the original Dive Into Python, it will be about 50% revised and 50% new material. I will publish drafts online as I go. The final version will be published on paper by Apress. The book will remain online under the CC-BY-SA-3.0 license.
Here’s what I’ve written so far:
There is a changelog, a feed, and discussion on Reddit. During development, you can download the book by cloning the Mercurial repository:
you@localhost:~$ hg clone http://hg.diveintopython3.org/ diveintopython3-
The final version will be downloadable as HTML and PDF. +
The final version will be downloadable as HTML and PDF.
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, CC-BY-3.0 +
© 2001-4, 2009 ℳark Pilgrim, CC-BY-SA-3.0
None
+A short digression is in order. Put aside your first Python program for just a minute, and let's talk about datatypes. Every variable has a datatype, even though you don't declare it explicitly. Based on each variable's original assignment, Python figures out what type it is and keeps tracks of that internally. @@ -247,8 +248,7 @@ KeyError: 'db.diveintopython3.org' >>> x == y True -
© 2001-4, 2009 ℳark Pilgrim, CC-BY-3.0 +
© 2001-4, 2009 ℳark Pilgrim, CC-BY-SA-3.0