Commit Graph

575 Commits

Author SHA1 Message Date
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
Guido van Rossum 7b7c578616 Add optional 4th argument to [r]find and [r]index (end of slice). 1997-03-14 04:13:56 +00:00
Guido van Rossum 612316f016 Add a rough list of undocumented stuff at the end. 1997-03-14 04:12:52 +00:00
Guido van Rossum 1f8cee2521 Hint about [\] trick to avoid quad backslashes. 1997-03-14 04:10:13 +00:00
Guido van Rossum 3978d75cca Added intern() 1997-03-03 16:03:27 +00:00
Guido van Rossum 38e2ec4f14 Added ref to StringIO docs. 1997-03-03 16:03:05 +00:00
Guido van Rossum 3ff7317857 Correct two typos 1997-03-03 16:02:32 +00:00
Guido van Rossum d90e5b1012 Fix name of PyObject_GetAttrString 1997-03-03 16:02:10 +00:00
Guido van Rossum cda3d7d0e7 Added (minimal) StringIO docs. 1997-03-03 16:01:21 +00:00
Guido van Rossum 20e4210ec4 Fix up indentation of examples to use 4 spaces instead of tabs. 1997-02-28 16:37:49 +00:00
Barry Warsaw 7574587587 Document the new join() semantics. 1997-02-18 21:53:53 +00:00
Barry Warsaw 736bb0659f Added a paragraph to describe clear_cache(), and why it's necessary. 1997-02-18 18:59:37 +00:00
Barry Warsaw cd77df64e6 Document the new get_syntax() function. 1997-02-18 18:54:30 +00:00
Guido van Rossum 6fb6f10a96 Added doco for ratecv. 1997-02-14 15:59:49 +00:00
Guido van Rossum 7e924dd10d Correct typo in PyArg_ParseTuple example.
Add reference to DLD 3.3 at http://www-swiss.ai.mit.edu/~jaffer/DLD.html.
1997-02-10 16:51:52 +00:00
Fred Drake 43d287ad73 (libparser.tex): Fix typo found by Mark Hammond. 1997-01-22 14:25:21 +00:00
Guido van Rossum 5cd752028c Describe new ("unsigned") behavior of hex() and oct(). 1997-01-14 18:44:23 +00:00
Guido van Rossum fe27a50847 Added warning that gethostname() doesn't always return fqdn, and show
how to find it using gethostbyaddr().
1997-01-11 17:04:56 +00:00
Guido van Rossum 0d2971badb Document that sys.builtin_module_names is now a tuple. 1997-01-06 23:01:02 +00:00
Barry Warsaw d44be3fdb7 very minor typo 1997-01-03 20:19:05 +00:00
Guido van Rossum 653071731a 'I' and 'L' now always return a Python long. 1997-01-03 19:21:53 +00:00
Guido van Rossum b0b8181622 Added unsigned data formats (B, H, I, L). 1997-01-03 19:20:52 +00:00
Guido van Rossum dbadd558b5 Describe standard float/double support.
Rewrite example to be an interactive session
1997-01-03 04:20:09 +00:00
Barry Warsaw 6717030dc9 setkey method's argument is no longer optional (it used to be a no-op
when missing).
1997-01-02 19:48:00 +00:00
Fred Drake 591bbb1572 (libformatter.tex): Document the flush() method on the writer. 1996-12-31 20:51:42 +00:00
Guido van Rossum 3dd68d3364 Added libstat.tex 1996-12-31 02:24:54 +00:00
Guido van Rossum 125434665b Document the new extensions. 1996-12-31 02:22:14 +00:00
Barry Warsaw f308c0f1fc From reading the source, it turns out that the setkey() method can
take an optional string key, but if key is not given, the method does
nothing!  In the rewrite (see upcoming check-in), I left things this
way, but here I document that this is the case.
1996-12-23 23:34:17 +00:00
Barry Warsaw e5a43a405d Describe open(2) exported constants 1996-12-19 23:50:34 +00:00
Guido van Rossum e8e9ed176f Docs for stat.py -- docs by Skip Montanaro. 1996-12-19 22:39:22 +00:00
Barry Warsaw fa5a6cff45 posix.open(): third argument (mode) is optional. 1996-12-19 22:38:56 +00:00
Guido van Rossum 62ac99ebf5 Documented getprotobyname() interface. 1996-12-19 16:43:25 +00:00
Fred Drake ae0cd0b9b3 (libunix.tex): Change matching lib.tex: add line item for the resource
module.
1996-12-19 12:20:54 +00:00
Guido van Rossum 39900421bf Added pointer to framereader distribution. 1996-12-18 19:55:49 +00:00
Guido van Rossum 3c7b2dc02c Added docs for Jeremy's resource module. 1996-12-18 18:37:05 +00:00
Fred Drake 63a0c376ea (libunix.tex): Changed two occurances of "Unix" to "\UNIX{}". 1996-12-16 22:12:33 +00:00
Fred Drake 094579e677 (libtime.tex): Merged in changes from Tamito Kajiyama.
(For those watching Python CVS messages:  I checked in all of
	Tamito's other changes, but the mail delivery failed since the
	subject line was too long.  The patch Tamito sent for the
	documentation has been completely merged in.)
