cpython/Doc/lib
Tim Peters 8f01b680c8 Change Windows file.truncate() to (a) restore the original file position,
and (b) stop trying to prevent file growth.

Beef up the file.truncate() docs.

Change test_largefile.py to stop assuming that f.truncate() moves the
file pointer to the truncation point, and to verify instead that it leaves
the file position alone.  Remove the test for what happens when a
specified size exceeds the original file size (it's ill-defined, according
to the Single Unix Spec).
2002-03-12 03:04:44 +00:00
..
.cvsignore
asttable.tex
compiler.tex Update docs to reflect new compile() and compileFile() 2001-12-04 02:48:52 +00:00
distutils.tex
email.tex The "%" character does not need to be escaped in verbatim environments. 2002-02-15 04:12:59 +00:00
emailencoders.tex
emailexc.tex
emailgenerator.tex Minor grammar and typo fixes 2001-11-05 01:55:03 +00:00
emailiter.tex
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
language.tex
lib.tex Add entry for the pydoc documentation. 2001-12-18 16:32:30 +00:00
libaifc.tex
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 Patch 520694: arraymodule.c improvements: 2002-03-01 10:27:01 +00:00
libascii.tex
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
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 Clean up some markup cruft. A number of the macros that take no 2001-11-28 07:26:15 +00:00
libbisect.tex
libbltin.tex
libbsddb.tex
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
libcmd.tex Elaborate the descriptions for onecmd(), precmd(), and postcmd() so they are 2001-12-27 05:10:18 +00:00
libcmp.tex
libcmpcache.tex Use the \note and \warning macros where appropriate. 2001-10-20 04:24:09 +00:00
libcode.tex
libcodecs.tex Use the \note and \warning macros where appropriate. 2001-10-20 04:24:09 +00:00
libcodeop.tex
libcolorsys.tex
libcommands.tex
libcompileall.tex
libcookie.tex Toughen up the security warnings a bit. 2001-11-16 22:28:17 +00:00
libcopy.tex
libcopyreg.tex Minor updates to add more pointers to the pickle documentation, and to 2001-11-15 23:37:26 +00:00
libcrypt.tex
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
libdbm.tex
libdifflib.tex writeline() --> writelines() 2001-11-29 19:04:50 +00:00
libdircache.tex
libdis.tex
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
liberrno.tex
libexcs.tex Clean up some markup cruft. A number of the macros that take no 2001-11-28 07:26:15 +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
libfileinput.tex
libfl.tex
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
libfpectl.tex
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 Added missing version annotation for dict(). 2002-03-06 02:29:30 +00:00
libgc.tex Document that get_referrers can return unreachable but uncollected objects. 2002-01-26 20:11:50 +00:00
libgdbm.tex
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
libhmac.tex
libhtmllib.tex
libhtmlparser.tex
libhttplib.tex More index entries. 2001-12-26 19:48:43 +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
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
libjpeg.tex
libkeyword.tex Add keyword.kwlist to the public API. 2002-01-24 16:38:53 +00:00
liblinecache.tex
liblocale.tex Use the \note and \warning macros where appropriate. 2001-10-20 04:24:09 +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
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
libmd5.tex [Patch #476612] Change docs to describe PEP247 interface 2001-11-02 21:44:09 +00:00
libmhlib.tex
libmimetools.tex
libmimetypes.tex Applying proposed patch for bug #474583, optional support for 2001-10-25 21:49:18 +00:00
libmimewriter.tex
libmimify.tex
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
libmultifile.tex
libmutex.tex
libnetrc.tex
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
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 Implement os.waitpid() for Windows, in a way that's compatible with Linux 2002-02-01 11:27:43 +00:00
libpanel.tex Use the \note and \warning macros where appropriate. 2001-10-20 04:24:09 +00:00
libparser.tex
libpdb.tex
libpickle.tex Fix typo, extra markup constructs. 2001-11-26 21:30:36 +00:00
libpipes.tex
libpopen2.tex
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
libprofile.tex A copy-and-paste job forget the "paste" half. 2001-10-09 20:54:23 +00:00
libpty.tex
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
librand.tex
librandom.tex
libre.tex Remove extra indenatation from sample interpreter session. 2002-03-05 04:02:39 +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
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
librobotparser.tex Adjust the module synopsis to avoid margin overruns in the PDF format. 2001-11-06 22:14:35 +00:00
librotor.tex
libsched.tex
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
libsha.tex [Patch #476612] Change docs to describe PEP247 interface 2001-11-02 21:44:09 +00:00
libshelve.tex
libshlex.tex
libshutil.tex
libsignal.tex Use the standard expression for the availability statement for alarm(). 2002-02-15 20:59:43 +00:00
libsimplehttp.tex
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 Use the \note and \warning macros where appropriate. 2001-10-20 04:24:09 +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
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
libstdtypes.tex Change Windows file.truncate() to (a) restore the original file position, 2002-03-12 03:04:44 +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
libstrings.tex Add reference to the "String Methods" section to make that information 2001-12-02 15:10:46 +00:00
libstruct.tex
libsun.tex
libsunau.tex
libsunaudio.tex
libsymbol.tex
libsys.tex Do not mask the name of a built-in function in example code. 2002-01-05 04:00:03 +00:00
libsyslog.tex
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
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
libtokenize.tex
libtraceback.tex
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
libundoc.tex Tk-related modules should no longer be listed here. 2001-11-26 21:38:50 +00:00
libunicodedata.tex
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
libuserdict.tex Add notes pointing out that these classes are kept for backward compatibility 2001-10-26 18:37:27 +00:00
libuu.tex
libwarnings.tex
libwave.tex
libweakref.tex Patch supplied by Burton Radons for his own SF bug #487390: Modifying 2001-12-08 18:02:58 +00:00
libwebbrowser.tex
libwhichdb.tex
libwhrandom.tex Use the \note and \warning macros where appropriate. 2001-10-20 04:24:09 +00:00
libwinreg.tex
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 [Bug #486527] Note that the caller has to ensure there are no control 2002-03-08 17:46:02 +00:00
libxreadlines.tex
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
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
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