Programming Python

Errata for Programming Python

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 "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 xx
2 instances of www.ora.com were changed to www.oreilly.com

Anonymous    Jan 01, 2000
Printed
Page xxii
last paragraph

set of kids' names now includes "Roxanne."

Anonymous    Jan 01, 2000
Printed
Page 41
Added the 'c' argument to the call in the program examples in two places.

Both examples now read: anydbm.open('movie', 'c')

Anonymous    Apr 01, 1999
Printed
Page 64
last word of "Towards automated integration" box

changed "dial..." to "dial!"

Anonymous    Jan 01, 2000
Printed
Page 328
Fig. 11-17

changed 2 "Menubutton" in bottom frame to "Button"

Anonymous    Jan 01, 2000
Printed
Page 390
Added a sentence to the end of the last paragraph

One exception worth noting: in Python versions 1.5.2 and later, be sure to pass a 'c' as a second argument when calling anydbm.open, to force Python to create the file if it does not yet exist, and simply open it otherwise.

Anonymous    Apr 01, 1999
Printed
Page 411

Added the 'c' argument to the call in the program example. It now reads: mapping = anydbm.open(fileName, 'c')

Anonymous    Apr 01, 1999
Printed
Page 412

Added the 'c' argument to the call in the program example. It now reads: file = anydbm.open("test2/dbml", "c")

Anonymous    Apr 01, 1999
Printed
Page 422

Added the 'c' argument to the call in the program example. It now reads: mapping = anydbm.open(fileName, 'c')

Anonymous    Apr 01, 1999
Printed
Page 560
First para, changed to

"Since integers are a central datatype, most of the number operation slots are filled in. In user-defined numeric types, we can pick and choose operators to respond to. In Python 1.5 (and later), use NULL pointers in unimplemented operation slots. Python releases 1.4 and earlier might not detect NULL pointers; instead, provide pointers to dummy functions for unimplemented operations."

Anonymous    Nov 01, 1998
Printed
Page 690
Replaced the abbreviation "rand" with "random" in the code example. It

now reads: self.runstring("from random import *")

Anonymous    Apr 01, 1999
Printed
Page 691
last paragraph, 1st sentence

changed "rand" to "random"

Anonymous    Jan 01, 2000
Printed
Page 764
last item under "Numbers"

changed "hexidecimal" to "hexadecimal"

Anonymous    Jan 01, 2000
Printed
Page 828
Third para, first sentence

removed the errant "and" from between "contains" and "items"

Anonymous    Nov 01, 1998
Printed
Page 845
9th line of code

moved it down with the next line and set the tab flush with the other lines starting in "x"

Anonymous    Nov 01, 1998
Printed
Page 852
3rd block of code

file = open('data', r)... now reads file = open('data', 'r')...

Anonymous    Nov 01, 1998
Printed
Page 867

(index) added entry for "==" after entry for "=" that reads: ==(equality) operator, 92

Anonymous    Nov 01, 1998
Printed
Page 870
removed "==" entry

also: combined "equality" and "equality operator" entries to read: equality and equality operators, 91-92, 827

Anonymous    Nov 01, 1998
Printed
Page 873
added entry

is operator, 92, 550

Anonymous    Nov 01, 1998
Printed
Page 878
index

changed "__getitem__" to "__setitem__"

Anonymous    Jan 01, 2000
Printed
Page 881
added the following to the end of the last para.

Whenever possible, our books use RepKover (tm), a durable and flexible lay-flat binding. If the page count exceeds RepKover's limit, perfect binding is used.

Anonymous    Oct 01, 1997