cpython/Doc/lib
Guido van Rossum 77f6a65eb0 Add the 'bool' type and its values 'False' and 'True', as described in
PEP 285.  Everything described in the PEP is here, and there is even
some documentation.  I had to fix 12 unit tests; all but one of these
were printing Boolean outcomes that changed from 0/1 to False/True.
(The exception is test_unicode.py, which did a type(x) == type(y)
style comparison.  I could've fixed that with a single line using
issubtype(x, type(y)), but instead chose to be explicit about those
places where a bool is expected.

Still to do: perhaps more documentation; change standard library
modules to return False/True from predicates.
2002-04-03 22:41:51 +00:00
..
.cvsignore Updates to reflect pending changes to the XML conversion process. 2000-11-22 16:42:37 +00:00
asttable.tex Migrate the compiler documentation from the Tools/compiler/doc/ directory. 2001-09-27 20:06:07 +00:00
compiler.tex Update docs to reflect new compile() and compileFile() 2001-12-04 02:48:52 +00:00
distutils.tex Overview comments for the distutils package, with links to the distutils 2001-07-24 16:19:24 +00:00
email.tex The "%" character does not need to be escaped in verbatim environments. 2002-02-15 04:12:59 +00:00
emailencoders.tex Updates do email package documentation for markup, style, and 2001-09-26 22:21:52 +00:00
emailexc.tex Updates do email package documentation for markup, style, and 2001-09-26 22:21:52 +00:00
emailgenerator.tex Minor grammar and typo fixes 2001-11-05 01:55:03 +00:00
emailiter.tex Updates do email package documentation for markup, style, and 2001-09-26 22:21:52 +00:00
emailmessage.tex Minor grammar and typo fixes 2001-11-05 01:55:03 +00:00
emailparser.tex Grammar tweak. 2002-02-22 21:24:32 +00:00
emailutil.tex Updated the documentation for formatdate(). 2001-11-09 17:08:13 +00:00
internet.tex Minor changes to match the style guide. 2001-07-14 02:50:55 +00:00
language.tex
lib.tex Add entry for the pydoc documentation. 2001-12-18 16:32:30 +00:00
libaifc.tex Fix up a few style nits -- avoid "e.g." and "i.e." -- these make 2001-07-06 19:28:48 +00:00
libal.tex Use the \note and \warning macros where appropriate. 2001-10-20 04:24:09 +00:00
liballos.tex
libamoeba.tex Clean up some markup cruft. A number of the macros that take no 2001-11-28 07:26:15 +00:00
libanydbm.tex Revise description of dumbdbm.open() to reflect that the flag argument is 2001-12-07 21:56:13 +00:00
libarray.tex Fix up the documentation of the type codes to give both the C and Python 2002-04-01 23:05:10 +00:00
libascii.tex Work around limitations of the module synopsis table generation to avoid 2001-05-09 15:50:17 +00:00
libasyncore.tex added handle_error method description 2002-01-31 17:32:24 +00:00
libatexit.tex
libaudioop.tex For ratecv, document that None should be the initial state argument (when 2001-12-06 23:16:09 +00:00
libbase64.tex Clean up some markup cruft. A number of the macros that take no 2001-11-28 07:26:15 +00:00
libbasehttp.tex Patch #430706: Persistent connections in BaseHTTPServer. 2002-03-17 18:37:22 +00:00
libbastion.tex
libbinascii.tex Clean up some markup cruft. A number of the macros that take no 2001-11-28 07:26:15 +00:00
libbinhex.tex Added description of binhex.Error. 2002-03-25 16:37:56 +00:00
libbisect.tex Fix up a few style nits -- avoid "e.g." and "i.e." -- these make 2001-07-06 19:28:48 +00:00
libbltin.tex
libbsddb.tex Update explanation of the set_location() method to indicate that in 2001-01-05 06:44:19 +00:00
libcalendar.tex Document that isleap() returns exactly 1 or 0, which is guaranteed by the 2001-12-12 05:40:46 +00:00
libcd.tex
libcfgparser.tex Describe the behavior of the read() method when the list of filenames 2001-12-07 21:35:57 +00:00
libcgi.tex Re-commit Ping's patch to the cgi and cgitb documentation, using the 2001-12-20 17:13:09 +00:00
libcgihttp.tex Update the platform notes for the CGIHTTPServer module; it works on more 2001-11-19 05:16:35 +00:00
libcgitb.tex Re-commit Ping's patch to the cgi and cgitb documentation, using the 2001-12-20 17:13:09 +00:00
libchunk.tex
libcmath.tex Contributed updates from Harald Hanche-Olsen, giving details of the branch 2001-06-23 03:16:29 +00:00
libcmd.tex Elaborate the descriptions for onecmd(), precmd(), and postcmd() so they are 2001-12-27 05:10:18 +00:00
libcmp.tex Removed references to Python 1.5.3; that was a "tentative" number I used 2001-01-25 17:29:18 +00:00
libcmpcache.tex Use the \note and \warning macros where appropriate. 2001-10-20 04:24:09 +00:00
libcode.tex Docs for the PEP 264 changes. 2001-08-27 20:02:17 +00:00
libcodecs.tex Use the \note and \warning macros where appropriate. 2001-10-20 04:24:09 +00:00
libcodeop.tex Fix a number of minor markup errors, and improve the consistency a bit. 2001-08-28 14:25:03 +00:00
libcolorsys.tex
libcommands.tex
libcompileall.tex Patch #495598: add an -q (quiet) option to pycompile. 2002-03-18 12:44:08 +00:00
libcookie.tex Toughen up the security warnings a bit. 2001-11-16 22:28:17 +00:00
libcopy.tex
libcopyreg.tex Clarify that copy_reg.pickle() is not intended for use with "classic" classes. 2002-03-19 03:33:33 +00:00
libcrypt.tex Work around limitations of the module synopsis table generation to avoid 2001-05-09 15:50:17 +00:00
libcrypto.tex Update URL, and remove e-mail address reference (readers can get it from 2001-11-05 21:30:10 +00:00
libcurses.tex Fix wrongly-named formal parameters in three places: begin_y was used twice 2001-12-26 22:08:44 +00:00
libcursespanel.tex Update obsolete e-mail address 2001-11-05 21:31:33 +00:00
libdbhash.tex Remove duplicate ', ' in dbhash.open()'s argument list. 2001-06-27 13:49:59 +00:00
libdbm.tex
libdifflib.tex writeline() --> writelines() 2001-11-29 19:04:50 +00:00
libdircache.tex Update Moshe Zadka's email address to one works and might last a while. 2000-12-01 15:25:23 +00:00
libdis.tex Add documentation on the hasfree data object. 2002-03-28 19:34:53 +00:00
libdl.tex Clean up some markup cruft. A number of the macros that take no 2001-11-28 07:26:15 +00:00
libdoctest.tex CVS patch [#466628] Doc changes for doctest patch (#466616), from 2001-10-02 21:01:22 +00:00
liberrno.tex
libexcs.tex Minor wording change. 2002-03-28 21:06:17 +00:00
libfcntl.tex Clarify that on some systems, lockf() using LOCK_EX requires that the file 2001-11-28 07:48:32 +00:00
libfilecmp.tex SF# 522426, add doc for common parameter for filecmp.cmpfiles() 2002-03-20 18:55:09 +00:00
libfileinput.tex Note that when inplace=1 existing backup files will be removed silently. 2001-05-09 03:24:55 +00:00
libfl.tex Minor changes to match the style guide. 2001-07-14 02:50:55 +00:00
libfm.tex
libfnmatch.tex Clean up some markup cruft. A number of the macros that take no 2001-11-28 07:26:15 +00:00
libformatter.tex "boolean" --> "Boolean" (per the style guide). 2001-10-01 17:04:10 +00:00
libfpectl.tex The fpectl module does not work on Windows, so remove Windows from the 2001-07-05 21:17:08 +00:00
libfpformat.tex Use the \note and \warning macros where appropriate. 2001-10-20 04:24:09 +00:00
libftplib.tex SF patch #497420 (Eduardo Pérez): ftplib: ftp anonymous password 2001-12-28 20:54:28 +00:00
libfuncs.tex Add the 'bool' type and its values 'False' and 'True', as described in 2002-04-03 22:41:51 +00:00
libgc.tex Document that get_referrers can return unreachable but uncollected objects. 2002-01-26 20:11:50 +00:00
libgdbm.tex Add support for gdbm2 open flags ('s' and 'u'). Add module constant 2000-12-17 07:14:13 +00:00
libgetopt.tex Use the \note and \warning macros where appropriate. 2001-10-20 04:24:09 +00:00
libgetpass.tex Clean up some markup cruft. A number of the macros that take no 2001-11-28 07:26:15 +00:00
libgettext.tex Add a per-message fallback mechanism for translations. 2002-01-11 06:58:49 +00:00
libgl.tex Use the \note and \warning macros where appropriate. 2001-10-20 04:24:09 +00:00
libglob.tex
libgopherlib.tex
libgrp.tex Patch #523268, #522027: return enhanced tuples. 2002-03-01 10:38:44 +00:00
libgzip.tex Patch #448474: Add support for tell() and seek() to gzip.GzipFile. 2001-08-09 07:21:56 +00:00
libhmac.tex Documentation for the new hmac module, contributed by Gerhard Häring. 2001-09-11 16:56:09 +00:00
libhtmllib.tex Added more information on the differences between the htmllib and HTMLParser 2001-07-05 16:34:36 +00:00
libhtmlparser.tex Added more information on the differences between the htmllib and HTMLParser 2001-07-05 16:34:36 +00:00
libhttplib.tex document InvalidURL exception 2002-03-24 16:55:57 +00:00
libimageop.tex
libimaplib.tex add SSL class submitted by Tino Lange 2002-03-08 01:53:24 +00:00
libimgfile.tex
libimghdr.tex
libimp.tex Add a new function imp.lock_held(), and use it to skip test_threaded_import 2001-08-30 05:16:13 +00:00
libinspect.tex Add change notes where im_class is discussed, since the exact meaning changes 2001-12-07 23:13:53 +00:00
libintro.tex Minor changes to match the style guide. 2001-07-14 02:50:55 +00:00
libjpeg.tex Convert several \seetext references to \seerfc and \seetitle versions. 2001-04-12 16:47:17 +00:00
libkeyword.tex Add keyword.kwlist to the public API. 2002-01-24 16:38:53 +00:00
liblinecache.tex Show '\011', '\012', and '\015' as '\t', '\n', '\r' in strings. 2001-01-24 17:19:08 +00:00
liblocale.tex Minor consistency adjustments. 2002-03-28 12:40:45 +00:00
libmailbox.tex Clean up some markup cruft. A number of the macros that take no 2001-11-28 07:26:15 +00:00
libmailcap.tex Clean up some of the markup here -- be more consistent in the use of 2001-08-08 05:39:29 +00:00
libmain.tex
libmarshal.tex A few minor updates to make it clear(er) that pickle should be used 2001-11-15 23:55:12 +00:00
libmath.tex Do not talk about "real" numbers; talk about "floats" or "floating point 2000-12-18 13:50:24 +00:00
libmd5.tex [Patch #476612] Change docs to describe PEP247 interface 2001-11-02 21:44:09 +00:00
libmhlib.tex
libmimetools.tex Apply the new \mailheader macro where appropriate, and fix a few small 2001-08-03 18:39:36 +00:00
libmimetypes.tex Applying proposed patch for bug #474583, optional support for 2001-10-25 21:49:18 +00:00
libmimewriter.tex
libmimify.tex Fix up a few style nits -- avoid "e.g." and "i.e." -- these make 2001-07-06 19:28:48 +00:00
libmisc.tex
libmm.tex
libmmap.tex Re-word the intro slightly to avoid reader misunderstanding: strings are not 2001-12-03 18:27:22 +00:00
libmpz.tex Mark the mpz module deprecated as of Python 2.2. 2001-12-16 01:54:55 +00:00
libmsvcrt.tex Update information on the locking() function, added the needed constants. 2000-12-14 03:11:24 +00:00
libmultifile.tex Re-order some method descriptions for a more logical grouping. 2001-03-08 22:46:41 +00:00
libmutex.tex Added missing word; fixed minor nits. 2001-01-09 20:54:15 +00:00
libnetrc.tex Update documentation to reflect the shift to NetrcParseError instead of 2001-03-06 06:55:18 +00:00
libnew.tex There's no need for typechecks on the second and third argument of 2002-01-15 19:21:05 +00:00
libni.tex
libnis.tex Fix up a few style nits -- avoid "e.g." and "i.e." -- these make 2001-07-06 19:28:48 +00:00
libnntplib.tex changed misleading argument name 2001-10-18 20:58:25 +00:00
libobjs.tex Promote built-in functions to come before built-in types. 2001-10-30 06:22:02 +00:00
liboperator.tex Use the \note and \warning macros where appropriate. 2001-10-20 04:24:09 +00:00
libos.tex Explain that os.spawn*() return the process handle on Windows. 2002-04-01 23:30:47 +00:00
libpanel.tex Use the \note and \warning macros where appropriate. 2001-10-20 04:24:09 +00:00
libparser.tex "boolean" --> "Boolean" (per the style guide). 2001-10-01 17:04:10 +00:00
libpdb.tex Admit that we'll never add the args for a "call" event to the profile 2001-09-13 16:56:43 +00:00
libpickle.tex Add more example exceptions that unpickling can raise. 2002-03-22 22:16:03 +00:00
libpipes.tex Work around limitations of the module synopsis table generation to avoid 2001-05-09 15:50:17 +00:00
libpopen2.tex Document clearly that the only way to retrieve the return code from the 2001-09-11 19:56:51 +00:00
libpoplib.tex Re-enabled debugging prints in poplib & documented the set_debuglevel() 2001-12-05 22:37:21 +00:00
libposix.tex Clean up some markup cruft. A number of the macros that take no 2001-11-28 07:26:15 +00:00
libposixfile.tex Clean up some markup cruft. A number of the macros that take no 2001-11-28 07:26:15 +00:00
libposixpath.tex Clean up some markup cruft. A number of the macros that take no 2001-11-28 07:26:15 +00:00
libpprint.tex Add an experimental mechanism to support extending the pprint formatting. 2002-04-02 05:08:35 +00:00
libprofile.tex A copy-and-paste job forget the "paste" half. 2001-10-09 20:54:23 +00:00
libpty.tex Update Moshe Zadka's email address to one works and might last a while. 2000-12-01 15:25:23 +00:00
libpwd.tex Patch #523268, #522027: return enhanced tuples. 2002-03-01 10:47:37 +00:00
libpyclbr.tex
libpycompile.tex
libpydoc.tex Add documentation for the pydoc module; contributed by Ka-Ping Yee. 2001-12-18 16:31:44 +00:00
libpyexpat.tex Remove obsolete e-mail address 2001-11-05 21:31:15 +00:00
libpython.tex
libqueue.tex
libquopri.tex Patch #462190, patch #464070: Support quoted printable in the binascii module. 2001-09-30 20:32:11 +00:00
librand.tex Make all the \seemodule explanations consistent: start with a capitalized 2000-10-18 17:43:06 +00:00
librandom.tex Fix a number of minor markup errors. 2001-04-21 05:56:06 +00:00
libre.tex Document the finditer() function and method. 2002-03-25 20:22:59 +00:00
libreadline.tex SF patch #443759: Add Interface to readline's add_history 2001-10-19 01:18:43 +00:00
libregex.tex
libregsub.tex
librepr.tex
libresource.tex Clarify that the resource module does not attempt to mask platform 2001-10-22 14:18:23 +00:00
librestricted.tex Update a couple of old addresses that point to CNRI. 2001-10-04 20:40:07 +00:00
librexec.tex Use the \note and \warning macros where appropriate. 2001-10-20 04:24:09 +00:00
librfc822.tex Fix minor typo reported in SF patch #497951. 2002-01-05 01:52:41 +00:00
librgbimg.tex Add a note that the rgbimg module is only built on 32-bit machines (prompted 2001-12-04 16:49:00 +00:00
librlcompleter.tex Usage fix, problem reported by Keith Briggs. 2001-08-10 16:15:08 +00:00
librobotparser.tex Adjust the module synopsis to avoid margin overruns in the PDF format. 2001-11-06 22:14:35 +00:00
librotor.tex Show '\011', '\012', and '\015' as '\t', '\n', '\r' in strings. 2001-01-24 17:19:08 +00:00
libsched.tex When explaining the enterabs() method, using the modern spelling of apply(), 2001-07-23 19:28:09 +00:00
libselect.tex Clean up some markup cruft. A number of the macros that take no 2001-11-28 07:26:15 +00:00
libsgi.tex
libsgmllib.tex Added more information on the differences between the htmllib and HTMLParser 2001-07-05 16:34:36 +00:00
libsha.tex [Patch #476612] Change docs to describe PEP247 interface 2001-11-02 21:44:09 +00:00
libshelve.tex
libshlex.tex Work around limitations of the module synopsis table generation to avoid 2001-05-09 15:50:17 +00:00
libshutil.tex Add more detail to the descriptions of the shutil functions. 2001-09-04 18:26:27 +00:00
libsignal.tex Use the standard expression for the availability statement for alarm(). 2002-02-15 20:59:43 +00:00
libsimplehttp.tex Update Moshe Zadka's email address to one works and might last a while. 2000-12-01 15:25:23 +00:00
libsimplexmlrpc.tex Add synopsis for the SimpleXMLRPCServer module; used in the chapter-level 2001-11-28 07:32:53 +00:00
libsite.tex SF #515041, Update path for 2.3 2002-02-19 02:58:54 +00:00
libsmtplib.tex Add local_hostname to SMTP.__init__(). 2002-03-24 15:41:40 +00:00
libsndhdr.tex
libsocket.tex Fix the erroneous availability annotation for s.makefile() from the last 2001-12-22 19:07:58 +00:00
libsocksvr.tex Changing allow_reuse_address's default value, and documenting it. 2000-12-13 20:39:22 +00:00
libsomeos.tex
libstat.tex Clean up some markup cruft. A number of the macros that take no 2001-11-28 07:26:15 +00:00
libstatcache.tex Add deprecation notice to statcache. 2001-11-02 20:20:19 +00:00
libstatvfs.tex Update Moshe Zadka's email address to one works and might last a while. 2000-12-01 15:25:23 +00:00
libstdtypes.tex Add the 'bool' type and its values 'False' and 'True', as described in 2002-04-03 22:41:51 +00:00
libstdwin.tex Use the \note and \warning macros where appropriate. 2001-10-20 04:24:09 +00:00
libstring.tex Use the \note and \warning macros where appropriate. 2001-10-20 04:24:09 +00:00
libstringio.tex Fix up a few style nits -- avoid "e.g." and "i.e." -- these make 2001-07-06 20:30:11 +00:00
libstrings.tex Add reference to the "String Methods" section to make that information 2001-12-02 15:10:46 +00:00
libstruct.tex Fixed typo in new 'p' description. 2001-09-15 18:16:27 +00:00
libsun.tex
libsunau.tex Update Moshe Zadka's email address to one works and might last a while. 2000-12-01 15:25:23 +00:00
libsunaudio.tex
libsymbol.tex Make all the \seemodule explanations consistent: start with a capitalized 2000-10-18 17:43:06 +00:00
libsys.tex add seealso referring to site module doc where people can learn how to 2002-03-27 17:29:50 +00:00
libsyslog.tex Work around limitations of the module synopsis table generation to avoid 2001-05-09 15:50:17 +00:00
libtabnanny.tex Use the \note and \warning macros where appropriate. 2001-10-20 04:24:09 +00:00
libtelnetlib.tex Clean up some markup cruft. A number of the macros that take no 2001-11-28 07:26:15 +00:00
libtempfile.tex Clean up some markup cruft. A number of the macros that take no 2001-11-28 07:26:15 +00:00
libtermios.tex Clean up some markup cruft. A number of the macros that take no 2001-11-28 07:26:15 +00:00
libthread.tex Clean up some markup cruft. A number of the macros that take no 2001-11-28 07:26:15 +00:00
libthreading.tex Adjust some poor wording in the text that explains what events are used 2002-03-19 14:37:44 +00:00
libtime.tex Clean up some markup cruft. A number of the macros that take no 2001-11-28 07:26:15 +00:00
libtoken.tex Make all the \seemodule explanations consistent: start with a capitalized 2000-10-18 17:43:06 +00:00
libtokenize.tex Turns out Neil didn't intend for *all* of his gen-branch work to get 2001-06-29 23:51:08 +00:00
libtraceback.tex Reflect change in traceback format: 2001-02-14 03:20:18 +00:00
libtty.tex Clean up some markup cruft. A number of the macros that take no 2001-11-28 07:26:15 +00:00
libturtle.tex Clean up the descriptions of multi-signature functions so we do the right 2001-11-15 20:41:03 +00:00
libtypes.tex forgot to mark use of StringType and UnicodeType in the text. 2001-09-29 13:53:21 +00:00
libundoc.tex Tk-related modules should no longer be listed here. 2001-11-26 21:38:50 +00:00
libunicodedata.tex new unicodedata functions (name, lookup) 2001-01-24 08:10:07 +00:00
libunittest.tex Use the \note and \warning macros where appropriate. 2001-10-20 04:24:09 +00:00
libunix.tex
liburllib.tex Use the \note and \warning macros where appropriate. 2001-10-20 04:24:09 +00:00
liburllib2.tex Fix a variety of typographical, grammatical, and clarity problems reported 2001-11-09 03:49:29 +00:00
liburlparse.tex Document the urlsplit() and urlunsplit() functions. 2001-11-16 03:22:15 +00:00
libuser.tex Fix up a few style nits -- avoid "e.g." and "i.e." -- these make 2001-07-06 20:30:11 +00:00
libuserdict.tex Add notes pointing out that these classes are kept for backward compatibility 2001-10-26 18:37:27 +00:00
libuu.tex Document that uu.decode() will always raise a uu.Error if out_file 2001-08-17 20:01:06 +00:00
libwarnings.tex Fix grammar 2002-03-21 12:58:54 +00:00
libwave.tex Update Moshe Zadka's email address to one works and might last a while. 2000-12-01 15:25:23 +00:00
libweakref.tex Patch supplied by Burton Radons for his own SF bug #487390: Modifying 2001-12-08 18:02:58 +00:00
libwebbrowser.tex Remove some false statements. 2001-07-19 03:49:33 +00:00
libwhichdb.tex
libwhrandom.tex Use the \note and \warning macros where appropriate. 2001-10-20 04:24:09 +00:00
libwinreg.tex Fix up a few style nits -- avoid "e.g." and "i.e." -- these make 2001-07-06 20:30:11 +00:00
libwinsound.tex Use the \note and \warning macros where appropriate. 2001-10-20 04:24:09 +00:00
libxdrlib.tex
libxmllib.tex Remove extra period. 2001-11-06 22:10:47 +00:00
libxmlrpclib.tex added note that xmlrpclib won't marshal instances of subclasses of the 2002-03-17 23:15:02 +00:00
libxreadlines.tex Added note that this module was added in Python 2.1. 2001-01-12 22:57:32 +00:00
libzipfile.tex Fix a simple typo. Has this to be fixed also in other branches? 2002-01-14 08:37:39 +00:00
libzlib.tex [ #403753 ] zlib decompress; uncontrollable memory usage 2001-10-16 20:39:49 +00:00
markup.tex
minidom-example.py Remove unused variable. 2001-10-26 19:50:26 +00:00
netdata.tex Remove comments about XML and HTML; those sections are no 2001-07-14 02:44:43 +00:00
tkinter.tex Fix indentation error in example from the Tkinter Life Preserver. 2002-01-05 03:56:54 +00:00
windows.tex
xmldom.tex Minor adjustments to markup for the getDOMImplementation() description. 2001-11-30 16:58:15 +00:00
xmldomminidom.tex Fix up a number of small problems with the DOM documentation. 2001-10-26 20:09:49 +00:00
xmldompulldom.tex Added "stub" documentation for xml.dom.pulldom for Paul to fill out with 2000-12-13 19:34:38 +00:00
xmlsax.tex Update link to the SAX homepage. 2001-12-10 18:10:37 +00:00
xmlsaxhandler.tex Fix the default value for feature_namespaces, per discussions on the XML-SIG 2001-11-19 04:34:50 +00:00
xmlsaxreader.tex Remove stray quotes; probably left over from conversion from docstrings. 2001-11-06 22:11:34 +00:00
xmlsaxutils.tex Add a note that the quoteattr() function is useful for HTML and SGML 2001-08-10 22:14:17 +00:00