%======================================================================
-\section{Other Language Changes}
+\section{Other Language Changes\label{other-lang}}
Here are all of the changes that Python 2.5 makes to the core Python
language.
%======================================================================
-\subsection{Interactive Interpreter Changes}
+\subsection{Interactive Interpreter Changes\label{interactive}}
In the interactive interpreter, \code{quit} and \code{exit}
have long been strings so that new users get a somewhat helpful message
%======================================================================
-\subsection{Optimizations}
+\subsection{Optimizations\label{opts}}
\begin{itemize}
%======================================================================
-\section{New, Improved, and Removed Modules}
+\section{New, Improved, and Removed Modules\label{modules}}
The standard library received many enhancements and bug fixes in
Python 2.5. Here's a partial list of the most notable changes, sorted
%======================================================================
-\subsection{The ctypes package}
+\subsection{The ctypes package\label{module-ctypes}}
The \module{ctypes} package, written by Thomas Heller, has been added
to the standard library. \module{ctypes} lets you call arbitrary functions
%======================================================================
-\subsection{The ElementTree package}
+\subsection{The ElementTree package\label{module-etree}}
A subset of Fredrik Lundh's ElementTree library for processing XML has
been added to the standard library as \module{xmlcore.etree}. The
%======================================================================
-\subsection{The hashlib package}
+\subsection{The hashlib package\label{module-hashlib}}
A new \module{hashlib} module, written by Gregory P. Smith,
has been added to replace the
%======================================================================
-\subsection{The sqlite3 package}
+\subsection{The sqlite3 package\label{module-sqlite}}
The pysqlite module (\url{http://www.pysqlite.org}), a wrapper for the
SQLite embedded database, has been added to the standard library under
% ======================================================================
-\section{Build and C API Changes}
+\section{Build and C API Changes\label{build-api}}
Changes to Python's build process and to the C API include:
%======================================================================
-\subsection{Port-Specific Changes}
+\subsection{Port-Specific Changes\label{ports}}
\begin{itemize}
%======================================================================
-\section{Porting to Python 2.5}
+\section{Porting to Python 2.5\label{porting}}
This section lists previously described changes that may require
changes to your code: