Errata

Python Epiphanies

Errata for Python Epiphanies

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
2.1
Video segment "2.1 Back to the Basics: Names" at about 3 minutes and 25 seconds, line "IN [18]"

There is an error in video segment "2.1 Back to the Basics: Names" at about 3 minutes and 25 seconds where the instructor talks about line "IN [18]" as though it reads "a == b", checking for equality between a and b, instead of how it reads "id(a) == id(b)" which is checking that their ids are equal.

Stuart Williams  Jul 07, 2015 
Other Digital Version
5.2
Video segment "5.2 Exercises: Functions" at about 1 minute 30 seconds at line "In [55]"

In the video segment "5.2 Exercises: Functions" at about 1 minute 30 seconds at line "In [55]" the exercises and demo switch from calling f2 back to calling f without calling attention to that, which may be confusing if you don't notice it.

Stuart Williams  Jul 07, 2015 
Other Digital Version
6.1
Video segment "6.1 Decorators Simplified" at line "In [6]"

In section "6.1 Decorators Simplified" the trace function at line "In [6]" has a small mistake so it only prints the first argument passed to the function. The print statement should be this: print('Called {}{!r}'.format(f, args))

Stuart Williams  Jul 07, 2015 
Other Digital Version
6.1
Video segment "6.1 Decorators Simplified" at line "In [21]"

In section "6.1 Decorators Simplified" the memoize function at line "In [21]" at about 8 minutes in would be a bit more clear without the parentheses in the format, i.e. like this instead: print('Called memoized_f{!r}'.format(args))

Stuart Williams  Jul 07, 2015