Errata
The errata list is a list of errors and their corrections that were found after the product was released. If the error was corrected in a later version or reprint the date of the correction will be displayed in the column titled "Date Corrected".
The following errata were submitted by our customers and approved as valid errors by the author or editor.
Color key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update
Version | Location | Description | Submitted By | Date submitted | Date corrected |
---|---|---|---|---|---|
Printed | Page Back Cover Last paragraph |
"The book contains a foreword by Guido van Rossum, the creator of Python." |
Anonymous | ||
Printed | Page 6 paragraph starting with "String objects..." |
s.toupper() |
Anonymous | Aug 01, 2005 | |
Printed | Page 18 1st paragraph,4 occurences |
"anyset" |
Anonymous | May 01, 2005 | |
Printed | Page 34 code of expand_at_linestart() |
mo.group().expand |
Anonymous | Jul 01, 2007 | |
Printed | Page 43 2nd paragraph under Solution |
...(i.e., diaeresis) character "ae". |
Anonymous | May 01, 2005 | |
Printed | Page 67 4th line from the bottom of the page |
"7 input_file = open(..." |
Anonymous | May 01, 2005 | |
Printed | Page 73 Second code snippet |
return mo.group(0) |
Anonymous | Aug 01, 2005 | |
Printed | Page 75 code in the center of the page under Solution |
To clarify the code sample, the line |
Anonymous | May 01, 2005 | |
Printed | Page 83 last line of page |
Comment in sample code reads |
Anonymous | Jul 01, 2007 | |
Printed | Page 173 third paragraph from the bottom |
d.setdefault |
Anonymous | Jul 01, 2007 | |
Printed | Page 209 First paragraph |
...if n, the number of items you need, is small compared to |
Anonymous | Jul 01, 2007 | |
Printed | Page 241 First text paragraph |
(See recipe 6.18... |
Anonymous | Jul 01, 2007 | |
Printed | Page 246 Very last line |
if key not in do_not_delegate: |
Anonymous | Aug 01, 2005 | |
Printed | Page 259 second line from the bottom |
self.__class__ = __Full |
Anonymous | Aug 01, 2005 | |
Printed | Page 271 second line of code from the bottom |
cls._inst = type.__new__(cls, *args, **kwargs) |
Anonymous | Aug 01, 2005 | |
Printed | Page 272 4th paragraph |
The 'eggs' parameter passed when trying to instantiate s2...Singleton! |
Anonymous | Aug 01, 2005 | |
Printed | Page 274 last 2 lines on page |
def __new__(cls, *a, **k): |
Anonymous | Aug 01, 2005 | |
Printed | Page 299 End of first paragraph |
The typeface is incorrect in the last sentence; the fixed width face of 'cPickle' is |
Anonymous | Jul 01, 2007 | |
Printed | Page 310 7.9 title |
"7.9 Accesssing a MySQL Database" |
Anonymous | May 01, 2005 | |
Printed | Page 330 Code section, LINE 6 |
excelfile, ", ") |
Anonymous | May 01, 2005 | |
Printed | Page 338 penultimate line |
...caused the probl7em... |
Anonymous | Jul 01, 2007 | |
Printed | Page 386 def makeNonBlocking() function |
lines 1, 3 and 5: os.F_GETFL and os.F_SETFL were incorrect. |
Anonymous | Aug 01, 2005 | |
Printed | Page 403 in code |
backup_dir = os.path.join(dir, bakdir_name) |
Anonymous | May 01, 2005 | |
Printed | Page 404 code at top of page |
After the line: |
Anonymous | Aug 01, 2005 | |
Printed | Page 444 code listing, 6th line from bottom |
The line |
Anonymous | Jul 01, 2007 | |
Printed | Page 472 Recipe 12.5 code: class Xml2Obj, func EndElement |
In this code: |
Anonymous | Jul 01, 2007 | |
Printed | Page 472 Code, Line 23 |
The printed code misses a colon: |
Anonymous | Jul 01, 2007 | |
Printed | Page 504 line 16 of the source code |
The source in the book and in the samples zip file is: |
Anonymous | Jul 01, 2007 | |
Printed | Page 563 2nd code block, 5th line |
Text says: |
Anonymous | Jul 01, 2007 | |
Printed | Page 594 3rd line of code on page |
return f(*(a+more_a), dict(kw, **more_kw)) |
Anonymous | May 01, 2005 | |
Printed | Page 596 4th line of code on page |
return f(*(more_a+a), dict(kw, **more_kw)) |
Anonymous | May 01, 2005 | |
Printed | Page 599 code snippet |
for token in tokenize.generate_tokens(text.readline): |
Anonymous | ||
Printed | Page 605 last paragraph (also on next page at see also) |
Site that is referred to does not exist any more; new site is at |
Anonymous | Jul 01, 2007 | |
Printed | Page 743 6th line of code on page |
f.func_defaults = deepcopy(fdefaults) |
Anonymous | Jul 01, 2007 | |
Printed | Page 774 4th line of code in this page |
obj = super(MetaAuto, cls).__call__(cls, *a, **k) |
Anonymous | Jul 01, 2007 | |
Printed | Page 798 Microsoft index entries |
Not really a mistake, just an index inconsistency for similar items with more than |
Anonymous | ||
Printed | Page 805 Twisted Index entry |
The index entry for "Twisted" references only page 356, but the word "Twisted" does |
Anonymous |