Intermediate Python Programming - No Longer for Sale

Errata for Intermediate Python Programming - No Longer for Sale

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
Other Digital Version
Advanced slicing

"Same eleven characters... in opposite order" - Not same but off by one, because the beginning of the slice is inclusive and the end is exclusive.

Note from the Author or Editor:
Text should be corrected as suggested

Anonymous  Apr 28, 2014 
Other Digital Version
Dicts and Sets

Can't guarantee the order when you iterate over a set or a list should be ... set or a dict

Note from the Author or Editor:
This needs correcting as suggested by the submitter.

Anonymous  Apr 13, 2014 
Other Digital Version

The code for the hexadecimal value FE should be \xfe. The code shown (\0xfe) is actually the octal value 0 followed by the characters 'x', 'f' and 'e'.

Note from the Author or Editor:
Reporter's description is correct. Script needs to omit the zero digit from the string "\0xfe"

Anonymous  Jan 31, 2015 
Other Digital Version

Why do method calls to both wag() and sniff() output the print statement in wag()? Seems like the decorator has messed up something there.

Note from the Author or Editor:
This occurs because of a complicated issue involving the re-use of a local variable. I will publish a blog entry to explain the issue with the existing code before correcting it. The bog entry (which also contains the germ of the fix) is at for those who want the gory details.

Anonymous  May 05, 2014