# This is the *documentation* release, and is used to construct the file
# names of the downloadable tarballs.
-RELEASE=1.6a2
+RELEASE=2.0b1
# These must be declared phony since there
\moduleauthor{Eric S. Raymond}{esr@thyrsus.com}
\sectionauthor{Eric S. Raymond}{esr@thyrsus.com}
-\versionadded{1.6}
+\versionadded{2.0}
The \module{curses.ascii} module supplies name constants for
\ASCII{} characters and functions to test membership in various
\sectionauthor{Skip Montanaro}{skip@mojam.com}
\modulesynopsis{Register and execute cleanup functions.}
-\versionadded{1.6}
+\versionadded{2.0}
The \module{atexit} module defines a single function to register
cleanup functions. Functions thus registered are automatically
Raised when a reference is made to a local variable in a function or
method, but no value has been bound to that variable. This is a
subclass of \exception{NameError}.
-\versionadded{1.6}
+\versionadded{2.0}
\end{excdesc}
\begin{excdesc}{UnicodeError}
Raised when a Unicode-related encoding or decoding error occurs. It
is a subclass of \exception{ValueError}.
-\versionadded{1.6}
+\versionadded{2.0}
\end{excdesc}
\begin{excdesc}{ValueError}
return values of the \cfunction{GetLastError()} and
\cfunction{FormatMessage()} functions from the Windows Platform API.
This is a subclass of \exception{OSError}.
-\versionadded{1.6}
+\versionadded{2.0}
\end{excdesc}
\begin{excdesc}{ZeroDivisionError}
\code{u'a'}. This is the inverse of \function{ord()} for Unicode
strings. The argument must be in the range [0..65535], inclusive.
\exception{ValueError} is raised otherwise.
-\versionadded{1.6}
+\versionadded{2.0}
\end{funcdesc}
\begin{funcdesc}{unicode}{string\optional{, encoding='utf-8'\optional{, errors='strict'}}}
handling is done according to \var{errors}. The default behavior is
to decode UTF-8 in strict mode, meaning that encoding errors raise
\exception{ValueError}.
-\versionadded{1.6}
+\versionadded{2.0}
\end{funcdesc}
\begin{funcdesc}{vars}{\optional{object}}
times are set to the current time. Otherwise, \var{times} must be a
2-tuple of numbers, of the form \code{(\var{atime}, \var{mtime})}
which is used to set the access and modified times, respectively.
-\versionchanged[added support for \code{None} for \var{times}]{1.6}
+\versionchanged[added support for \code{None} for \var{times}]{2.0}
Availability: Macintosh, \UNIX{}, Windows.
\end{funcdesc}
\begin{description}
\item[(1)] The C implementation of Python has historically accepted
multiple parameters and implicitly joined them into a tuple; this
- will no longer work in Python 1.6. Use of this misfeature has been
+ no longer works in Python 2.0. Use of this misfeature has been
deprecated since Python 1.4.
\item[(2)] Raises an exception when \var{x} is not a list object. The
\var{serial}. All values except \var{releaselevel} are integers; the
release level is \code{'alpha'}, \code{'beta'},
\code{'candidate'}, or \code{'final'}. The \code{version_info} value
-corresponding to the Python version 1.6 is
-\code{(1, 6, 0, 'final', 0)}.
-\versionadded{1.6}
+corresponding to the Python version 2.0 is
+\code{(2, 0, 0, 'final', 0)}.
+\versionadded{2.0}
\end{datadesc}
\begin{datadesc}{winver}
\end{funcdesc}
\begin{datadesc}{template}
-\deprecated{1.6}{Use \function{gettempprefix()} instead.}
+\deprecated{2.0}{Use \function{gettempprefix()} instead.}
When set to a value other than \code{None}, this variable defines the
prefix of the final component of the filenames returned by
\function{mktemp()}. A string of decimal digits is added to generate
\begin{description}
\item[\module{dircmp}]
--- Class to build directory diff tools on (may become a demo or tool).
-\deprecated{1.6}{The \refmodule{filecmp} module will replace
+\deprecated{2.0}{The \refmodule{filecmp} module will replace
\module{dircmp}.}
\item[\module{bdb}]
\subsection{Unicode Strings \label{unicodeStrings}}
\sectionauthor{Marc-Andre Lemburg}{mal@lemburg.com}
-Starting with Python 1.6 a new data type for storing text data is
+Starting with Python 2.0 a new data type for storing text data is
available to the programmer: the Unicode object. It can be used to
store and manipulate Unicode data (see \url{http://www.unicode.org})
and intergrates well with the existing string objects providing