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
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
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
Guido van Rossum
08157f8db6
mention cPickle and cStringIO
1997-08-21 02:29:19 +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
9085822f28
the usual
1997-08-15 02:52:46 +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
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
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
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
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
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
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
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
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
e5bb790027
Added libmailbox, obsolete libstdwin
1997-06-02 17:35:51 +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
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
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
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
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
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
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
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
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
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
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
6240b0b773
Small nits only.
1996-10-24 22:49:13 +00:00
Guido van Rossum
f73f79b5fd
Done with this for 1.4.
1996-10-24 22:14:06 +00:00
Guido van Rossum
a5a4c2a7d8
Correct truncated paragraph.
1996-10-24 14:47:44 +00:00
Guido van Rossum
36845ede60
Changed URL for PCT again.
1996-10-22 02:25:24 +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