The constants defined in this module are:
+\begin{datadesc}{ascii_letters}
+ The concatenation of the \constant{ascii_lowercase} and
+ \constant{ascii_uppercase} constants described below. This value is
+ not locale-dependent.
+\end{datadesc}
+
+\begin{datadesc}{ascii_lowercase}
+ The lowercase letters \code{'abcdefghijklmnopqrstuvwxyz'}. This
+ value is not locale-dependent and will not change.
+\end{datadesc}
+
+\begin{datadesc}{ascii_uppercase}
+ The uppercase letters \code{'ABCDEFGHIJKLMNOPQRSTUVWXYZ'}. This
+ value is not locale-dependent and will not change.
+\end{datadesc}
+
\begin{datadesc}{digits}
The string \code{'0123456789'}.
\end{datadesc}
\begin{datadesc}{letters}
The concatenation of the strings \constant{lowercase} and
- \constant{uppercase} described below.
+ \constant{uppercase} described below. The specific value is
+ locale-dependent, and will be updated when
+ \function{locale.setlocale()} is called.
\end{datadesc}
\begin{datadesc}{lowercase}
letters. On most systems this is the string
\code{'abcdefghijklmnopqrstuvwxyz'}. Do not change its definition ---
the effect on the routines \function{upper()} and
- \function{swapcase()} is undefined.
+ \function{swapcase()} is undefined. The specific value is
+ locale-dependent, and will be updated when
+ \function{locale.setlocale()} is called.
\end{datadesc}
\begin{datadesc}{octdigits}
letters. On most systems this is the string
\code{'ABCDEFGHIJKLMNOPQRSTUVWXYZ'}. Do not change its definition ---
the effect on the routines \function{lower()} and
- \function{swapcase()} is undefined.
+ \function{swapcase()} is undefined. The specific value is
+ locale-dependent, and will be updated when
+ \function{locale.setlocale()} is called.
\end{datadesc}
\begin{datadesc}{whitespace}
lowercase = 'abcdefghijklmnopqrstuvwxyz'
uppercase = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
letters = lowercase + uppercase
+ascii_lowercase = lowercase
+ascii_uppercase = uppercase
+ascii_letters = ascii_lowercase + ascii_uppercase
digits = '0123456789'
hexdigits = digits + 'abcdef' + 'ABCDEF'
octdigits = '01234567'
Library
+- The constants ascii_letters, ascii_lowercase. and ascii_uppercase
+ were added to the string module. These a locale-indenpendent
+ constants, unlike letters, lowercase, and uppercase. These are now
+ use in appropriate locations in the standard library.
+
- The flags used in dlopen calls can now be configured using
sys.setdlopenflags and queried using sys.getdlopenflags.