1996-12-13 22:09:52 +00:00
Fred Drake 4b3f0312c9 (lib<all sorts of stuff>.tex):
Merged in many typo corrections and fixes to support GNU info
	processing; submitted by Tamito Kajiyama.
1996-12-13 22:04:31 +00:00
Fred Drake 6dc2aae3cd (tut.tex): Normalized all uses of "UNIX" and "{\UNIX}" to use "\UNIX{}",
per usage needed for GNU info processing.  Based on comments from
	Tamito Kajiyama.
1996-12-13 21:56:03 +00:00
Fred Drake 30824246b3 (myformat.sty): Added a note about using \command{} v. {\command} wrt.
GNU info processing.
1996-12-13 21:53:07 +00:00
Guido van Rossum 8d40c843c1 Added quote_plus() and unquote_plus(), to do space/plus substitutions
for form field values.
Also corrected substitution example (the original changed the spelling
of "conolly" to "connolly" :).
1996-12-13 14:48:47 +00:00
Guido van Rossum d16ddb610a Typos reported by Tamito Kajiyama. 1996-12-13 02:38:17 +00:00
Guido van Rossum 21be147094 Added remark about time() and sleep()'s subsecond precision.
Added hint about using clock() for benchmarks etc.
Removed non-portable strftime directives and field width, and added a
warning about non-standard features.
1996-12-12 17:59:37 +00:00
Guido van Rossum 3486f27428 Added soundex (sigh) 1996-12-12 17:02:21 +00:00
Guido van Rossum 843e712bda Added descriptions of parsedate(), parsedate_tz(), getdate_tz()
(all contributed by Andrew Kuchling).
1996-12-06 21:23:53 +00:00
Guido van Rossum 61ed4db9e8 Added section for operator module (compiled Skip Montanaro). 1996-12-06 21:22:41 +00:00
Fred Drake d560605ae6 (Makefile): Added sym links for each manual, i.e., index.html -> lib.html.
This makes addressing the manuals a little simpler.
1996-12-06 20:06:37 +00:00
Fred Drake fc8f6f3ed3 (Makefile): The sed hack is needed for all 3 manuals processed by latex2html;
the comma must represent a bug in the modified process_command()
	function, but I haven't found it yet.  This will work for now.
1996-12-06 18:45:30 +00:00
Fred Drake f1e6707ea6 (Makefile): Rip out old partparse.py / texi2html.py stuff -- use latex2html
instead!  Updated some comments.
1996-12-06 15:11:34 +00:00
Fred Drake 0d58d44da1 (myformat.perl): Don't italicize the '[]' characters around optional
parameters.
1996-12-06 15:09:14 +00:00
Fred Drake dce22add1b (.latex2html-init): Restore one setting to the default (no real need to
change it), and correct a typo in a comment.
1996-12-06 14:50:58 +00:00
Fred Drake 9abe64a395 (libparser.tex): Added note that the line number for a terminal token
indicates the line on which the token ends rather than starts
	(a side effect of interpreting the parse tree nodes directly).
	Maybe I'll fix this for Python 2.0.
