Errata
Submit your own errata for this product.
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 "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
| Version | Location | Description | Submitted By | Corrected |
|---|---|---|---|---|
| Printed | Page xviii 4th paragraph |
"Learning Python is designed to be naturally complimented by..." |
Anonymous | Mar 2005 |
| Printed | Page xvi last bullet in first list of bullets |
"New testing and documentation tools such as PyDoc, PyUnit, and doctest (Chapter 11)" |
Anonymous | Mar 2005 |
| Printed | Page 4 4th paragraph, 2nd sentence |
"Although this may be an intangible benefit, it's effect on productivity at large is |
Anonymous | Mar 2005 |
| Printed | Page 10 1st paragraph |
"On the web, you'll also find a third-party system called gadfly that |
Anonymous | Mar 2005 |
| Printed | Page 12 2nd paragraph |
"Be-OS". NOW READS "BeOS". |
Anonymous | Mar 2005 |
| Printed | Page 15 First paragraph, last line |
"... Python code will be much less to write, debug, and maintain." |
Anonymous | Mar 2005 |
| Printed | Page 21 3rd paragraph |
"Python.net" NOW READS "Python.NET" (as on page 22). |
Anonymous | Mar 2005 |
| Printed | Page 29 2nd paragraph |
"...type three Python statements into a text file named spam.py". |
Anonymous | Mar 2005 |
| Printed | Page 30 paragraph 7 |
"Finally, remember to give the full path to |
Anonymous | Mar 2005 |
| Printed | Page 38 First line on page |
.. attribute title in other components two different ways. |
Anonymous | Mar 2005 |
| Printed | Page 46 line 3 |
www.python.og NOW READS www.python.org |
Anonymous | Mar 2005 |
| Printed | Page 59 "Parentheses Group Subexpressions", line 5 and line 10 |
On line 5, "write one of the following to force Python evaluate" |
Anonymous | Mar 2005 |
| Printed | Page 61 third text paragraph |
"that's why the result are displayed ..." |
Anonymous | Mar 2005 |
| Printed | Page 64 3rd text paragraph |
"In general, any code that depends on / truncating an integer result may be effected..." |
Anonymous | Mar 2005 |
| Printed | Page 67 6th text paragraph |
"This is covered in Chapter 4." |
Anonymous | Mar 2005 |
| Printed | Page 71 last line |
"... the first item in the list L." |
Anonymous | Nov 2004 |
| Printed | Page 72 1st paragraph under "References and Garbage Collection" |
"...Python also reclaims the old object, if it is not reference by any other name (or object)." |
Anonymous | Mar 2005 |
| Printed | Page 75 Table 5-1 (continued), line 5 from bottom |
"S2.find('pa')" |
Anonymous | Nov 2004 |
| Printed | Page 80 4th paragraph, last line |
"Unicode is normlly used to ..." |
Anonymous | Mar 2005 |
| Printed | Page 81 2nd line after code |
"hexidecimal" |
Anonymous | Mar 2005 |
| Printed | Page 82 code after first paragraph; In third comment, |
Repitition NOW READS Repetition. |
Anonymous | Mar 2005 |
| Printed | Page 83 4th paragraph |
"The first line defines a four-character string and assign it the name S." |
Anonymous | Mar 2005 |
| Printed | Page 84 2nd line |
"When you index a sequence object such as a string on a pair of offsets seperated by a colon..." |
Anonymous | Mar 2005 |
| Printed | Page 87 No.2 under String Formatting |
objects in parenthesis |
Anonymous | Mar 2007 |
| Printed | Page 88 "Advanced String Formatting", line 1 |
"... you can use any of conversion codes ...." |
Anonymous | Mar 2005 |
| Printed | Page 88 5th line from bottom |
%X X, but prints uppercase |
Anonymous | Mar 2005 |
| Printed | Page 90 3rd text paragraph |
"See also the section "Numbers" in Chapter 4 for examples that convert to |
Anonymous | Mar 2005 |
| Printed | Page 94 Last line of first paragraph |
'basic text extraction cores.' |
Anonymous | Mar 2005 |
| Printed | Page 98 Table 6-1, the column2 entries |
""" |
Anonymous | Mar 2005 |
| Printed | Page 99 1st Paragraph, 2nd sentence |
For instance, the second row in Table 6-1 assigns variable L1 to a four-item list. |
Anonymous | Mar 2005 |
| Printed | Page 106 First set of examples |
>>> 'ham' in d3 |
Anonymous | Mar 2005 |
| Printed | Page 107 4th paragraph,end of 2nd line |
"blindly overwiting values" |
Anonymous | Mar 2005 |
| Printed | Page 109 +5 |
empty except for the two positions, (2,3,4) and (7,8,8). |
Anonymous | Sep 2006 |
| Printed | Page 111 2nd paragraph |
dict([('name,'bob'), ('age',30)]) |
Anonymous | Nov 2004 |
| Printed | Page 113 Table 7-1, the column2 entries |
""" |
Anonymous | Mar 2005 |
| Printed | Page 114 2nd paragraph |
"Many programmers also find that parenthesis tend to aid script readability." |
Anonymous | Mar 2005 |
| Printed | Page 120 Last (fourth) code section, second line |
Emded copies of X's object. |
Anonymous | Jun 2007 |
| Printed | Page 125 4th paragraph,in the second sentence |
"exmaple" |
Anonymous | Mar 2005 |
| Printed | Page 137 Table 8-3 |
In the list of Python reserved words, the keyword 'Is' NOW READS 'is' |
Anonymous | Mar 2005 |
| Printed | Page 137 footnote |
"In the Jython Java-based implementation or Python, ..." |
Anonymous | Mar 2005 |
| Printed | Page 144 middle of sidebar |
sys.sytdout |
Anonymous | Sep 2006 |
| Printed | Page 154 2nd paragraph |
"true of false" |
Anonymous | Mar 2005 |
| Printed | Page 156 "Examples" section; first line |
"here are a few of simple...." |
Anonymous | Mar 2005 |
| Printed | Page 164 "Loop Variations" section; paragraph 2; bullet 2 |
"... returns a list a ...." |
Anonymous | Mar 2005 |
| Printed | Page 165 Third "#" comment line in the code examples |
Read byte chucks |
Anonymous | Mar 2007 |
| Printed | Page 169 end of 4th paragraph |
Reference to "Chapter 11" NOW READS "Chapter 14" |
Anonymous | Mar 2005 |
| Printed | Page 172 1st block of code |
"ommitted" |
Anonymous | Aug 2005 |
| Printed | Page 172 3rd line of the "The dir Function" section |
atributes |
Anonymous | Sep 2006 |
| Printed | Page 173 first paragraph under Docstrings:__doc__, last line |
...known as a docsting, into the __doc__ attribute... |
Anonymous | Mar 2005 |
| Printed | Page 173 1st block of code |
"ommitted" |
Anonymous | Aug 2005 |
| Printed | Page 175 "Built-in docstrings" section; line 1 |
"It turns out that built modules ...." |
Anonymous | Mar 2005 |
| Printed | Page 175-177 (in examples) |
"ommitted" |
Anonymous | Aug 2005 |
| Printed | Page 182 2nd paragraph |
relevent |
Anonymous | Mar 2005 |
| Printed | Page 194 3rd paragraph |
categoy |
Anonymous | Mar 2005 |
| Printed | Page 206 mid page, on the right side |
"in most cases, it is no longer necesary..." |
Anonymous | Mar 2005 |
| Printed | Page 214 in function min1 |
if arg < args: |
Anonymous | Nov 2004 |
| Printed | Page 214 3rd bullet note |
"The third converts from tuple to list with the built-in tuple call, ..." |
Anonymous | Nov 2004 |
| Printed | Page 215 Line 4, first line of output from running mins.py |
The result of the statement |
Anonymous | Mar 2005 |
| Printed | Page 229 2nd line from top of page |
'passsed' NOW READS 'passed' |
Anonymous | Aug 2005 |
| Printed | Page 250 penultimate line |
"HTLM" NOW READS "HTML" |
Anonymous | Aug 2005 |
| Printed | Page 261 +1 |
|
Anonymous | Sep 2006 |
| Printed | Page 267 2nd line above 'Reload Example' |
"Clients that used from to fetch attributes in the past won't be effected by a reload;" |
Anonymous | Aug 2005 |
| Printed | Page 275 First line of paragraph immediately preceding "A tale of Three Systems" section |
"Package imports can also greatly simply" |
Anonymous | Aug 2005 |
| Printed | Page 278 3rd paragraph |
irrelevent |
Anonymous | Aug 2005 |
| Printed | Page 279 1st paragraph, 2nd line |
funtions |
Anonymous | Aug 2005 |
| Printed | Page 281 paragraph before "Changing the Module Search Path" |
"functionalty" NOW READS "functionality" |
Anonymous | Aug 2005 |
| Printed | Page 283 2nd line |
... that code runs and is disgarded immediately... |
Anonymous | Aug 2005 |
| Printed | Page 304 4th para 2nd sentence |
'rather than changing exiting code in-place' |
Anonymous | Aug 2005 |
| Printed | Page 312 3rd paragraph |
'it doesn't effect' |
Anonymous | Aug 2005 |
| Printed | Page 366 2nd to last paragraph |
"reprresentation" |
Anonymous | Aug 2005 |
| Printed | Page 369 Paragraph 1 |
"fully expended name" |
Anonymous | Aug 2005 |
| Printed | Page 372 middle of page |
"this change only effects" |
Anonymous | Aug 2005 |
| Printed | Page 391 Second paragraph |
In the second sentence, |
Anonymous | Aug 2005 |
| Printed | Page 401 Second code block |
Missing ":" at the end of the except IndexError line HAS BEEN ADDED. |
Anonymous | Mar 2005 |
| Printed | Page 433 Table 26-1, Attributes row |
-name- |
Anonymous | Sep 2006 |
| Printed | Page 434 IDE section |
some advance IDEs |
Anonymous | Sep 2006 |
| Printed | Page 435 -1 |
-name- |
Anonymous | Sep 2006 |
| Printed | Page 435 3rd paragaph, last line |
...20% faster them 2.2 |
Anonymous | Jun 2007 |
| Printed | Page 440 +1 |
yeteminently |
Anonymous | Sep 2006 |
| Printed | Page 444 The "safeint" example |
def safeint(candidate): |
Anonymous | Sep 2006 |
| Printed | Page 457 class Stack: code |
self.push and self.pop BOTH NOW REFERENCE self._data, not just data |
Anonymous | Nov 2004 |
| Printed | Page 457 -1 |
see Chapter 7 |
Anonymous | Sep 2006 |
| Printed | Page 460 Table 27-4, Behavior column |
directory tree rotted |
Anonymous | Sep 2006 |
| Printed | Page 464, 468, 471 in code snippet |
", string" in the import statement of these examples HAS BEEN DELETED. |
Anonymous | Nov 2004 |
| Printed | Page 470 last line in 1st code snippet |
Previously the last line of this code was indented too far. |
Anonymous | Nov 2004 |
| Printed | Page 475 1st parag under Specific Internet Protocols |
"smptlib" |
Anonymous | Nov 2004 |
| Printed | Page 479 last line of code near the bottom of the page |
apply(self.__init__, (self,) + args), kw) |
Anonymous | Mar 2005 |
| Printed | Page 479 2nd code section from bottom |
self.__init__(self, *args, **kw) |
Anonymous | Sep 2006 |
| Printed | Page 482 code between +2 and +3 |
for func in funcs: |
Anonymous | Sep 2006 |
| Printed | Page 482 code between +2 and +3 |
print 'Running %s %d times took %.3f seconds' % (func.__name__, num_times |
Anonymous | Sep 2006 |
| Printed | Page 483 code at top of page |
>>> from makezeros import * |
Anonymous | Sep 2006 |
| Printed | Page 486 Figure 28-1 |
The title of the webpage in Figure 28-1 reads |
Anonymous | |
| Printed | Page 571 Exercise 5 |
print ' |
Anonymous | Mar 2007 |
| Printed | Page 577 |
Under arguments: |
Anonymous | |
| Printed | Page 577 index |
% (remainder/format) operator, 58 |
Anonymous | Mar 2007 |
| Printed | Page 578 |
Under calling: |
Anonymous | |
| Printed | Page 579 2nd column |
The line "COM (Microsoft Common Object Model), 447, 454": there are no references to COM in either page. |
Anonymous | |
| Printed | Page 583 |
Under iteration: |
Anonymous | |
| Printed | Page 587 |
"PIL (Python Imaging Library), 485" |
Anonymous | |
| Printed | Page 591 Y |
The 'yield' statement should be in the index. |
Anonymous |
