Chapter 1

[1] Python used to have another integer type called long, but its functionality has been merged into today’s int. You can still see a trailing ’L’ representing long integers in various bits of old code and documentation though. It looks like this: 1L, -42L, 99999999999999999L, and so on.

[2] When we say “copy,” we mean a copy of the references and not of the objects themselves. This is more correctly described as a shallow copy. See the following section on mutability for more information on copying objects.

Chapter 7

[1] Django 1.0 introduced a new Apache configuration directive, PythonOption django.root <root>, which takes the place of much of the ROOT_URL functionality we outline here. However, we’re leaving this part of ...

Get Python Web Development with Django® now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.