1996-12-05 22:28:43 +00:00
Barry Warsaw 102dc417bf Describe the new Unpacker.get_buffer() method. 1996-12-04 22:05:42 +00:00
Guido van Rossum bda7ca7772 Added [nh]to[hn][sl](). 1996-12-02 17:24:10 +00:00
Guido van Rossum dde9c2c1d2 Added .ilg (makeindex logfile) 1996-11-27 19:54:40 +00:00
Guido van Rossum 4745a274a5 Added some more turd files we can't avoid: .MIF, .ps, .auto. 1996-11-27 19:52:04 +00:00
Guido van Rossum cd612d5e5c Webmaker instructions 1996-11-27 19:51:35 +00:00
Guido van Rossum 558c09e4c1 Script to write MIF files from ref*.{book,doc} 1996-11-27 19:50:32 +00:00
Fred Drake 3e1fe89a0d (myformat.perl): Fixed handling of "\e" -- argh! 1996-11-11 23:03:36 +00:00
Fred Drake b4d4e25a62 (Makefile): Updated comments about using LaTeX2HTML for the library
reference.  Made the extension to the input files for makeindex
	explicit; if not made explicit a directory of the given base
	name can cause makeindex to blow up.  Specifically, if there is
	a directory ./lib/ created by LaTeX2HTML, "makeindex lib" will
	fail, but "makeindex lib.idx" will not.

	l2h{tut,ext,lib} are now dependent on myformat.perl.

	l2h adds ls2lib and removes the non-existant l2href.
1996-11-11 21:03:01 +00:00
Fred Drake 4464022799 (myformat.perl): Simplify generated HTML for "\optional{...}". 1996-11-11 20:51:09 +00:00
Fred Drake b33021b572 (fix_libaux.sed): Hackish little sed script to modify lib.aux to get section
numbers right for latex2html for section titles which include
	"\sectcode{__.*__}" in the name.  Perhaps less general than it should
	be, but sufficient.
1996-11-11 20:49:27 +00:00
Fred Drake 784c6d3684 (.latex2html-init): Perform some limited setup for the reference manuals;
some defaults are set here, but mostly this allows the "\," command
	to be used the way it is in the Python documentation.

	All future documentation should probably be written with only ","
	in the argument lists and not "\,".
1996-11-11 20:46:44 +00:00
Fred Drake 9b550d992a (myformat.sty): Simplify \varvars definition. 1996-11-11 20:43:46 +00:00
Fred Drake c384d7560e (myformat.perl): Updated to allow library reference manual to be handled by
latex2html.  Mostly added support for custom environments and some
	of the smaller commands used in the library reference (\e, \optional).
