Commit Graph

714 Commits

Author SHA1 Message Date
Fred Drake 9e63faaa66 Change Python-as-executable-script example to use "#! /usr/bin/env python"
since that's now the recommended way to do it.

In pickling discussion, change "code{pickle}" (not missing leading "\") to
"This" since the immediately preceeding sentence ended with the same text
(with the proper "\").  Fixes a formatting bug and an odd glitch in the
writing.
1997-10-15 14:37:24 +00:00
Fred Drake 2950b2d881 Restore the \seealso formatting that got lost when I updated the math
module documentation.
1997-10-13 22:06:17 +00:00
Fred Drake 9dcc5a94c5 Add support for ctypedesc, cvardesc, seealso, seemodule, seetext.
This seems to take care of everything but tables and equations.
1997-10-13 22:04:17 +00:00
Fred Drake 7cd60442b4 Remove macpath entry -- it is already documented. 1997-10-13 22:02:09 +00:00
Fred Drake 5451d67dd9 socket_type ==> SocketType 1997-10-13 21:31:02 +00:00
Fred Drake 120ac20c40 Remove superfluous comman from between "not" and "in" when describing the
"not in" operator.
1997-10-13 20:48:17 +00:00
Fred Drake 36fbe76a45 struct _frozen:
Use spaces instead of tabs to indent structure definition; tabs don't
	work in tex/latex.

PyImport_FrozenModules:
	struct _freeze ==> struct _frozen
1997-10-13 18:18:33 +00:00
Guido van Rossum 6cd7ecb10b The sequence behavior is now on the Exception root class rather than
on the StandardError class.
1997-10-07 14:41:04 +00:00
Guido van Rossum fdacc58bfe Added pointer to api.tex and note about the out-of-date-ness of this
document.
1997-10-07 14:40:16 +00:00
Guido van Rossum 18b0db3b53 Set Oct 10 as the release date. 1997-10-07 14:39:43 +00:00
Guido van Rossum 9faf4c57b0 Change title to {Python/C API Reference Manual}; remove \bcode \ecode
which appears to be out of fashion in this file.
1997-10-07 14:38:54 +00:00
Fred Drake 6f2a26d42b And "ni" has been documented... 1997-10-06 21:53:50 +00:00
Fred Drake 2df75832b3 Oops; don't know if this was my typo or not: There was a "p" on a line that
should have been blank.
1997-10-06 21:52:31 +00:00
Fred Drake c211254334 Updated the section "Parsing Python". 1997-10-06 21:41:30 +00:00
Fred Drake 14bf341f16 Added keyword module entry. 1997-10-06 21:40:48 +00:00
Fred Drake e061a51de1 Minor nits (Lib/token.py is a file, token is a module...).
Added docs for symbol and token modules at the end.
1997-10-06 21:40:20 +00:00
Fred Drake db12f343bc Documentation for the keyword module. 1997-10-06 21:39:16 +00:00
Fred Drake 00eb96a126 Move the pprint docs after the code docs, so that all parser/codegen type
things come together.
1997-10-06 21:26:03 +00:00
Barry Warsaw dc0f00ad03 Document the mapping object's new get() method. 1997-10-06 17:50:48 +00:00
Fred Drake 04ac894189 Add the four latex2html output directories: api, ext, lib, tut. 1997-10-06 13:20:17 +00:00
Guido van Rossum c44d3d6664 Done with tread state descriptions. Sigh! 1997-10-06 05:10:47 +00:00
Guido van Rossum 0bfd146594 Added strerror() 1997-10-05 18:54:52 +00:00
Guido van Rossum bc3b13643d Removed emacs.py 1997-10-05 18:54:36 +00:00
Guido van Rossum eb53ae4928 Fixed some stuff that was incorrectly copied from regex. 1997-10-05 18:54:07 +00:00
Guido van Rossum 7974b0f2d8 Documented __import__, callable, isinstance, issubclass,
and slice.
1997-10-05 18:53:00 +00:00
Guido van Rossum df3dba049d Documented new exceptions and exception classes. 1997-10-05 18:51:26 +00:00
Guido van Rossum 5344d4fd2e Add -N0 to dvips flags to generate page structure comments. 1997-10-05 18:51:02 +00:00
Guido van Rossum 42cefd03cf Checkpoint. Added docs for the new exception handling APIs and for
the interfaces defined in import.h.
1997-10-05 15:27:29 +00:00
Fred Drake b55e07f4eb Fixed up formatting. 1997-09-30 21:59:27 +00:00
Fred Drake 1b914b3397 Fixed up formatting, added descriptions for previously undocumented functions. 1997-09-30 20:14:50 +00:00
Guido van Rossum 3cdb8f3286 Update the description and the example to the new functionality, which
is mostly concentrated in a generalized find_module() and the new
load_module().  Added the new module type constants.  Declare that
SEARCH_ERROR and a whole bunch of module-type-specific functions are
obsolete.
1997-09-09 20:53:37 +00:00
Guido van Rossum 9cf4e2bde7 Change packages to site-packages (so it's clearly not a package itself). 1997-09-08 02:02:37 +00:00
Guido van Rossum 16221126d6 Added warning about ni's obsolescence. Retracted semantic changes
(i.e. when using ni, the old __init__.py semantics prevail!)
1997-09-07 03:02:39 +00:00
Guido van Rossum 593801142e Initial revision 1997-09-07 02:56:35 +00:00
Guido van Rossum f01dff7e93 Give in to Mike Meyer -- add *both* lib/python1.5/packages and
lib/site-python to the path (if they exist).  This is a reasonable
compromise.
1997-09-03 22:05:54 +00:00
Guido van Rossum 28cad964ec Document newly revamped site configuration mechanism.
Damn the criticism in c.l.p!
1997-08-30 20:03:28 +00:00
Guido van Rossum 36764b8b0e Added docs for 'user' customization module. Renamed libuser.tex
(which had UserDict/UserList) to libuserdict.tex.
1997-08-30 20:02:25 +00:00
Guido van Rossum b2afc811c2 Added os.altsep; this is '/' on DOS/Windows, and None on systems with
a sane filename syntax.
1997-08-29 22:37:44 +00:00
Guido van Rossum 282290f821 Referred to POSIX docs as well as to Unix docs. 1997-08-27 14:54:25 +00:00
Guido van Rossum e20aef574a Ignore whitespace between formats (not internal to a count+format). 1997-08-26 20:39:54 +00:00
Guido van Rossum 81e479a11f Removed some colons that shouldn't be there (probably leftovers from
docstring conversion).
1997-08-25 18:28:03 +00:00
Fred Drake 5de31fc094 Oops, don't suppress echo of the rm command in l2hclean! 1997-08-22 18:20:33 +00:00
Fred Drake 03ff6f7474 Simplify LaTeX2HTML targets && support re-use of output directories (which
saves re-generation of images).

Add l2hclean target.
1997-08-22 18:18:54 +00:00
Fred Drake 289f97d0ea Changed description of SchedParams() in the following way:
\bar{Besocial} --> \var{besocial}
	     ^--- note case ----^

The fixed version matches the signature.  Changed "\bar{Besocial} gives ..."
to "The \var{besocial} flag gives ..." to keep from starting the sentence
with a lowercase token.

(The \bar{} --> \var{} change was required to keep LaTeX happy.)
1997-08-22 13:51:31 +00:00
Fred Drake 2999607e59 Added missing "\end{funcdesc}" after FindFolder documentation. 1997-08-22 13:45:13 +00:00
Guido van Rossum 08157f8db6 mention cPickle and cStringIO 1997-08-21 02:29:19 +00:00
Guido van Rossum b904629f75 Fix some badly botched prototypes for PyRun* c.s. 1997-08-21 02:28:57 +00:00
Guido van Rossum e229d8636d Misc Mac mods by Jack. Added libmacic.tex, and these patches:
libmacfs.tex	Document NewAliasMinimalFromFullPath
libmacos.tex	Document SetEventHandler and SchedParams
libmacui.tex	Document asynchronous event handling
libmailbox.tex	Removed mime-turds that somehow got in here
1997-08-18 15:14:26 +00:00
Guido van Rossum 5060b3be9b Consistently change Python-C API to Python/C API; added lots of new
introductory text for reference counts and error handling, with good
examples.
1997-08-17 18:02:23 +00:00
Guido van Rossum b235d9e673 Tweaked all l2h targets to remove the target directory before renaming
the intermediate target directory.
1997-08-15 19:12:08 +00:00
Guido van Rossum 09270b51e4 Fixes to make it pass latex without complaints. 1997-08-15 18:57:32 +00:00
Guido van Rossum 9085822f28 the usual 1997-08-15 02:52:46 +00:00
Guido van Rossum 1574d78550 Date 1997-08-15 02:52:35 +00:00
Guido van Rossum 1acceb0650 Added AMK's first cut at docs for re.py 1997-08-14 23:12:18 +00:00
Guido van Rossum 4a944d7a47 Added more stuff on initialization (still rudimentary) 1997-08-14 20:35:38 +00:00
Guido van Rossum 59a61352ad Added new intro sections (incomplete); fixed various typos 1997-08-14 20:34:33 +00:00
Guido van Rossum 3572d3718b Updated platform specific notes (it is now more common to have this)
added some caveats.
1997-08-14 19:51:26 +00:00
Guido van Rossum 8f06247b51 Added buffer_info() docs. 1997-08-14 19:50:37 +00:00
Guido van Rossum 98046b90d0 Minor typo only. 1997-08-14 19:50:18 +00:00
Guido van Rossum fcaf26e245 Documented mime_decode_header() and mime_encode_header(). 1997-08-14 14:13:01 +00:00
Guido van Rossum 9c43c590bc More emphasis on os.environ's calling of putenv; and added hint about
flags for open().
1997-08-08 21:05:09 +00:00
Guido van Rossum fd16ca4542 Added mimify docs (Sjoerd). 1997-07-30 22:05:07 +00:00
Fred Drake bc0cd37fe2 l2h target: l2htut was listed twice and l2hapi was skipped. Fixed. 1997-07-30 15:59:25 +00:00
Fred Drake b065452ebc Bump up the version number. The date still needs to be set (Guido will
have to do that one!), but at least the version will match the release
version.  (1.5a2 got skipped for this.)
1997-07-25 13:14:35 +00:00
Fred Drake 12d9eac0a2 A couple of grammatical nits.
Re-sequenced the function descriptions so that the formatting is described
before the assumption is made that the reader has a clue about the formatting.

Moved examples to be closer to the functions being demonstrated.

Added example of saferepr() result.
1997-07-24 15:39:16 +00:00
Guido van Rossum 6576dd6ad6 Document new 'quote' flag to cgi.escape(). 1997-07-19 20:16:07 +00:00
Guido van Rossum 61c270345c added code.py; codehack.py is obsolete 1997-07-18 21:08:07 +00:00
Guido van Rossum 1c78cf3317 Added label{module-spam} 1997-07-18 21:07:34 +00:00
Fred Drake ca1182b262 Remove pprint from the list of undocumented modules. 1997-07-18 20:44:22 +00:00
Fred Drake d2b9f81ec5 Add entry for the pprint module. 1997-07-18 20:43:53 +00:00
Fred Drake 18600a4229 Add libpprint.tex to the lib.dvi dependencies. 1997-07-18 20:43:27 +00:00
Fred Drake ee8d3ca4cf Documentation for the pprint module. 1997-07-18 20:41:58 +00:00
Guido van Rossum b15e5ed689 Use 'and' instead of '&', which is a (La)TeX control character.
"make lib tut ext" should now be errorfree.
1997-07-17 18:30:15 +00:00
Guido van Rossum e3d5fc50a1 Add AMK's seealso environment that is now used in the library manual
at some places.
1997-07-17 18:27:53 +00:00
Guido van Rossum e47da0ae04 AMK's megapatch:
* \bcode, \ecode added everywhere
	* \label{module-foo} added everywhere
	* A few \seealso sections added.
	* Indentation fixed inside verbatim in lib*tex files
1997-07-17 16:34:52 +00:00
Guido van Rossum 3c2a056fdd Extensive changes by AMK. 1997-07-17 16:29:42 +00:00
Guido van Rossum 5320998da5 Note that getvalue() must be called before close(). 1997-07-17 16:29:04 +00:00
Guido van Rossum 0fcbe8dde2 Added libni.tex libgzip.tex 1997-07-17 16:27:42 +00:00
Guido van Rossum 41884a9b1c New from AMK 1997-07-17 16:26:11 +00:00
Guido van Rossum 0245569fd1 New version (interim) by AMK. 1997-07-17 16:21:52 +00:00
Guido van Rossum eb1633ec6e Removed mailbox, SocketServer, cmath -- these are now documented! 1997-07-17 16:21:18 +00:00
Guido van Rossum 84057a3874 Added cmath 1997-07-17 16:15:18 +00:00
Guido van Rossum 246d96555f Typo in example. 1997-07-17 16:14:12 +00:00
Guido van Rossum 14a8024b04 New cmath module docs, by AMK (with additions and deletions by Guido). 1997-07-17 16:13:45 +00:00
Guido van Rossum 6c9db41d30 Added fileno(); added readlines(sizehint).
AMK's sed job.
1997-07-17 16:05:47 +00:00
Guido van Rossum debf2e8a53 Fix dropped word. 1997-07-17 15:58:43 +00:00
Guido van Rossum cfaf143956 Added a few new undocumented modules. 1997-07-16 15:48:20 +00:00
Guido van Rossum 31cbc846ac Oops, some clarifications to conditional breaks. 1997-07-11 13:57:28 +00:00
Guido van Rossum 255d790077 Added (minimal) doc for conditional breakpoints.
(Lie about the syntax (and the syntax for "list") because latex2html
doesn't seem to handle doubly nested [] pairs.)
1997-07-11 13:51:17 +00:00
Fred Drake dd527332b7 fixed typo, "header" ==> "headers" 1997-06-20 16:55:08 +00:00
Fred Drake 8f81ef1edd Fix LaTeX bug found by examining the docstrings added to commands.py. 1997-06-12 16:14:07 +00:00
Fred Drake b4aeaebfe8 Added libcommands.tex to list of library reference dependencies. 1997-06-12 16:06:19 +00:00
Fred Drake 4fd1292c3c Documentation for Lib/commands.py, from Sue Williams. 1997-06-12 16:05:46 +00:00
Fred Drake 455838a217 Really nitty-gritty change to prevent latex2html from using a LaTeX-generated
image of the argument list....
1997-06-06 21:57:35 +00:00
Guido van Rossum 39a23cc1e3 Doc for mailbox.tex (Jack) 1997-06-02 21:04:41 +00:00
Guido van Rossum 6cb2ac226e A nicety (author lost). 1997-06-02 17:57:10 +00:00
Guido van Rossum 41c302fc68 add libmailbox 1997-06-02 17:36:12 +00:00
Guido van Rossum e5bb790027 Added libmailbox, obsolete libstdwin 1997-06-02 17:35:51 +00:00
Guido van Rossum daff175611 Increase printable page size. 1997-06-02 17:35:01 +00:00
Guido van Rossum b40f2a7446 Added SocketServer and mailbox modules. 1997-06-02 17:34:40 +00:00
Guido van Rossum 98b43eb012 It's now using mimetools instead of rfc822 1997-06-02 17:34:22 +00:00
Guido van Rossum b9ee9c2298 stdwin is obsolete. Point to bsddb from dbhash. 1997-06-02 17:34:02 +00:00
Guido van Rossum 0a3c7532f3 Additional info about sys.path, sys.version, sys.prefix, sys.exec_prefix.
(AMK)
1997-06-02 17:32:41 +00:00
Guido van Rossum 0fa066b72e Grammar (AMK). 1997-06-02 17:30:20 +00:00
Guido van Rossum 067a2acdf6 Mention seekable parameter (AMK).
Added pointer to mailbox module.
1997-06-02 17:30:03 +00:00
Guido van Rossum bac80022e4 Mention use of profile.py to run a script (AMK). 1997-06-02 17:29:12 +00:00
Guido van Rossum f967bf63f8 Added putenv, ftruncate (AMK). 1997-06-02 17:28:51 +00:00
Guido van Rossum 809408eb90 Mention use of pdb.py to run a script (AMK). 1997-06-02 17:28:16 +00:00
Guido van Rossum 94adab5e17 Added date, xgtitle, xover, xpath (AMK). 1997-06-02 17:27:50 +00:00
Guido van Rossum a3f53cde37 It's now using mimetools instead of rfc822 1997-06-02 17:26:30 +00:00
Guido van Rossum 2525bedfc0 Fix a sentence which ends "...is 6, which." (AMK) 1997-06-02 17:22:06 +00:00
Guido van Rossum 921f32ce4c Mention abs(complex) -> magnitude (AMK).
Documented list().
Mention [raw_]input()'s interface to GNU readline.
1997-06-02 17:21:20 +00:00
Guido van Rossum 3a0d850160 Added complex numbers (AMK).
Clarify that sort() works in-place.
Renamed dict.absorb() to dict.update().
1997-06-02 17:18:00 +00:00
Guido van Rossum 6102b51f2b Added copy() and absorb(). 1997-05-28 19:32:11 +00:00
Guido van Rossum 36f3502151 Added cvardesc and ctypedesc macros, for api.tex. 1997-05-22 20:43:24 +00:00
Guido van Rossum ae110af13b Just another checkin for backup. Nothing substantial yet. 1997-05-22 20:11:52 +00:00
Guido van Rossum 7806c16650 generated from latest doc files 1997-05-21 14:48:15 +00:00
Guido van Rossum 2335c5eaec Added description of socket_type. 1997-05-21 14:41:42 +00:00
Guido van Rossum 6181e00667 Added AMK's SocketServer docs. 1997-05-19 19:55:16 +00:00
Guido van Rossum 9231c8f176 Made a start with api.tex, the Python-C API Reference Manual.
Removed extref.tex (which provided the starting point).
Also removed qua.tex, which is out of date and no longer needed.
1997-05-15 21:43:21 +00:00
Guido van Rossum 1681429ba8 Fix the date. 1997-05-09 02:25:55 +00:00
Guido van Rossum 51a6c9055c Added docs for dumbdbm (AMK), and misc small fixes. 1997-05-09 02:23:45 +00:00
Guido van Rossum 7e691de948 Document return value of wait[pid]() more carefully.
Document how to get exit status of a popen() command.
1997-05-09 02:22:59 +00:00
Guido van Rossum e4f347e779 Document "" and "<broadcast>". 1997-05-09 02:21:51 +00:00
Guido van Rossum d0e8436e19 ??? maybe window size 1997-05-08 23:39:55 +00:00
Guido van Rossum 881255223d Added assert statement. 1997-05-08 23:39:31 +00:00
Guido van Rossum d8f038ec0a Added assert resword. 1997-05-08 23:39:12 +00:00
Guido van Rossum 4408ed5dcb Tiny utility prints the latest set of reserved words. 1997-05-08 23:21:48 +00:00
Guido van Rossum 78b21cf47a Checking in old changes -- no idea why (probably window size). 1997-05-08 23:21:09 +00:00
Guido van Rossum 5bbf0f7c93 Some updates (AMK at work, added resource.c). 1997-04-30 19:41:48 +00:00
Guido van Rossum dfb4120ea1 Add zlib 1997-04-30 19:40:10 +00:00
Guido van Rossum 412154f3c7 Updated web ref and version#. Folded some long lines. 1997-04-30 19:39:21 +00:00
Guido van Rossum 04bc9d6e67 zlib by AMK 1997-04-30 18:12:27 +00:00
Guido van Rossum e9a0732cd1 Note that passing a filename to uu.{en,de}code() is deprecated. 1997-04-27 21:29:51 +00:00
Guido van Rossum e76b7a8fcd Added fnmatch, base64 and quopri, received from Andrew Kuchling. 1997-04-27 21:25:52 +00:00
Guido van Rossum 150853861a Various status updates. 1997-04-03 23:49:28 +00:00
Guido van Rossum fc5ee0f980 Added site 1997-04-03 22:43:02 +00:00
Guido van Rossum 571391b963 New stuff by AMK. 1997-04-03 22:41:49 +00:00
Fred Drake 387c575d5c Small grammatical touchups:
Para. 1:  ...that reads and writes a string buffer...
			      ^		 ^

	Para. 3:  ...can be called at any time to retrieve the...
				  XXXXXXXXXXXX       ^^^^^
		  ...entire contents of the entire ``file'' ...
		     ^^^^^^^		   XXXXXXX

Guido, I hope I'm not stomping too far afield, but these seem pretty clear
to me.
1997-04-02 14:51:56 +00:00
Guido van Rossum f643e3ff7e Spell Unix, not UNIX. 1997-04-02 06:06:03 +00:00
Guido van Rossum e8d94a8c10 Horrible hack to split up code '--' to prevent
latex2html from collapsing it into '-'.
1997-04-02 06:05:07 +00:00
Guido van Rossum 1cd26f2fc0 Add complex().
Update int(), long(), float() to support string conversions.
1997-04-02 06:04:02 +00:00
Guido van Rossum 740eb8265f Add cross-refs for int() to atoi() etc.
Change replace() arguments; remove replace1().
1997-04-02 05:56:16 +00:00
Guido van Rossum 8d2893b5b2 Added a list of the main undocumented extension modules. 1997-03-27 20:57:52 +00:00
Guido van Rossum 7f3b0421de Added docs for UserDict,UserList 1997-03-27 14:56:18 +00:00
Guido van Rossum b6a80262e1 Added docs for glob and mailcap 1997-03-25 22:09:18 +00:00
Guido van Rossum e6d579ddbc Added docs for glob 1997-03-25 22:07:53 +00:00
Guido van Rossum 20af95b433 Added docs for mailcap 1997-03-25 22:01:35 +00:00
Guido van Rossum c8a80cdbad Added docs for replace() and replace1(). 1997-03-25 16:41:31 +00:00
Guido van Rossum e8e87999ab Remove untrue statement about . and .. being included in list of names
passed to walk() visitor.
1997-03-25 15:25:54 +00:00