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.
The following errata were submitted by our customers and have not yet been approved or disproved by the author or editor. They solely represent the opinion of the customer.
Color Key: Serious Technical Mistake Minor Technical Mistake Language or formatting error Typo Question
| Version |
Location |
Description |
Submitted By |
| Printed |
Page 163
the last paragraph of 'findall' method description |
Seems like some lines are missing. THe last paragraph in page 163 starts as follows:
>When r has one group, findall also returns a list of strings, but >each is the
substring of s matching r's group. For example if you
and on the next (164) page the same paragraph continues with
>punctuation), you need to change ...
Seems like something is missing in the middle of the paragraph.
|
Anonymous |
| Printed |
Page 164
Description of "map - last paragraph |
The last Paragraph of the description of map states:-
"When func is None, map returns a list of tuples ..."
This is only true if map is given at least 2 seqs to "map".
If it is given a single seq, it returns the seq itself.
This can cause serious errors in programs that expect
tuples to be returned.
|
Ross Cartlidge |
| Printed |
Page 183
in the "cycle" function definition |
this:
"cycle count(iterable)"
should be:
"cycle cycle(iterable)"
The function definition says "count" which is the function ABOVE this one. A copy and paste error?
|
Rodney S |
| Printed |
Page 317
clip function signature |
The description of the clip function signature does not match the descriptive text.
The description is: "Returns an array c with the same type code and shape as a."
Of course, a appears nowhere in the signature of the function.
clip(m,min,max)
should be:
clip(a,min,max)
|
Anonymous |
| Printed |
Page 337
2nd paragraph of Entry section |
An Entry instance with state=DISABLED is a good way...
"state=DISABLED" should be replaced by "state='readonly'" for the
remainder of the page.
state=DISABLED doesn't allow you to select an Entry's text
or copy it to the clipboard.
|
Anonymous |
| Printed |
Page 384
definition of array, asarray |
"When data is a sequence of sequence of numbers, ..."
The words "sequence of" are duplicated.
|
Rodney S |
| Printed |
Page 535, 536
Example 24-1 |
In example 24-1 on p. 535 and again on p. 536, the line
if(!PyErr_ExceptionMatches(PyExc_TypeError)):
should be
if(!PyErr_ExceptionMatches(PyExc_TypeError))
with no colon (this is C, not Python).
445] right before x.close() in the code;
The program as typed crashes whenever a client disconnects. with error: 9. I have tested this with python
3.2.5 and 2.5 on Mac OS X 10.4.11
I believe the problem is because the closed socket remains in the list ins. In any case, repeating the two
lines previous to x.close () with ous replaced by ins seems to fix the problem.
|
Anonymous |
| Printed |
Page 695
Yield |
Yield index entry points to page 76, but it is really page 78.
|
Kelly McDonald |