1996-11-11 16:04:35 +00:00
Guido van Rossum b54f4dea73 Added 'Introduction' section head and 'Memory Management' subsection. 1996-11-06 15:47:58 +00:00
Guido van Rossum 76e47f3d75 Change last Ellipses to Ellipsis :-( 1996-11-02 17:05:21 +00:00
Fred Drake f93f101450 (Makefile): Updated latex2html support. 1996-10-29 16:07:46 +00:00
Fred Drake 7a7480dc84 (myformat.perl): Added handler for cfuncdesc environment. This is needed
for the extending & embedding manual.
1996-10-29 15:56:57 +00:00
Fred Drake eb33c781f3 (myformat.sty, extref.tex): Moved definition of cfuncdesc environment to
myformat.sty; having it in extref.tex confuses LaTeX2HTML.
1996-10-29 15:55:08 +00:00
Fred Drake fd255e433f (tut.tex): Added matching \normalsize after \small font control command
(and the contents it was supposed to be affecting).  The latest
	LaTeX2HTML handles these, but didn't close it as expected.  This
	handles that problem and does not affect the PostScript output.
1996-10-29 15:50:05 +00:00
Fred Drake abcb38250b (texi2html.py): Minor improvement to HTML 3.0 output for code examples. 1996-10-25 22:13:59 +00:00
Fred Drake 893e5e0a15 (partparse.py): Fix nasty bug where \e got translated to @e only within
the optional arg of an \item[].
1996-10-25 22:13:10 +00:00
Guido van Rossum 61f9139125 Added disclaimer. 1996-10-25 15:40:20 +00:00
Guido van Rossum 58e7a1a388 Updated notice. 1996-10-25 14:06:07 +00:00
Guido van Rossum 6240b0b773 Small nits only. 1996-10-24 22:49:13 +00:00
Guido van Rossum 52cf578382 Touched by FrameMaker :-( 1996-10-24 22:25:46 +00:00
Guido van Rossum fa7bfce0be Include updated title page. 1996-10-24 22:24:30 +00:00
Guido van Rossum f73f79b5fd Done with this for 1.4. 1996-10-24 22:14:06 +00:00
Guido van Rossum 3a26dd88af Done with the "New in 1.4" chapter. 1996-10-24 22:12:48 +00:00
Guido van Rossum 71445570c6 Removed CNRI copyright, changed notice to standard notice.
Added date and version to title.
1996-10-24 18:41:30 +00:00
Guido van Rossum a5a4c2a7d8 Correct truncated paragraph. 1996-10-24 14:47:44 +00:00
Guido van Rossum c148cd6cdd Ignore Frame backup and lock files. 1996-10-23 16:25:38 +00:00
Guido van Rossum 71ec03b731 Adapted to migration of reference manual to Frame. 1996-10-23 16:23:47 +00:00
Guido van Rossum 1775a517f5 Regenerated to remove hidden text from page 1. 1996-10-23 16:15:26 +00:00
Guido van Rossum db2318580a Frame versions of documents after mangling by Robin. 1996-10-22 22:13:21 +00:00
Guido van Rossum cb9fe887f2 Version number and date. 1996-10-22 22:01:03 +00:00
Guido van Rossum 1f17543ee7 Removed LaTeX version of reference manual. Added ref/ref.ps. 1996-10-22 20:00:02 +00:00
Guido van Rossum 6a05f951cd Got rid of most XXXes in the News chapter. Bumped the version to 1.4. 1996-10-22 19:27:46 +00:00
Guido van Rossum fd1e543316 New date and version number. 1996-10-22 19:00:46 +00:00
Guido van Rossum 36845ede60 Changed URL for PCT again. 1996-10-22 02:25:24 +00:00
Guido van Rossum a80c3988df Added chapter on restricted execution. 1996-10-22 01:12:13 +00:00
Guido van Rossum 6e308d7e40 Start new chapter on restricted execution. 1996-10-22 01:11:53 +00:00
Guido van Rossum 095538dd10 Actual text submitted by AMK. 1996-10-22 01:11:19 +00:00
Guido van Rossum c3d090cd4b Background chapter on restricted execution. Additional sections are
rexec and bastion.
1996-10-22 01:10:56 +00:00
Guido van Rossum 7e42caba01 Patches for Mac module docs by Jack 1996-10-15 14:37:31 +00:00
Fred Drake acc8754031 (partparse.py): Small change by Sjoerd to improve handle of X11 extension
documentation.
1996-10-14 16:20:42 +00:00
Guido van Rossum 9b0581192d Added embryonic description of fcntl.lockf(). Added pointer to that
in posixfile (which is obsolescent).
1996-10-11 17:43:34 +00:00
Fred Drake 22f7f9e671 (texi2html.py): Added CLASS=Navigation attribute to DIV around top/bottom
navigation links for HTML 3 version.

	Forced a blank line above the footnotes separator for HTML 2; at
	least one page did not get this spaced correctly.
1996-10-11 16:54:00 +00:00
Fred Drake 4bf1296e05 (libtypes.tex): Correct reversal of two words in description of
formatting strings.
1996-10-11 16:33:48 +00:00
Guido van Rossum 1dde7b737c Typos detected by Sjoerd 1996-10-11 15:57:17 +00:00
Fred Drake 11b6d24da0 (partparse.py): Small fix to do_datadesc(): in some odd cases the name of
data item was omitted, which also affected the indentation of the
	description.
1996-10-10 20:09:56 +00:00
Fred Drake 5f2aa7113d (Makefile): Push texi2html.py options into a make variable. 1996-10-09 19:33:17 +00:00
Fred Drake 0282726643 (texi2html.py): Tightened the generated HTML slightly. Added -p option to
print section titles even when the debugging output is not enabled.
	Added -3 option to generate HTML 3.0 constructs where meaningful.

	Removed repititive garbage generation:  the old version added simple
	descriptive comments after every datadesc/funcdesc/*desc entry:

	function(args) -- function of module xxxx
	    Description....

	These comments are no longer generated:

	function(args)
	    Description....
1996-10-09 19:05:12 +00:00
Fred Drake 0b95abcba5 (Makefile): Add libformatter.tex to the library document dependencies. 1996-10-09 16:15:06 +00:00
Fred Drake 8f925959c6 (libhtmllib.tex, libsgmllib.tex, libformatter.tex):
Improve indexing somewhat.  Add small intros to the "implementations"
	sections of the formatter module doc.
1996-10-09 16:13:22 +00:00
Fred Drake 7edd8d3c58 (partparse.py): Rationalize some behavior around unexpected conditions. 1996-10-09 16:11:26 +00:00
Fred Drake e1980ed1f8 (lib.tex, libwww.tex): Include the sgmlib chapter before the htmllib
chapter to better reflect the relationship between the modules.
1996-10-09 14:36:54 +00:00
Fred Drake 53e84d5342 (lib.tex): Added entry for formatter module. 1996-10-08 21:54:41 +00:00
Fred Drake 08d301ec53 (libwww.tex): Added entry for formatter module. 1996-10-08 21:54:06 +00:00
Fred Drake e83b30d51e (libformatter.tex): Added documentation for abstract writer/formatter model
and implementation variants.
1996-10-08 21:53:33 +00:00
Fred Drake 58d7f69168 (libhtmllib.tex): Revised documentation for HTML support. 1996-10-08 21:52:23 +00:00
Fred Drake 42439ad738 (libsgmllib.tex): Revised documentation for SGML support. 1996-10-08 21:51:49 +00:00
Guido van Rossum 58124880cc A first stab at describing what's new in 1.4. Still many XXX'es left.
Also would like to add an "author's note" at the beginning, basically
pointing everyone to the books.
1996-10-08 17:29:56 +00:00
Guido van Rossum e86cbc43f2 Protect '&' signs with '\' in description of PyNumber_Coerce. 1996-09-27 17:28:03 +00:00
Guido van Rossum 3f247ade66 Nits corrected by Fred 1996-09-27 17:11:24 +00:00
Fred Drake a39a25e5ec (texi2html.py): Use "if __name__ == '__main__':" test. Adjust indentation
to 4 spaces per level (no longer 8).

(Makefile):  Use .pyc versions of partparse.py and texi2html.py to generate
	converted documentation formats.  This reduces the startup costs;
	probably doesn't affect anyone but me in reality, but helps when
	working on the docs.
1996-09-13 14:44:34 +00:00
Fred Drake 4b7d5a49ab (libparser.tex): Revised parser module documentation; improved logical
organization.
1996-09-11 21:57:40 +00:00
Guido van Rossum 36f219dff8 More performance and layout improvements by Fred 1996-09-11 21:30:40 +00:00
Guido van Rossum 2f666639f3 Added long getopt docs; by Fred 1996-09-11 21:26:29 +00:00
Guido van Rossum 5f18d6c7a0 Reformatted with 4 spaces indent.
Got rid of most redundant \ continuation signs.
1996-09-10 22:34:20 +00:00
Guido van Rossum 49604d3182 20% speedup by Fred 1996-09-10 22:19:51 +00:00
Guido van Rossum be0a8a6042 Added bastion and (dummy) rexec docs 1996-09-10 17:37:05 +00:00
Guido van Rossum c05797dd15 Fixed coerce docs 1996-09-10 17:36:17 +00:00
Guido van Rossum 8206fb9c4c Final set of changes by Fred before 1.4beta3 1996-08-26 00:33:29 +00:00
Guido van Rossum 93e2ee5753 New version/date 1996-08-23 15:45:37 +00:00
Guido van Rossum 97662c89fa Version number; started chapter on what's new in 1.4 1996-08-23 15:35:47 +00:00
Guido van Rossum f8daa4f7d9 Changes to dependencies (Fred) 1996-08-23 15:33:51 +00:00
Guido van Rossum 0011d93ee3 Niceties by Fred 1996-08-22 23:18:55 +00:00
Guido van Rossum d0f11dec30 Added documentation for PyObject_DelItem and PySequence_Del{Item,Slice}. 1996-08-21 19:08:12 +00:00
Guido van Rossum 4747887880 New batch from Fred 1996-08-21 14:32:37 +00:00
Guido van Rossum 1fd5b21425 Mention warning for exception in __del__. 1996-08-20 18:03:48 +00:00
Guido van Rossum 0a94dfcab8 Erase all memory of the access statement 1996-08-20 17:35:48 +00:00
Guido van Rossum 56b30ea664 Document actual behavior of splitext(). 1996-08-19 23:00:50 +00:00
Guido van Rossum 8823972cea Documented class exceptions. 1996-08-19 23:00:03 +00:00
Guido van Rossum 305ed11a74 Remove mention of HAVE_CONFIG_H 1996-08-19 22:59:46 +00:00
Guido van Rossum 40006cfd9b Added imghdr,xdrlib; reformatted Makefile somewhat 1996-08-19 22:58:03 +00:00
Guido van Rossum 29901ff528 Some improvements by Fred Drake. 1996-08-09 21:46:34 +00:00
Guido van Rossum eb8d5032b4 Separate .dvi and .ps targets.
More rational destination for texi2html.py.
1996-08-09 21:46:05 +00:00
Guido van Rossum e5e55d784d Added capitalize, capwords, lstrip, rstrip, and optional 3rd argument
to split.  Document new conventions for split(fields) and
join(fields), where the *fields variant is identical to the other.
1996-08-09 21:44:51 +00:00