[Python-checkins] CVS: python/dist/src/Doc/lib liballos.tex,1.9,1.10 libascii.tex,1.3,1.4 libasyncore.tex,1.4,1.5 libaudioop.tex,1.18,1.19 libbasehttp.tex,1.10,1.11 libbinascii.tex,1.16,1.17 libcd.tex,1.12,1.13 libcfgparser.tex,1.12,1.13 libcgi.tex,1.26,1.27 libcgihttp.tex,1.2,1.3 libchunk.tex,1.3,1.4 libcode.tex,1.10,1.11 libcurses.tex,1.7,1.8 libdircache.tex,1.2,1.3 libdl.tex,1.1,1.2 libformatter.tex,1.19,1.20 libftplib.tex,1.27,1.28 libhtmllib.tex,1.21,1.22 libimageop.tex,1.11,1.12 libimaplib.tex,1.15,1.16 libimp.tex,1.25,1.26 libintro.tex,1.6,1.7 liblocale.tex,1.16,1.17 libmarshal.tex,1.18,1.19 libmd5.tex,1.14,1.15 libmutex.tex,1.2,1.3 libnetrc.tex,1.6,1.7 libnis.tex,1.3,1.4 libos.tex,1.43,1.44 libpanel.tex,1.9,1.10 libparser.tex,1.35,1.36 libpdb.tex,1.27,1.28 libpickle.tex,1.26,1.27 libpipes.tex,1.2,1.3 libpoplib.tex,1.8,1.9 librotor.tex,1.14,1.15 libsched.tex,1.3,1.4 libsgmllib.tex,1.19,1.20 libsha.tex,1.2,1.3 libshelve.tex,1.13,1.14 libshlex.tex,1.8,1.9 libsignal.tex,1.17,1.18!
libsmtplib.tex,1.14,1.15 libsomeos.tex,1.7,1.8 libstatvfs.tex,1.2,1.3 libstdwin.tex,1.22,1.23 libsunau.tex,1.1,1.2 libsymbol.tex,1.6,1.7 libtelnetlib.tex,1.5,1.6 libtempfile.tex,1.15,1.16 libtime.tex,1.32,1.33 libtoken.tex,1.6,1.7 libtraceback.tex,1.12,1.13 libundoc.tex,1.74,1.75 liburllib.tex,1.22,1.23 liburlparse.tex,1.15,1.16 libuser.tex,1.14,1.15 libuserdict.tex,1.14,1.15 libwave.tex,1.3,1.4 libwinsound.tex,1.4,1.5 libxmllib.tex,1.23,1.24
Thomas Wouters
python-dev@python.org
Sun, 16 Jul 2000 12:01:17 -0700
Update of /cvsroot/python/python/dist/src/Doc/lib
In directory slayer.i.sourceforge.net:/tmp/cvs-serv20144
Modified Files:
liballos.tex libascii.tex libasyncore.tex libaudioop.tex
libbasehttp.tex libbinascii.tex libcd.tex libcfgparser.tex
libcgi.tex libcgihttp.tex libchunk.tex libcode.tex
libcurses.tex libdircache.tex libdl.tex libformatter.tex
libftplib.tex libhtmllib.tex libimageop.tex libimaplib.tex
libimp.tex libintro.tex liblocale.tex libmarshal.tex
libmd5.tex libmutex.tex libnetrc.tex libnis.tex libos.tex
libpanel.tex libparser.tex libpdb.tex libpickle.tex
libpipes.tex libpoplib.tex librotor.tex libsched.tex
libsgmllib.tex libsha.tex libshelve.tex libshlex.tex
libsignal.tex libsmtplib.tex libsomeos.tex libstatvfs.tex
libstdwin.tex libsunau.tex libsymbol.tex libtelnetlib.tex
libtempfile.tex libtime.tex libtoken.tex libtraceback.tex
libundoc.tex liburllib.tex liburlparse.tex libuser.tex
libuserdict.tex libwave.tex libwinsound.tex libxmllib.tex
Log Message:
Rob W. W. Hooft's spelling fixes for the Library Reference. I hope
SourceForge doesn't choke on this batch :-)
I'm not entirely sure this is 100% correct. The patch changes an
\index{persistency} to \index{presistence}, and I don't know what \index{}
does. But it seems to do so persi--er, consistently, so I hope it isn't a
problem.
Index: liballos.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/liballos.tex,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -r1.9 -r1.10
*** liballos.tex 1999/05/11 13:45:37 1.9
--- liballos.tex 2000/07/16 19:01:09 1.10
***************
*** 3,7 ****
The modules described in this chapter provide interfaces to operating
system features that are available on (almost) all operating systems,
! such as files and a clock. The interfaces are generally modelled
after the \UNIX{} or C interfaces, but they are available on most
other systems as well. Here's an overview:
--- 3,7 ----
The modules described in this chapter provide interfaces to operating
system features that are available on (almost) all operating systems,
! such as files and a clock. The interfaces are generally modeled
after the \UNIX{} or C interfaces, but they are available on most
other systems as well. Here's an overview:
Index: libascii.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libascii.tex,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** libascii.tex 2000/06/30 16:06:19 1.3
--- libascii.tex 2000/07/16 19:01:09 1.4
***************
*** 19,23 ****
\lineii{SOH}{Start of heading, console interrupt}
\lineii{STX}{Start of text}
! \lineii{ETX}{Ennd of text}
\lineii{EOT}{End of transmission}
\lineii{ENQ}{Enquiry, goes with \constant{ACK} flow control}
--- 19,23 ----
\lineii{SOH}{Start of heading, console interrupt}
\lineii{STX}{Start of text}
! \lineii{ETX}{End of text}
\lineii{EOT}{End of transmission}
\lineii{ENQ}{Enquiry, goes with \constant{ACK} flow control}
Index: libasyncore.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libasyncore.tex,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** libasyncore.tex 2000/04/03 20:13:52 1.4
--- libasyncore.tex 2000/07/16 19:01:09 1.5
***************
*** 108,112 ****
is scanned, and this method is called to see if there is any
interest in writing. The default method simply returns \code{1},
! indiciating that by default, all channels will be interested.
\end{methoddesc}
--- 108,112 ----
is scanned, and this method is called to see if there is any
interest in writing. The default method simply returns \code{1},
! indicating that by default, all channels will be interested.
\end{methoddesc}
Index: libaudioop.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libaudioop.tex,v
retrieving revision 1.18
retrieving revision 1.19
diff -C2 -r1.18 -r1.19
*** libaudioop.tex 1999/04/23 17:30:40 1.18
--- libaudioop.tex 2000/07/16 19:01:09 1.19
***************
*** 152,156 ****
\begin{funcdesc}{mul}{fragment, width, factor}
! Return a fragment that has all samples in the original framgent
multiplied by the floating-point value \var{factor}. Overflow is
silently ignored.
--- 152,156 ----
\begin{funcdesc}{mul}{fragment, width, factor}
! Return a fragment that has all samples in the original fragment
multiplied by the floating-point value \var{factor}. Overflow is
silently ignored.
***************
*** 162,166 ****
\var{state} is a tuple containing the state of the converter. The
! converter returns a tupl \code{(\var{newfragment}, \var{newstate})},
and \var{newstate} should be passed to the next call of
\function{ratecv()}.
--- 162,166 ----
\var{state} is a tuple containing the state of the converter. The
! converter returns a tuple \code{(\var{newfragment}, \var{newstate})},
and \var{newstate} should be passed to the next call of
\function{ratecv()}.
Index: libbasehttp.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libbasehttp.tex,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -r1.10 -r1.11
*** libbasehttp.tex 1999/06/14 19:49:50 1.10
--- libbasehttp.tex 2000/07/16 19:01:09 1.11
***************
*** 91,95 ****
\begin{memberdesc}{wfile}
Contains the output stream for writing a response back to the client.
! Proper adherance to the HTTP protocol must be used when writing
to this stream.
\end{memberdesc}
--- 91,95 ----
\begin{memberdesc}{wfile}
Contains the output stream for writing a response back to the client.
! Proper adherence to the HTTP protocol must be used when writing
to this stream.
\end{memberdesc}
***************
*** 116,120 ****
client. It uses parenthesized, keyed format specifiers, so the
format operand must be a dictionary. The \var{code} key should
! be an integer, specifing the numeric HTTP error code value.
\var{message} should be a string containing a (detailed) error
message of what occurred, and \var{explain} should be an
--- 116,120 ----
client. It uses parenthesized, keyed format specifiers, so the
format operand must be a dictionary. The \var{code} key should
! be an integer, specifying the numeric HTTP error code value.
\var{message} should be a string containing a (detailed) error
message of what occurred, and \var{explain} should be an
Index: libbinascii.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libbinascii.tex,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -r1.16 -r1.17
*** libbinascii.tex 2000/02/16 21:13:37 1.16
--- libbinascii.tex 2000/07/16 19:01:09 1.17
***************
*** 12,16 ****
but use wrapper modules like \refmodule{uu}\refstmodindex{uu} or
\refmodule{binhex}\refstmodindex{binhex} instead, this module solely
! exists because bit-manipuation of large amounts of data is slow in
Python.
--- 12,16 ----
but use wrapper modules like \refmodule{uu}\refstmodindex{uu} or
\refmodule{binhex}\refstmodindex{binhex} instead, this module solely
! exists because bit-manipulation of large amounts of data is slow in
Python.
Index: libcd.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libcd.tex,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -r1.12 -r1.13
*** libcd.tex 1999/03/02 16:37:07 1.12
--- libcd.tex 2000/07/16 19:01:09 1.13
***************
*** 87,91 ****
\begin{datadesc}{ERROR}
! An error aoocurred while trying to read the disc or its table of
contents.
\end{datadesc}
--- 87,91 ----
\begin{datadesc}{ERROR}
! An error occurred while trying to read the disc or its table of
contents.
\end{datadesc}
***************
*** 195,199 ****
\begin{methoddesc}[CD player]{playtrackabs}{track, minutes, seconds, frames, play}
! Like \method{play()}, except that playing begins at the spcified
absolute time and ends at the end of the specified track.
\end{methoddesc}
--- 195,199 ----
\begin{methoddesc}[CD player]{playtrackabs}{track, minutes, seconds, frames, play}
! Like \method{play()}, except that playing begins at the specified
absolute time and ends at the end of the specified track.
\end{methoddesc}
Index: libcfgparser.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libcfgparser.tex,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -r1.12 -r1.13
*** libcfgparser.tex 2000/07/14 15:00:02 1.12
--- libcfgparser.tex 2000/07/16 19:01:09 1.13
***************
*** 57,61 ****
\begin{excdesc}{DuplicateSectionError}
! Exception raised when mutliple sections with the same name are found,
or if \method{add_section()} is called with the name of a section that
is already present.
--- 57,61 ----
\begin{excdesc}{DuplicateSectionError}
! Exception raised when multiple sections with the same name are found,
or if \method{add_section()} is called with the name of a section that
is already present.
Index: libcgi.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libcgi.tex,v
retrieving revision 1.26
retrieving revision 1.27
diff -C2 -r1.26 -r1.27
*** libcgi.tex 2000/04/03 20:13:52 1.26
--- libcgi.tex 2000/07/16 19:01:09 1.27
***************
*** 105,109 ****
\class{FieldStorage} or \class{MiniFieldStorage}
instance but a list of such instances. If you expect this possibility
! (i.e., when your HTML form comtains multiple fields with the same
name), use the \function{type()} function to determine whether you
have a single instance or a list of instances. For example, here's
--- 105,109 ----
\class{FieldStorage} or \class{MiniFieldStorage}
instance but a list of such instances. If you expect this possibility
! (i.e., when your HTML form contains multiple fields with the same
name), use the \function{type()} function to determine whether you
have a single instance or a list of instances. For example, here's
***************
*** 132,136 ****
You can test for an uploaded file by testing either the filename
attribute or the file attribute. You can then read the data at
! leasure from the file attribute:
\begin{verbatim}
--- 132,136 ----
You can test for an uploaded file by testing either the filename
attribute or the file attribute. You can then read the data at
! leisure from the file attribute:
\begin{verbatim}
Index: libcgihttp.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libcgihttp.tex,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** libcgihttp.tex 2000/04/03 20:13:52 1.2
--- libcgihttp.tex 2000/07/16 19:01:09 1.3
***************
*** 12,16 ****
The \module{CGIHTTPServer} module defines a request-handler class,
interface compatible with
! \class{BaseHTTPServer.BaseHTTPRequestHandler} and inherits behaviour
from \class{SimpleHTTPServer.SimpleHTTPRequestHandler} but can also
run CGI scripts.
--- 12,16 ----
The \module{CGIHTTPServer} module defines a request-handler class,
interface compatible with
! \class{BaseHTTPServer.BaseHTTPRequestHandler} and inherits behavior
from \class{SimpleHTTPServer.SimpleHTTPRequestHandler} but can also
run CGI scripts.
Index: libchunk.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libchunk.tex,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** libchunk.tex 1999/08/26 15:57:08 1.3
--- libchunk.tex 2000/07/16 19:01:09 1.4
***************
*** 25,29 ****
header}
\lineiii{8}{\var{n}}{Data bytes, where \var{n} is the size given in
! the preceeding field}
\lineiii{8 + \var{n}}{0 or 1}{Pad byte needed if \var{n} is odd and
chunk alignment is used}
--- 25,29 ----
header}
\lineiii{8}{\var{n}}{Data bytes, where \var{n} is the size given in
! the preceding field}
\lineiii{8 + \var{n}}{0 or 1}{Pad byte needed if \var{n} is odd and
chunk alignment is used}
Index: libcode.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libcode.tex,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -r1.10 -r1.11
*** libcode.tex 2000/04/03 20:13:52 1.10
--- libcode.tex 2000/07/16 19:01:09 1.11
***************
*** 104,108 ****
When an exception occurs, \method{showtraceback()} is called to
display a traceback. All exceptions are caught except
! \exception{SystemExit}, which is allowed to propogate.
A note about \exception{KeyboardInterrupt}: this exception may occur
--- 104,108 ----
When an exception occurs, \method{showtraceback()} is called to
display a traceback. All exceptions are caught except
! \exception{SystemExit}, which is allowed to propagate.
A note about \exception{KeyboardInterrupt}: this exception may occur
Index: libcurses.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libcurses.tex,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -r1.7 -r1.8
*** libcurses.tex 2000/06/30 01:05:39 1.7
--- libcurses.tex 2000/07/16 19:01:09 1.8
***************
*** 1,4 ****
\section{\module{curses} ---
! Terminal independant console handling}
\declaremodule{extension}{curses}
--- 1,4 ----
\section{\module{curses} ---
! Terminal independent console handling}
\declaremodule{extension}{curses}
***************
*** 244,248 ****
\begin{funcdesc}{mouseinterval}{interval}
! Sets the maximum time in millisecondsthat can elapse between press and
release events in order for them to be recognized as a click, and
returns the previous interval value. The default value is 200 msec,
--- 244,248 ----
\begin{funcdesc}{mouseinterval}{interval}
! Sets the maximum time in milliseconds that can elapse between press and
release events in order for them to be recognized as a click, and
returns the previous interval value. The default value is 200 msec,
***************
*** 847,851 ****
\begin{methoddesc}{timeout}{delay}
! Sets blocking or non-blocking read behaviour for the window. If
\var{delay} is negative, blocking read is used, which will wait
indefinitely for input). If \var{delay} is zero, then non-blocking
--- 847,851 ----
\begin{methoddesc}{timeout}{delay}
! Sets blocking or non-blocking read behavior for the window. If
\var{delay} is negative, blocking read is used, which will wait
indefinitely for input). If \var{delay} is zero, then non-blocking
Index: libdircache.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libdircache.tex,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** libdircache.tex 1999/10/29 17:51:29 1.2
--- libdircache.tex 2000/07/16 19:01:09 1.3
***************
*** 23,27 ****
\begin{funcdesc}{opendir}{path}
! Same as \function{listdir()}. Defined for backwards compatability.
\end{funcdesc}
--- 23,27 ----
\begin{funcdesc}{opendir}{path}
! Same as \function{listdir()}. Defined for backwards compatibility.
\end{funcdesc}
Index: libdl.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libdl.tex,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** libdl.tex 1999/07/01 20:40:21 1.1
--- libdl.tex 2000/07/16 19:01:09 1.2
***************
*** 9,13 ****
\cfunction{dlopen()} function, which is the most common interface on
\UNIX{} platforms for handling dynamically linked libraries. It allows
! the program to call arbitary functions in such a library.
\strong{Note:} This module will not work unless
--- 9,13 ----
\cfunction{dlopen()} function, which is the most common interface on
\UNIX{} platforms for handling dynamically linked libraries. It allows
! the program to call arbitrary functions in such a library.
\strong{Note:} This module will not work unless
***************
*** 24,28 ****
signifies late binding (\constant{RTLD_LAZY}) or immediate binding
(\constant{RTLD_NOW}). Default is \constant{RTLD_LAZY}. Note that some
! sytems do not support \constant{RTLD_NOW}.
Return value is a \pytype{dlobject}.
--- 24,28 ----
signifies late binding (\constant{RTLD_LAZY}) or immediate binding
(\constant{RTLD_NOW}). Default is \constant{RTLD_LAZY}. Note that some
! systems do not support \constant{RTLD_NOW}.
Return value is a \pytype{dlobject}.
***************
*** 45,49 ****
\begin{excdesc}{error}
! Exception raised when an error has occured inside the dynamic loading
and linking routines.
\end{excdesc}
--- 45,49 ----
\begin{excdesc}{error}
! Exception raised when an error has occurred inside the dynamic loading
and linking routines.
\end{excdesc}
Index: libformatter.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libformatter.tex,v
retrieving revision 1.19
retrieving revision 1.20
diff -C2 -r1.19 -r1.20
*** libformatter.tex 1999/04/22 21:23:21 1.19
--- libformatter.tex 2000/07/16 19:01:09 1.20
***************
*** 7,11 ****
! This module supports two interface definitions, each with mulitple
implementations. The \emph{formatter} interface is used by the
\class{HTMLParser} class of the \refmodule{htmllib} module, and the
--- 7,11 ----
! This module supports two interface definitions, each with multiple
implementations. The \emph{formatter} interface is used by the
\class{HTMLParser} class of the \refmodule{htmllib} module, and the
***************
*** 76,81 ****
\begin{methoddesc}[formatter]{add_flowing_data}{data}
! Provide data which should be formatted with collapsed whitespaces.
! Whitespace from preceeding and successive calls to
\method{add_flowing_data()} is considered as well when the whitespace
collapse is performed. The data which is passed to this method is
--- 76,81 ----
\begin{methoddesc}[formatter]{add_flowing_data}{data}
! Provide data which should be formatted with collapsed whitespace.
! Whitespace from preceding and successive calls to
\method{add_flowing_data()} is considered as well when the whitespace
collapse is performed. The data which is passed to this method is
***************
*** 107,111 ****
to indicate a transform on the counter value. Specifically, the
character \character{1} represents the counter value formatter as an
! arabic number, the characters \character{A} and \character{a}
represent alphabetic representations of the counter value in upper and
lower case, respectively, and \character{I} and \character{i}
--- 107,111 ----
to indicate a transform on the counter value. Specifically, the
character \character{1} represents the counter value formatter as an
! Arabic number, the characters \character{A} and \character{a}
represent alphabetic representations of the counter value in upper and
lower case, respectively, and \character{I} and \character{i}
***************
*** 265,269 ****
\begin{methoddesc}[writer]{send_paragraph}{blankline}
Produce a paragraph separation of at least \var{blankline} blank
! lines, or the equivelent. The \var{blankline} value will be an
integer. Note that the implementation will receive a call to
\method{send_line_break()} before this call if a line break is needed;
--- 265,269 ----
\begin{methoddesc}[writer]{send_paragraph}{blankline}
Produce a paragraph separation of at least \var{blankline} blank
! lines, or the equivalent. The \var{blankline} value will be an
integer. Note that the implementation will receive a call to
\method{send_line_break()} before this call if a line break is needed;
Index: libftplib.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libftplib.tex,v
retrieving revision 1.27
retrieving revision 1.28
diff -C2 -r1.27 -r1.28
*** libftplib.tex 1999/07/20 13:21:42 1.27
--- libftplib.tex 2000/07/16 19:01:09 1.28
***************
*** 266,270 ****
\method{quit()}. After this call the \class{FTP} instance should not
be used any more (i.e., after a call to \method{close()} or
! \method{quit()} you cannot reopen the connection by issueing another
\method{login()} method).
\end{methoddesc}
--- 266,270 ----
\method{quit()}. After this call the \class{FTP} instance should not
be used any more (i.e., after a call to \method{close()} or
! \method{quit()} you cannot reopen the connection by issuing another
\method{login()} method).
\end{methoddesc}
Index: libhtmllib.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libhtmllib.tex,v
retrieving revision 1.21
retrieving revision 1.22
diff -C2 -r1.21 -r1.22
*** libhtmllib.tex 1999/06/21 21:20:56 1.21
--- libhtmllib.tex 2000/07/16 19:01:09 1.22
***************
*** 125,131 ****
\begin{methoddesc}{save_end}{}
Ends buffering character data and returns all data saved since the
! preceeding call to \method{save_bgn()}. If the \member{nofill} flag is
false, whitespace is collapsed to single spaces. A call to this
! method without a preceeding call to \method{save_bgn()} will raise a
\exception{TypeError} exception.
\end{methoddesc}
--- 125,131 ----
\begin{methoddesc}{save_end}{}
Ends buffering character data and returns all data saved since the
! preceding call to \method{save_bgn()}. If the \member{nofill} flag is
false, whitespace is collapsed to single spaces. A call to this
! method without a preceding call to \method{save_bgn()} will raise a
\exception{TypeError} exception.
\end{methoddesc}
Index: libimageop.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libimageop.tex,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -r1.11 -r1.12
*** libimageop.tex 1999/04/22 21:23:21 1.11
--- libimageop.tex 2000/07/16 19:01:09 1.12
***************
*** 47,51 ****
\begin{funcdesc}{grey2mono}{image, width, height, threshold}
Convert a 8-bit deep greyscale image to a 1-bit deep image by
! tresholding all the pixels. The resulting image is tightly packed and
is probably only useful as an argument to \function{mono2grey()}.
\end{funcdesc}
--- 47,51 ----
\begin{funcdesc}{grey2mono}{image, width, height, threshold}
Convert a 8-bit deep greyscale image to a 1-bit deep image by
! thresholding all the pixels. The resulting image is tightly packed and
is probably only useful as an argument to \function{mono2grey()}.
\end{funcdesc}
Index: libimaplib.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libimaplib.tex,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -r1.15 -r1.16
*** libimaplib.tex 2000/05/26 04:08:37 1.15
--- libimaplib.tex 2000/07/16 19:01:09 1.16
***************
*** 43,47 ****
\begin{excdesc}{IMAP4.readonly}
! This exception is raised when a writeable mailbox has its status changed by the server. This is a
sub-class of \exception{IMAP4.error}. Some other client now has write permission,
and the mailbox will need to be re-opened to re-obtain write permission.
--- 43,47 ----
\begin{excdesc}{IMAP4.readonly}
! This exception is raised when a writable mailbox has its status changed by the server. This is a
sub-class of \exception{IMAP4.error}. Some other client now has write permission,
and the mailbox will need to be re-opened to re-obtain write permission.
Index: libimp.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libimp.tex,v
retrieving revision 1.25
retrieving revision 1.26
diff -C2 -r1.25 -r1.26
*** libimp.tex 1999/06/10 22:08:16 1.25
--- libimp.tex 2000/07/16 19:01:09 1.26
***************
*** 53,57 ****
\code{None}, \var{filename} is the empty string, and the
\var{description} tuple contains empty strings for its suffix and
! mode; the module type is as indicate in parentheses dabove. If the
search is unsuccessful, \exception{ImportError} is raised. Other
exceptions indicate problems with the arguments or environment.
--- 53,57 ----
\code{None}, \var{filename} is the empty string, and the
\var{description} tuple contains empty strings for its suffix and
! mode; the module type is as indicate in parentheses above. If the
search is unsuccessful, \exception{ImportError} is raised. Other
exceptions indicate problems with the arguments or environment.
***************
*** 188,192 ****
used to construct the name of the initialization function: an external
C function called \samp{init\var{name}()} in the shared library is
! called. The optional \var{file} argment is ignored. (Note: using
shared libraries is highly system dependent, and not all systems
support it.)
--- 188,192 ----
used to construct the name of the initialization function: an external
C function called \samp{init\var{name}()} in the shared library is
! called. The optional \var{file} argument is ignored. (Note: using
shared libraries is highly system dependent, and not all systems
support it.)
Index: libintro.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libintro.tex,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** libintro.tex 2000/04/03 20:13:53 1.6
--- libintro.tex 2000/07/16 19:01:09 1.7
***************
*** 26,30 ****
interfaces that are
specific to a particular application domain, like the World-Wide Web.
! Some modules are avaiable in all versions and ports of Python; others
are only available when the underlying system supports or requires
them; yet others are available only when a particular configuration
--- 26,30 ----
interfaces that are
specific to a particular application domain, like the World-Wide Web.
! Some modules are available in all versions and ports of Python; others
are only available when the underlying system supports or requires
them; yet others are available only when a particular configuration
Index: liblocale.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/liblocale.tex,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -r1.16 -r1.17
*** liblocale.tex 1999/07/01 16:31:03 1.16
--- liblocale.tex 2000/07/16 19:01:09 1.17
***************
*** 259,263 ****
The \function{setlocale()} function in the \module{locale} module
! gives the Python progammer the impression that you can manipulate the
\constant{LC_NUMERIC} locale setting, but this not the case at the C
level: C code will always find that the \constant{LC_NUMERIC} locale
--- 259,263 ----
The \function{setlocale()} function in the \module{locale} module
! gives the Python programmer the impression that you can manipulate the
\constant{LC_NUMERIC} locale setting, but this not the case at the C
level: C code will always find that the \constant{LC_NUMERIC} locale
Index: libmarshal.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libmarshal.tex,v
retrieving revision 1.18
retrieving revision 1.19
diff -C2 -r1.18 -r1.19
*** libmarshal.tex 2000/04/06 14:47:20 1.18
--- libmarshal.tex 2000/07/16 19:01:09 1.19
***************
*** 20,24 ****
instance) and ``unmarshalling'' for the reverse process.}
! This is not a general ``persistency'' module. For general persistency
and transfer of Python objects through RPC calls, see the modules
\refmodule{pickle} and \refmodule{shelve}. The \module{marshal} module exists
--- 20,24 ----
instance) and ``unmarshalling'' for the reverse process.}
! This is not a general ``persistence'' module. For general persistence
and transfer of Python objects through RPC calls, see the modules
\refmodule{pickle} and \refmodule{shelve}. The \module{marshal} module exists
Index: libmd5.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libmd5.tex,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -r1.14 -r1.15
*** libmd5.tex 1999/04/23 22:03:00 1.14
--- libmd5.tex 2000/07/16 19:01:09 1.15
***************
*** 13,17 ****
\method{update()} method, and at any point you can ask it for the
\dfn{digest} (a strong kind of 128-bit checksum,
! a.k.a. ``fingerprint'') of the contatenation of the strings fed to it
so far using the \method{digest()} method.
\index{checksum!MD5}
--- 13,17 ----
\method{update()} method, and at any point you can ask it for the
\dfn{digest} (a strong kind of 128-bit checksum,
! a.k.a. ``fingerprint'') of the concatenation of the strings fed to it
so far using the \method{digest()} method.
\index{checksum!MD5}
Index: libmutex.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libmutex.tex,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** libmutex.tex 1999/06/29 14:57:12 1.2
--- libmutex.tex 2000/07/16 19:01:09 1.3
***************
*** 8,12 ****
The \module{mutex} defines a class that allows mutual-exclusion
! via aquiring and releasing locks. It does not require (or imply)
threading or multi-tasking, though it could be useful for
those purposes.
--- 8,12 ----
The \module{mutex} defines a class that allows mutual-exclusion
! via acquiring and releasing locks. It does not require (or imply)
threading or multi-tasking, though it could be useful for
those purposes.
***************
*** 28,32 ****
Of course, no multi-threading is implied -- hence the funny interface
! for lock, where a function is called once the lock is aquired.
\end{classdesc}
--- 28,32 ----
Of course, no multi-threading is implied -- hence the funny interface
! for lock, where a function is called once the lock is acquired.
\end{classdesc}
Index: libnetrc.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libnetrc.tex,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** libnetrc.tex 2000/04/03 20:13:53 1.6
--- libnetrc.tex 2000/07/16 19:01:09 1.7
***************
*** 15,19 ****
\begin{classdesc}{netrc}{\optional{file}}
! A \class{netrc} instance or subclass instance enapsulates data from
a netrc file. The initialization argument, if present, specifies the
file to parse. If no argument is given, the file \file{.netrc} in the
--- 15,19 ----
\begin{classdesc}{netrc}{\optional{file}}
! A \class{netrc} instance or subclass instance encapsulates data from
a netrc file. The initialization argument, if present, specifies the
file to parse. If no argument is given, the file \file{.netrc} in the
Index: libnis.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libnis.tex,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** libnis.tex 2000/04/03 20:13:53 1.3
--- libnis.tex 2000/07/16 19:01:09 1.4
***************
*** 20,24 ****
error (\exception{nis.error}) if there is none.
Both should be strings, \var{key} is 8-bit clean.
! Return value is an arbitary array of bytes (i.e., may contain \code{NULL}
and other joys).
--- 20,24 ----
error (\exception{nis.error}) if there is none.
Both should be strings, \var{key} is 8-bit clean.
! Return value is an arbitrary array of bytes (i.e., may contain \code{NULL}
and other joys).
***************
*** 29,33 ****
Return a dictionary mapping \var{key} to \var{value} such that
\code{match(\var{key}, \var{mapname})==\var{value}}.
! Note that both keys and values of the dictionary are arbitary
arrays of bytes.
--- 29,33 ----
Return a dictionary mapping \var{key} to \var{value} such that
\code{match(\var{key}, \var{mapname})==\var{value}}.
! Note that both keys and values of the dictionary are arbitrary
arrays of bytes.
Index: libos.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libos.tex,v
retrieving revision 1.43
retrieving revision 1.44
diff -C2 -r1.43 -r1.44
*** libos.tex 2000/07/13 01:26:58 1.43
--- libos.tex 2000/07/16 19:01:09 1.44
***************
*** 326,330 ****
\begin{funcdesc}{fpathconf}{fd, name}
! Return system configration information relevant to an open file.
\var{name} specifies the configuration value to retrieve; it may be a
string which is the name of a defined system value; these names are
--- 326,330 ----
\begin{funcdesc}{fpathconf}{fd, name}
! Return system configuration information relevant to an open file.
\var{name} specifies the configuration value to retrieve; it may be a
string which is the name of a defined system value; these names are
***************
*** 576,580 ****
\begin{funcdesc}{pathconf}{path, name}
! Return system configration information relevant to a named file.
\var{name} specifies the configuration value to retrieve; it may be a
string which is the name of a defined system value; these names are
--- 576,580 ----
\begin{funcdesc}{pathconf}{path, name}
! Return system configuration information relevant to a named file.
\var{name} specifies the configuration value to retrieve; it may be a
string which is the name of a defined system value; these names are
***************
*** 984,988 ****
! \subsection{Miscellanenous System Information \label{os-path}}
--- 984,988 ----
! \subsection{Miscellaneous System Information \label{os-path}}
Index: libpanel.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libpanel.tex,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -r1.9 -r1.10
*** libpanel.tex 1998/08/10 19:42:04 1.9
--- libpanel.tex 2000/07/16 19:01:09 1.10
***************
*** 65,69 ****
All access to it should be done through the standard module
\code{panel}\refstmodindex{panel},
! which transparantly exports most functions from
\code{pnl}
but redefines
--- 65,69 ----
All access to it should be done through the standard module
\code{panel}\refstmodindex{panel},
! which transparently exports most functions from
\code{pnl}
but redefines
Index: libparser.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libparser.tex,v
retrieving revision 1.35
retrieving revision 1.36
diff -C2 -r1.35 -r1.36
*** libparser.tex 2000/05/09 17:10:23 1.35
--- libparser.tex 2000/07/16 19:01:09 1.36
***************
*** 594,598 ****
Most of the accessor functions are declared in \class{SuiteInfoBase}
! and do not need to be overriden by subclasses. More importantly, the
extraction of most information from a parse tree is handled through a
method called by the \class{SuiteInfoBase} constructor. The example
--- 594,598 ----
Most of the accessor functions are declared in \class{SuiteInfoBase}
! and do not need to be overridden by subclasses. More importantly, the
extraction of most information from a parse tree is handled through a
method called by the \class{SuiteInfoBase} constructor. The example
***************
*** 685,689 ****
element defined is extracted and a representation object
appropriate to the definition is created with the defining subtree
! passed as an argument to the constructor. The repesentation objects
are stored in instance variables and may be retrieved by name using
the appropriate accessor methods.
--- 685,689 ----
element defined is extracted and a representation object
appropriate to the definition is created with the defining subtree
! passed as an argument to the constructor. The representation objects
are stored in instance variables and may be retrieved by name using
the appropriate accessor methods.
Index: libpdb.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libpdb.tex,v
retrieving revision 1.27
retrieving revision 1.28
diff -C2 -r1.27 -r1.28
*** libpdb.tex 2000/04/05 15:01:36 1.27
--- libpdb.tex 2000/07/16 19:01:10 1.28
***************
*** 154,158 ****
This is particularly useful for aliases. If both files exist, the one
in the home directory is read first and aliases defined there can be
! overriden by the local file.
\begin{description}
--- 154,158 ----
This is particularly useful for aliases. If both files exist, the one
in the home directory is read first and aliases defined there can be
! overridden by the local file.
\begin{description}
Index: libpickle.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libpickle.tex,v
retrieving revision 1.26
retrieving revision 1.27
diff -C2 -r1.26 -r1.27
*** libpickle.tex 2000/07/01 17:47:38 1.26
--- libpickle.tex 2000/07/16 19:01:10 1.27
***************
*** 6,10 ****
% Substantial improvements by Jim Kerr <jbkerr@sr.hp.com>.
! \index{persistency}
\indexii{persistent}{objects}
\indexii{serializing}{objects}
--- 6,10 ----
% Substantial improvements by Jim Kerr <jbkerr@sr.hp.com>.
! \index{persistence}
\indexii{persistent}{objects}
\indexii{serializing}{objects}
***************
*** 18,22 ****
nearly arbitrary Python objects. This is the act of converting
objects to a stream of bytes (and back: ``unpickling''). This is a
! more primitive notion than persistency --- although \module{pickle}
reads and writes file objects, it does not handle the issue of naming
persistent objects, nor the (even more complicated) area of concurrent
--- 18,22 ----
nearly arbitrary Python objects. This is the act of converting
objects to a stream of bytes (and back: ``unpickling''). This is a
! more primitive notion than persistence --- although \module{pickle}
reads and writes file objects, it does not handle the issue of naming
persistent objects, nor the (even more complicated) area of concurrent
***************
*** 93,97 ****
avoids the possibility of smuggling Trojan horses into a program.
! For the benefit of persistency modules written using \module{pickle}, it
supports the notion of a reference to an object outside the pickled
data stream. Such objects are referenced by a name, which is an
--- 93,97 ----
avoids the possibility of smuggling Trojan horses into a program.
! For the benefit of persistence modules written using \module{pickle}, it
supports the notion of a reference to an object outside the pickled
data stream. Such objects are referenced by a name, which is an
***************
*** 251,255 ****
\begin{funcdesc}{dump}{object, file\optional{, bin}}
! Write a pickled representation of \var{obect} to the open file object
\var{file}. This is equivalent to
\samp{Pickler(\var{file}, \var{bin}).dump(\var{object})}.
--- 251,255 ----
\begin{funcdesc}{dump}{object, file\optional{, bin}}
! Write a pickled representation of \var{object} to the open file object
\var{file}. This is equivalent to
\samp{Pickler(\var{file}, \var{bin}).dump(\var{object})}.
***************
*** 381,385 ****
The format of the pickle data is identical to that produced using the
\refmodule{pickle} module, so it is possible to use \refmodule{pickle} and
! \module{cPickle} interchangably with existing pickles.
(Since the pickle data format is actually a tiny stack-oriented
--- 381,385 ----
The format of the pickle data is identical to that produced using the
\refmodule{pickle} module, so it is possible to use \refmodule{pickle} and
! \module{cPickle} interchangeably with existing pickles.
(Since the pickle data format is actually a tiny stack-oriented
Index: libpipes.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libpipes.tex,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** libpipes.tex 1999/06/21 18:36:09 1.2
--- libpipes.tex 2000/07/16 19:01:10 1.3
***************
*** 63,67 ****
reads no input, and hence must be first.)
! Similarily, the second letter can be either of \code{'-'} (which means
the command writes to standard output), \code{'f'} (which means the
command writes a file on the command line) or \code{'.'} (which means
--- 63,67 ----
reads no input, and hence must be first.)
! Similarly, the second letter can be either of \code{'-'} (which means
the command writes to standard output), \code{'f'} (which means the
command writes a file on the command line) or \code{'.'} (which means
Index: libpoplib.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libpoplib.tex,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -r1.8 -r1.9
*** libpoplib.tex 2000/04/03 20:13:53 1.8
--- libpoplib.tex 2000/07/16 19:01:10 1.9
***************
*** 14,18 ****
This module defines a class, \class{POP3}, which encapsulates a
connection to an POP3 server and implements protocol as defined in
! \rfc{1725}. The \class{POP3} class supports both the minmal and
optional command sets.
--- 14,18 ----
This module defines a class, \class{POP3}, which encapsulates a
connection to an POP3 server and implements protocol as defined in
! \rfc{1725}. The \class{POP3} class supports both the minimal and
optional command sets.
***************
*** 47,51 ****
\begin{methoddesc}{user}{username}
! Send user commad, response should indicate that a password is required.
\end{methoddesc}
--- 47,51 ----
\begin{methoddesc}{user}{username}
! Send user command, response should indicate that a password is required.
\end{methoddesc}
Index: librotor.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/librotor.tex,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -r1.14 -r1.15
*** librotor.tex 1998/08/10 19:42:14 1.14
--- librotor.tex 2000/07/16 19:01:10 1.15
***************
*** 99,103 ****
The version implemented here is probably a good deal more difficult to crack
(especially if you use many rotors), but it won't be impossible for
! a truly skilful and determined attacker to break the cipher. So if you want
to keep the NSA out of your files, this rotor cipher may well be unsafe, but
for discouraging casual snooping through your files, it will probably be
--- 99,103 ----
The version implemented here is probably a good deal more difficult to crack
(especially if you use many rotors), but it won't be impossible for
! a truly skillful and determined attacker to break the cipher. So if you want
to keep the NSA out of your files, this rotor cipher may well be unsafe, but
for discouraging casual snooping through your files, it will probably be
Index: libsched.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libsched.tex,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** libsched.tex 2000/04/03 20:13:54 1.3
--- libsched.tex 2000/07/16 19:01:10 1.4
***************
*** 93,97 ****
If a sequence of events takes longer to run than the time available
before the next event, the scheduler will simply fall behind. No
! events will be dropped; the calling code is responsible for cancelling
events which are no longer pertinent.
\end{methoddesc}
--- 93,97 ----
If a sequence of events takes longer to run than the time available
before the next event, the scheduler will simply fall behind. No
! events will be dropped; the calling code is responsible for canceling
events which are no longer pertinent.
\end{methoddesc}
Index: libsgmllib.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libsgmllib.tex,v
retrieving revision 1.19
retrieving revision 1.20
diff -C2 -r1.19 -r1.20
*** libsgmllib.tex 2000/07/03 14:32:04 1.19
--- libsgmllib.tex 2000/07/16 19:01:10 1.20
***************
*** 35,39 ****
SGML comments of the form \samp{<!--\var{text}-->}. Note that
spaces, tabs, and newlines are allowed between the trailing
! \samp{>} and the immediately preceeding \samp{--}.
\end{itemize}
--- 35,39 ----
SGML comments of the form \samp{<!--\var{text}-->}. Note that
spaces, tabs, and newlines are allowed between the trailing
! \samp{>} and the immediately preceding \samp{--}.
\end{itemize}
Index: libsha.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libsha.tex,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** libsha.tex 1999/11/09 20:10:01 1.2
--- libsha.tex 2000/07/16 19:01:10 1.3
***************
*** 12,16 ****
to create an sha object, then feed this object with arbitrary strings
using the \method{update()} method, and at any point you can ask it
! for the \dfn{digest} of the contatenation of the strings fed to it
so far.\index{checksum!SHA} SHA digests are 160 bits instead of 128
bits.
--- 12,16 ----
to create an sha object, then feed this object with arbitrary strings
using the \method{update()} method, and at any point you can ask it
! for the \dfn{digest} of the concatenation of the strings fed to it
so far.\index{checksum!SHA} SHA digests are 160 bits instead of 128
bits.
Index: libshelve.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libshelve.tex,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -r1.13 -r1.14
*** libshelve.tex 1999/04/22 21:23:22 1.13
--- libshelve.tex 2000/07/16 19:01:10 1.14
***************
*** 1,7 ****
\section{\module{shelve} ---
! Python object persistency}
\declaremodule{standard}{shelve}
! \modulesynopsis{Python object persistency.}
--- 1,7 ----
\section{\module{shelve} ---
! Python object persistence}
\declaremodule{standard}{shelve}
! \modulesynopsis{Python object persistence.}
Index: libshlex.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libshlex.tex,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -r1.8 -r1.9
*** libshlex.tex 2000/07/03 09:56:23 1.8
--- libshlex.tex 2000/07/16 19:01:10 1.9
***************
*** 22,26 ****
argument is a filename string, which sets the initial value of the
\member{infile} member. If the stream argument is omitted or
! equal to \code{sys.stdin}, this second argument defauilts to ``stdin''.
\end{classdesc}
--- 22,26 ----
argument is a filename string, which sets the initial value of the
\member{infile} member. If the stream argument is omitted or
! equal to \code{sys.stdin}, this second argument defaults to ``stdin''.
\end{classdesc}
Index: libsignal.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libsignal.tex,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -r1.17 -r1.18
*** libsignal.tex 1999/03/25 20:29:59 1.17
--- libsignal.tex 2000/07/16 19:01:10 1.18
***************
*** 57,61 ****
Python \module{signal} module, even if the underlying thread
implementation supports sending signals to individual threads). This
! means that signals can't be used as a means of interthread
communication. Use locks instead.
--- 57,61 ----
Python \module{signal} module, even if the underlying thread
implementation supports sending signals to individual threads). This
! means that signals can't be used as a means of inter-thread
communication. Use locks instead.
Index: libsmtplib.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libsmtplib.tex,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -r1.14 -r1.15
*** libsmtplib.tex 2000/04/05 22:12:06 1.14
--- libsmtplib.tex 2000/07/16 19:01:10 1.15
***************
*** 57,61 ****
\begin{excdesc}{SMTPRecipientsRefused}
All recipient addresses refused. The errors for each recipient are
! accessable through the attribute \member{recipients}, which is a
dictionary of exactly the same sort as \method{SMTP.sendmail()}
returns.
--- 57,61 ----
\begin{excdesc}{SMTPRecipientsRefused}
All recipient addresses refused. The errors for each recipient are
! accessible through the attribute \member{recipients}, which is a
dictionary of exactly the same sort as \method{SMTP.sendmail()}
returns.
Index: libsomeos.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libsomeos.tex,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -r1.7 -r1.8
*** libsomeos.tex 1998/07/23 17:59:08 1.7
--- libsomeos.tex 2000/07/16 19:01:10 1.8
***************
*** 4,8 ****
The modules described in this chapter provide interfaces to operating
system features that are available on selected operating systems only.
! The interfaces are generally modelled after the \UNIX{} or \C{}
interfaces but they are available on some other systems as well
(e.g. Windows or NT). Here's an overview:
--- 4,8 ----
The modules described in this chapter provide interfaces to operating
system features that are available on selected operating systems only.
! The interfaces are generally modeled after the \UNIX{} or \C{}
interfaces but they are available on some other systems as well
(e.g. Windows or NT). Here's an overview:
Index: libstatvfs.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libstatvfs.tex,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** libstatvfs.tex 2000/04/03 20:13:54 1.2
--- libstatvfs.tex 2000/07/16 19:01:10 1.3
***************
*** 48,52 ****
\begin{datadesc}{F_FLAG}
! Flags. System dependant: see \cfunction{statvfs()} man page.
\end{datadesc}
--- 48,52 ----
\begin{datadesc}{F_FLAG}
! Flags. System dependent: see \cfunction{statvfs()} man page.
\end{datadesc}
Index: libstdwin.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libstdwin.tex,v
retrieving revision 1.22
retrieving revision 1.23
diff -C2 -r1.22 -r1.23
*** libstdwin.tex 1999/11/09 19:44:44 1.22
--- libstdwin.tex 2000/07/16 19:01:10 1.23
***************
*** 260,264 ****
Return the number of characters of the string that fit into a space of
\var{width}
! bits wide when drawn in the curent font.
\end{funcdesc}
--- 260,264 ----
Return the number of characters of the string that fit into a space of
\var{width}
! bits wide when drawn in the current font.
\end{funcdesc}
Index: libsunau.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libsunau.tex,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** libsunau.tex 1999/06/23 13:33:39 1.1
--- libsunau.tex 2000/07/16 19:01:10 1.2
***************
*** 96,100 ****
The following two methods define a term ``position'' which is compatible
! between them, and is otherwise implementation dependant.
\begin{methoddesc}[AU_read]{setpos}{pos}
--- 96,100 ----
The following two methods define a term ``position'' which is compatible
! between them, and is otherwise implementation dependent.
\begin{methoddesc}[AU_read]{setpos}{pos}
Index: libsymbol.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libsymbol.tex,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** libsymbol.tex 1999/02/20 00:14:14 1.6
--- libsymbol.tex 2000/07/16 19:01:10 1.7
***************
*** 10,14 ****
internal nodes of the parse tree. Unlike most Python constants, these
use lower-case names. Refer to the file \file{Grammar/Grammar} in the
! Python distribution for the defintions of the names in the context of
the language grammar. The specific numeric values which the names map
to may change between Python versions.
--- 10,14 ----
internal nodes of the parse tree. Unlike most Python constants, these
use lower-case names. Refer to the file \file{Grammar/Grammar} in the
! Python distribution for the definitions of the names in the context of
the language grammar. The specific numeric values which the names map
to may change between Python versions.
Index: libtelnetlib.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libtelnetlib.tex,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** libtelnetlib.tex 2000/05/03 15:11:47 1.5
--- libtelnetlib.tex 2000/07/16 19:01:10 1.6
***************
*** 141,145 ****
compiled (\class{re.RegexObject} instances) or uncompiled (strings).
The optional second argument is a timeout, in seconds; the default
! is to block indefinately.
Return a tuple of three items: the index in the list of the
--- 141,145 ----
compiled (\class{re.RegexObject} instances) or uncompiled (strings).
The optional second argument is a timeout, in seconds; the default
! is to block indefinitely.
Return a tuple of three items: the index in the list of the
***************
*** 154,158 ****
If a regular expression ends with a greedy match (e.g. \regexp{.*})
or if more than one expression can match the same input, the
! results are undeterministic, and may depend on the I/O timing.
\end{methoddesc}
--- 154,158 ----
If a regular expression ends with a greedy match (e.g. \regexp{.*})
or if more than one expression can match the same input, the
! results are indeterministic, and may depend on the I/O timing.
\end{methoddesc}
Index: libtempfile.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libtempfile.tex,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -r1.15 -r1.16
*** libtempfile.tex 2000/06/30 16:06:19 1.15
--- libtempfile.tex 2000/07/16 19:01:10 1.16
***************
*** 27,31 ****
Return a file (or file-like) object that can be used as a temporary
storage area. The file is created in the most secure manner available
! in the appporpriate temporary directory for the host platform. Under
\UNIX, the directory entry to the file is removed so that it is secure
against attacks which involve creating symbolic links to the file or
--- 27,31 ----
Return a file (or file-like) object that can be used as a temporary
storage area. The file is created in the most secure manner available
! in the appropriate temporary directory for the host platform. Under
\UNIX, the directory entry to the file is removed so that it is secure
against attacks which involve creating symbolic links to the file or
Index: libtime.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libtime.tex,v
retrieving revision 1.32
retrieving revision 1.33
diff -C2 -r1.32 -r1.33
*** libtime.tex 2000/07/06 18:09:02 1.32
--- libtime.tex 2000/07/16 19:01:10 1.33
***************
*** 87,91 ****
\lineiii{4}{minute}{range [0,59]}
\lineiii{5}{second}{range [0,61]; see \strong{(1)} in \function{strftime()} description}
! \lineiii{6}{weekday}{range [0,6], monday is 0}
\lineiii{7}{Julian day}{range [1,366]}
\lineiii{8}{daylight savings flag}{0, 1 or -1; see below}
--- 87,91 ----
\lineiii{4}{minute}{range [0,59]}
\lineiii{5}{second}{range [0,61]; see \strong{(1)} in \function{strftime()} description}
! \lineiii{6}{weekday}{range [0,6], Monday is 0}
\lineiii{7}{Julian day}{range [1,366]}
\lineiii{8}{daylight savings flag}{0, 1 or -1; see below}
***************
*** 126,130 ****
\begin{funcdesc}{clock}{}
Return the current CPU time as a floating point number expressed in
! seconds. The precision, and in fact the very definiton of the meaning
of ``CPU time''\index{CPU time}, depends on that of the C function
of the same name, but in any case, this is the function to use for
--- 126,130 ----
\begin{funcdesc}{clock}{}
Return the current CPU time as a floating point number expressed in
! seconds. The precision, and in fact the very definition of the meaning
of ``CPU time''\index{CPU time}, depends on that of the C function
of the same name, but in any case, this is the function to use for
Index: libtoken.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libtoken.tex,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** libtoken.tex 1999/02/20 00:14:15 1.6
--- libtoken.tex 2000/07/16 19:01:10 1.7
***************
*** 9,13 ****
This module provides constants which represent the numeric values of
leaf nodes of the parse tree (terminal tokens). Refer to the file
! \file{Grammar/Grammar} in the Python distribution for the defintions
of the names in the context of the language grammar. The specific
numeric values which the names map to may change between Python
--- 9,13 ----
This module provides constants which represent the numeric values of
leaf nodes of the parse tree (terminal tokens). Refer to the file
! \file{Grammar/Grammar} in the Python distribution for the definitions
of the names in the context of the language grammar. The specific
numeric values which the names map to may change between Python
Index: libtraceback.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libtraceback.tex,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -r1.12 -r1.13
*** libtraceback.tex 1999/06/29 17:08:41 1.12
--- libtraceback.tex 2000/07/16 19:01:10 1.13
***************
*** 105,109 ****
\function{print_exception()}. The return value is a list of strings,
each ending in a newline and some containing internal newlines. When
! these lines are contatenated and printed, exactly the same text is
printed as does \function{print_exception()}.
\end{funcdesc}
--- 105,109 ----
\function{print_exception()}. The return value is a list of strings,
each ending in a newline and some containing internal newlines. When
! these lines are concatenated and printed, exactly the same text is
printed as does \function{print_exception()}.
\end{funcdesc}
Index: libundoc.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libundoc.tex,v
retrieving revision 1.74
retrieving revision 1.75
diff -C2 -r1.74 -r1.75
*** libundoc.tex 2000/06/30 16:06:19 1.74
--- libundoc.tex 2000/07/16 19:01:10 1.75
***************
*** 135,139 ****
\item[\module{lockfile}]
--- wrapper around FCNTL file locking (use
! \function{fcntl.lockf()}/\function{flock()} intead; see \refmodule{fcntl})
\item[\module{newdir}]
--- 135,139 ----
\item[\module{lockfile}]
--- wrapper around FCNTL file locking (use
! \function{fcntl.lockf()}/\function{flock()} instead; see \refmodule{fcntl})
\item[\module{newdir}]
Index: liburllib.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/liburllib.tex,v
retrieving revision 1.22
retrieving revision 1.23
diff -C2 -r1.22 -r1.23
*** liburllib.tex 2000/05/30 14:39:45 1.22
--- liburllib.tex 2000/07/16 19:01:10 1.23
***************
*** 262,266 ****
\class{URLopener} and \class{FancyURLopener} objects have the
! following methodsL
\begin{methoddesc}{open}{fullurl\optional{, data}}
--- 262,266 ----
\class{URLopener} and \class{FancyURLopener} objects have the
! following methods.
\begin{methoddesc}{open}{fullurl\optional{, data}}
Index: liburlparse.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/liburlparse.tex,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -r1.15 -r1.16
*** liburlparse.tex 1998/08/10 19:42:31 1.15
--- liburlparse.tex 2000/07/16 19:01:10 1.16
***************
*** 13,17 ****
This module defines a standard interface to break URL strings up in
! components (addessing scheme, network location, path etc.), to combine
the components back into a URL string, and to convert a ``relative
URL'' to an absolute URL given a ``base URL.''
--- 13,17 ----
This module defines a standard interface to break URL strings up in
! components (addressing scheme, network location, path etc.), to combine
the components back into a URL string, and to convert a ``relative
URL'' to an absolute URL given a ``base URL.''
Index: libuser.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libuser.tex,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -r1.14 -r1.15
*** libuser.tex 1999/02/20 00:14:16 1.14
--- libuser.tex 2000/07/16 19:01:10 1.15
***************
*** 24,28 ****
The \module{user} module looks for a file \file{.pythonrc.py} in the user's
! home directory and if it can be opened, exececutes it (using
\function{execfile()}\bifuncindex{execfile}) in its own (i.e. the
module \module{user}'s) global namespace. Errors during this phase
--- 24,28 ----
The \module{user} module looks for a file \file{.pythonrc.py} in the user's
! home directory and if it can be opened, executes it (using
\function{execfile()}\bifuncindex{execfile}) in its own (i.e. the
module \module{user}'s) global namespace. Errors during this phase
Index: libuserdict.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libuserdict.tex,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -r1.14 -r1.15
*** libuserdict.tex 2000/04/03 15:02:35 1.14
--- libuserdict.tex 2000/07/16 19:01:10 1.15
***************
*** 9,17 ****
your own dictionary-like classes, which can inherit from
them and override existing methods or add new ones. In this way one
! can add new behaviours to dictionaries.
The \module{UserDict} module defines the \class{UserDict} class:
! \begin{classdesc}{UserDict}{\optional{intialdata}}
Return a class instance that simulates a dictionary. The instance's
contents are kept in a regular dictionary, which is accessible via the
--- 9,17 ----
your own dictionary-like classes, which can inherit from
them and override existing methods or add new ones. In this way one
! can add new behaviors to dictionaries.
The \module{UserDict} module defines the \class{UserDict} class:
! \begin{classdesc}{UserDict}{\optional{initialdata}}
Return a class instance that simulates a dictionary. The instance's
contents are kept in a regular dictionary, which is accessible via the
***************
*** 43,47 ****
your own list-like classes, which can inherit from
them and override existing methods or add new ones. In this way one
! can add new behaviours to lists.
The \module{UserList} module defines the \class{UserList} class:
--- 43,47 ----
your own list-like classes, which can inherit from
them and override existing methods or add new ones. In this way one
! can add new behaviors to lists.
The \module{UserList} module defines the \class{UserList} class:
***************
*** 78,82 ****
your own string-like classes, which can inherit from
them and override existing methods or add new ones. In this way one
! can add new behaviours to strings.
The \module{UserString} module defines the \class{UserString} class:
--- 78,82 ----
your own string-like classes, which can inherit from
them and override existing methods or add new ones. In this way one
! can add new behaviors to strings.
The \module{UserString} module defines the \class{UserString} class:
***************
*** 110,113 ****
\function{__hash__} method in order to trap attempts to use a
mutable object as dictionary key, which would be otherwise very
! errorprone and hard to track down.
\end{classdesc}
--- 110,113 ----
\function{__hash__} method in order to trap attempts to use a
mutable object as dictionary key, which would be otherwise very
! error prone and hard to track down.
\end{classdesc}
Index: libwave.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libwave.tex,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** libwave.tex 1999/12/21 18:31:30 1.3
--- libwave.tex 2000/07/16 19:01:10 1.4
***************
*** 103,107 ****
The following two methods define a term ``position'' which is compatible
! between them, and is otherwise implementation dependant.
\begin{methoddesc}[Wave_read]{setpos}{pos}
--- 103,107 ----
The following two methods define a term ``position'' which is compatible
! between them, and is otherwise implementation dependent.
\begin{methoddesc}[Wave_read]{setpos}{pos}
Index: libwinsound.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libwinsound.tex,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** libwinsound.tex 1999/10/22 21:08:56 1.4
--- libwinsound.tex 2000/07/16 19:01:10 1.5
***************
*** 54,58 ****
\strong{Note:} This module does not support playing from a memory
! image asynchonously, so a combination of this flag and
\constant{SND_ASYNC} will raise a \exception{RuntimeError}.
\end{datadesc}
--- 54,58 ----
\strong{Note:} This module does not support playing from a memory
! image asynchronously, so a combination of this flag and
\constant{SND_ASYNC} will raise a \exception{RuntimeError}.
\end{datadesc}
Index: libxmllib.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libxmllib.tex,v
retrieving revision 1.23
retrieving revision 1.24
diff -C2 -r1.23 -r1.24
*** libxmllib.tex 2000/07/06 04:45:14 1.23
--- libxmllib.tex 2000/07/16 19:01:10 1.24
***************
*** 198,202 ****
\var{message} is a description of what was wrong. The default method
raises a \exception{RuntimeError} exception. If this method is
! overridden, it is permissable for it to return. This method is only
called when the error can be recovered from. Unrecoverable errors
raise a \exception{RuntimeError} without first calling
--- 198,202 ----
\var{message} is a description of what was wrong. The default method
raises a \exception{RuntimeError} exception. If this method is
! overridden, it is permissible for it to return. This method is only
called when the error can be recovered from. Unrecoverable errors
raise a \exception{RuntimeError} without first calling