Georg Brandl
45c088c2e7
Fix markup.
2007-12-05 19:49:21 +00:00
Georg Brandl
b8df156ab5
Add examples to re docs. Written for GHOP by Dan Finnie.
2007-12-05 18:30:48 +00:00
Georg Brandl
722e1011c9
Add examples to csv, pprint and traceback docs.
...
Written by Ross for GHOP.
2007-12-05 17:56:50 +00:00
Georg Brandl
c37f288ec6
Add tutorial and examples to logging docs, from GHOP student "oscar8thegrouch".
2007-12-04 17:46:27 +00:00
Georg Brandl
21c666501b
Fix duplicate label and a typo.
2007-12-04 16:50:28 +00:00
Christian Heimes
1206a227c9
Added warning that make install may overwrite or masquerade the default python binary. Use make altinstall instead.
...
A native English speaker may want to rephrase the paragraph. ;)
2007-12-04 16:36:20 +00:00
Georg Brandl
d95a1ee652
Add "Python on Unix" document, mostly written for GHOP
...
by Shriphani Palakodety.
2007-12-04 16:10:02 +00:00
Andrew M. Kuchling
6e751f4ffa
Grammar fix
2007-12-03 21:28:41 +00:00
Georg Brandl
0a0cf16de9
Add examples to the xmlrpclib docs.
...
Written for GHOP by Josip Dzolonga.
2007-12-03 20:03:46 +00:00
Christian Heimes
44eeaec173
Patch #1537 from Chad Austin
...
Change GeneratorExit's base class from Exception to BaseException
(This time I'm applying the patch to the correct sandbox.)
2007-12-03 20:01:02 +00:00
Georg Brandl
cbcfe4f3e4
#1548 : fix apostroph placement.
2007-12-03 19:57:02 +00:00
Facundo Batista
bd5b623257
Two small fixes. Issue 1547.
2007-12-03 19:49:54 +00:00
Martin v. Löwis
6b449f4f2b
Issue #1727780 : Support loading pickles of random.Random objects created
...
on 32-bit systems on 64-bit systems, and vice versa. As a consequence
of the change, Random pickles created by Python 2.6 cannot be loaded
in Python 2.5.
2007-12-03 19:20:02 +00:00
Georg Brandl
f19b951126
Add documentation for PySys_* functions.
...
Written by Charlie Shepherd for GHOP. Also fixes #1245 .
2007-12-02 21:58:54 +00:00
Georg Brandl
968a3e570d
Fix a sentence I missed before. Do not merge to 3k.
2007-12-02 18:17:50 +00:00
Georg Brandl
584265b001
Add more entries to the glossary.
...
Written by Jeff Wheeler for GHOP.
2007-12-02 14:58:50 +00:00
Georg Brandl
b15a8df519
Convert bdb.rst line endings to Unix style.
2007-12-02 14:37:29 +00:00
Georg Brandl
fefcd4ec40
Add example to mmap docs.
...
Written for GHOP by Rafal Rawicki.
2007-12-02 14:34:34 +00:00
Georg Brandl
87983f24cf
Add "Using Python on Windows" document, by Robert Lehmann.
...
Written for GHOP.
2007-12-01 23:12:45 +00:00
Georg Brandl
39bd059e42
Add examples to the ElementTree documentation.
...
Written by h4wk.cz for GHOP.
2007-12-01 22:42:46 +00:00
Georg Brandl
ebb035ef29
Add a few refcount data entries.
2007-12-01 22:27:56 +00:00
Georg Brandl
16f1df91ce
Document PyEval_* functions from ceval.c.
...
Credits to Michael Sloan from GHOP.
2007-12-01 22:24:47 +00:00
Christian Heimes
3e76d9346b
Added one more missing versionadded tag
2007-12-01 15:40:22 +00:00
Georg Brandl
861320d5a7
Add versionadded tags missing in r59254. Do NOT merge to Py3k.
2007-12-01 13:23:04 +00:00
Christian Heimes
dfdfaab1c5
Feature #1534
...
Added PyFloat_GetMax(), PyFloat_GetMin() and PyFloat_GetInfo() to the float API.
Added a dictionary sys.float_info with information about the internal floating point type to the sys module.
2007-12-01 11:20:10 +00:00
Georg Brandl
81ddc1a69b
Move lchmod() docs to correct place, and add versionadded tags.
2007-11-30 22:04:45 +00:00
Christian Heimes
3628187b66
Fix for feature request #1528 Add os.fchmod
...
Georg Brandl has added fchmod() and fchown(). I've contributed lchown but I'm not able to test it on Linux. However it should be available on Mac and some other flavors of Unix.
I've made a quick test of fchmod() and fchown() on my system. They are working as expected.
2007-11-30 21:11:28 +00:00
Georg Brandl
82225b7737
Add more examples to the wsgiref docs.
...
From GHOP by Josip Dzolonga.
2007-11-29 23:00:03 +00:00
Georg Brandl
430e3620b6
Add examples to the ConfigParser documentation.
...
Credits go to Thomas Lamb, who wrote this as a task in the GHOP contest.
2007-11-29 17:02:34 +00:00
Georg Brandl
9d83daa03d
Fix reference target.
2007-11-29 17:01:20 +00:00
Christian Heimes
d7b333779a
Added py3kwarning to the documentation of the sys module.
2007-11-28 08:02:36 +00:00
Christian Heimes
28104c58d2
Expose Py_Py3kWarningFlag as sys.py3kwarning as discussed in #1504
...
Also added a warning.warnpy3k() as convenient method for Python 3.x related deprecation warnings.
2007-11-27 23:16:44 +00:00
Martin v. Löwis
c8dfd588c2
Bug #1494 : Document that appendChild removes first.
2007-11-24 18:33:40 +00:00
Georg Brandl
b67da6ed2b
#1735632 : add O_NOATIME constant to os module.
...
Also document a few other O_ constants that were missing from documentation.
2007-11-24 13:56:09 +00:00
Georg Brandl
f8b6abd972
#1355 : remove mention of PyXML from xml.dom docs.
2007-11-24 11:42:14 +00:00
Georg Brandl
586edab279
#1467 : fix documentation for TestResult.add{Error,Failure}.
2007-11-24 11:39:13 +00:00
Georg Brandl
439f250c00
#1344 : document that you need to open std{in,out,err} with PIPE if you want
...
communicate() to work as described.
2007-11-24 11:31:46 +00:00
Andrew M. Kuchling
f7b462f696
Add item
2007-11-23 13:37:39 +00:00
Facundo Batista
c0458830fb
Fixed detail in add_type() explanation (issue 1463).
2007-11-19 16:30:24 +00:00
Neal Norwitz
76e4d62822
Use a slightly more recent version than 1.5.2b2.
2007-11-19 01:46:20 +00:00
Brett Cannon
5cf449cfb2
Remove a confusing sentence about pth files and which directories are searched
...
for them.
Closes issue #1431 . Thanks Giambattista Bloisi for the help.
2007-11-17 07:07:29 +00:00
Raymond Hettinger
8465ae8cea
Fix signature in example
2007-11-17 01:51:22 +00:00
Raymond Hettinger
bc693491eb
Add example for use cases requiring default values.
2007-11-15 22:39:34 +00:00
Raymond Hettinger
7c3738e11c
Example of multiple replacements.
2007-11-15 03:16:09 +00:00
Raymond Hettinger
213ae014db
Fixup example in docs.
2007-11-15 02:58:20 +00:00
Raymond Hettinger
5681cbce81
Small improvement to the implementation of __replace__().
2007-11-15 02:55:42 +00:00
Raymond Hettinger
eeeb9c4445
Accept Issac Morland's suggestion for __replace__ to allow multiple replacements
...
(suprisingly, this simplifies the signature, improves clarity, and is comparably fast).
Update the docs to reflect a previous change to the function name.
Add an example to the docs showing how to override the default __repr__ method.
2007-11-15 02:44:53 +00:00
Georg Brandl
b5b6f3c46e
Remove dead link from random docs.
2007-11-14 13:59:09 +00:00
Georg Brandl
03c1d1e9c4
Remove duplication of "this".
2007-11-11 15:16:16 +00:00
Georg Brandl
87426cb151
Fix misleading example.
2007-11-09 13:08:48 +00:00