Commit graph

1877 commits

Author SHA1 Message Date
R. David Murray
d89bc3ff59 #10705: document what the values of debuglevel are and mean. 2010-12-15 02:19:14 +00:00
Vinay Sajip
9a6b400a59 Logging documentation update. 2010-12-14 19:40:21 +00:00
R. David Murray
ec07331eea #775964: skip YP/NIS entries instead of failing the test
Also includes doc updates mentioning that these entries may not
be retrievable via getgrnam and getgrgid.

Patch by Bobby Impollonia.
2010-12-14 16:20:53 +00:00
Gregory P. Smith
8edd99d085 Issue #6559: fix the subprocess.Popen pass_fds implementation. Add a unittest.
Issue #7213: Change the close_fds default on Windows to better match the new
default on POSIX.  True when possible (False if stdin/stdout/stderr are
supplied).

Update the documentation to reflect all of the above.
2010-12-14 13:43:30 +00:00
R. David Murray
7ec754b7da #1078919: make add_header automatically do RFC2231 encoding when needed.
Also document the use of three-tuples if control of the charset
and language is desired.
2010-12-13 23:51:19 +00:00
R. David Murray
796343b198 #10698: fix typo in example. 2010-12-13 22:50:30 +00:00
Vinay Sajip
fd94b173ce Logging documentation update. 2010-12-13 18:49:08 +00:00
Vinay Sajip
7292b884bd Logging documentation update. 2010-12-13 18:43:57 +00:00
Vinay Sajip
9466fe88a7 Logging documentatio update. 2010-12-13 08:54:02 +00:00
Gregory P. Smith
f560485388 Get rid of the close_fds DeprecationWarning. Changes the default on a per
platform basis.  It remains False on Windows and changes to True on all
other platforms (POSIX).  Based on python-dev discussion and
http://bugs.python.org/issue7213.
2010-12-13 06:45:02 +00:00
Vinay Sajip
1d5d6856e2 Logging documentation - further update. 2010-12-12 22:47:13 +00:00
Vinay Sajip
97b886dc8c Logging documentation - further update. 2010-12-12 22:45:35 +00:00
Vinay Sajip
36675b6a0f Logging documentation - further update. 2010-12-12 22:30:17 +00:00
Antoine Pitrou
7bdfe7755b Improve readability of the socket docs 2010-12-12 20:57:12 +00:00
Antoine Pitrou
64a467d790 Homogenize the "optional OS services" menu 2010-12-12 20:34:49 +00:00
Antoine Pitrou
f10f162db9 Consistent ordering of availability statements 2010-12-12 20:17:29 +00:00
Antoine Pitrou
e72b586b02 Fix heading level 2010-12-12 20:13:31 +00:00
Antoine Pitrou
a654090840 Remove redundant sentence, and fix markup 2010-12-12 20:09:18 +00:00
Antoine Pitrou
cc4edd59d6 Add link to the buffer protocol description from the memory description. 2010-12-12 20:01:43 +00:00
Antoine Pitrou
36730e8bc1 Make this a warning and fix indentation 2010-12-12 18:25:25 +00:00
Antoine Pitrou
19d6ce0f73 Obsolete aliases needn't be documented 2010-12-12 18:14:34 +00:00
Antoine Pitrou
b387ad6eec Remove reference to stuff which is already obsolete in 2.x. 2010-12-12 18:12:40 +00:00
Antoine Pitrou
c58bde159f SET_LINENO was removed in 2.3 2010-12-12 18:09:53 +00:00
Vinay Sajip
f234eb9c32 Logging documentation - further update. 2010-12-12 17:37:27 +00:00
Vinay Sajip
0e65cf0b6a Logging documentation - further update. 2010-12-12 13:49:39 +00:00
Vinay Sajip
5286ccfdf8 Logging documentation - further update. 2010-12-12 13:25:29 +00:00
Vinay Sajip
a18b959473 Logging documentation update. 2010-12-12 13:20:55 +00:00
Benjamin Peterson
28a4dce6a8 remove (un)transform methods 2010-12-12 01:33:04 +00:00
Alexander Belopolsky
fc55789cae Updated UCD version and unicode.org links to Unicode 6.0.0 2010-12-10 18:11:24 +00:00
Vinay Sajip
dfa0a2abcf Minor documentation tweak. 2010-12-10 08:17:05 +00:00
Georg Brandl
fb1720b0f5 Fix "seperate". 2010-12-09 18:08:43 +00:00
Victor Stinner
53a9dd776e Issue #10546: UTF-16-LE and UTF-16-BE *do* support non-BMP characters
Fix the doc and add tests.
2010-12-08 22:25:45 +00:00
Raymond Hettinger
c2c7c37377 Make the example a little more interesting and useful. 2010-12-07 09:44:21 +00:00
Raymond Hettinger
677e10a45e Add example for the entry for argparse 2010-12-07 06:45:30 +00:00
Raymond Hettinger
1fa7682c26 Note improvements to the docs. 2010-12-06 23:31:36 +00:00
Raymond Hettinger
6e35394ed5 Mention itertools.accumulate(). 2010-12-04 23:42:12 +00:00
Raymond Hettinger
d9404b5741 Doc nit. 2010-12-04 20:51:36 +00:00
Georg Brandl
46402378ca Fix markup errors. 2010-12-04 19:06:18 +00:00
Gregory P. Smith
8c647cd737 clarify the docs and new warning message. 2010-12-04 18:11:44 +00:00
Victor Stinner
13d49ee7d6 Issue #10601: sys.displayhook uses 'backslashreplace' error handler on
UnicodeEncodeError.
2010-12-04 17:24:33 +00:00
Georg Brandl
cbc79c76a8 Add display/undisplay pdb commands. 2010-12-04 16:21:42 +00:00
Georg Brandl
44f2b640ff #7245: Add a SIGINT handler on continue in pdb that allows to break a program again by pressing Ctrl-C. 2010-12-04 16:00:47 +00:00
Łukasz Langa
2cf9ddb390 configparser: fixed inconsistency where in SafeConfigParser option values
were ensured to be strings but section names and option keys were not.
 Behaviour unchanged for RawConfigParser and ConfigParser.
2010-12-04 12:46:01 +00:00
Georg Brandl
1acb746d79 Add the "interact" pdb command from pdb++. 2010-12-04 11:20:26 +00:00
Georg Brandl
732324a3f8 #7905: Actually respect the keyencoding parameter to shelve.Shelf. 2010-12-04 11:12:43 +00:00
Georg Brandl
8334fd9285 Add an "optimize" parameter to compile() to control the optimization level, and provide an interface to it in py_compile, compileall and PyZipFile. 2010-12-04 10:26:46 +00:00
Georg Brandl
d9e833c70a #6045: provide at least get() and setdefault() for all dbm modules. 2010-12-04 09:14:36 +00:00
Gregory P. Smith
d23047b62c issue7213 + issue2320: Cause a DeprecationWarning if the close_fds argument is
not passed to subprocess.Popen as the default value will be changing in a
future Python to the safer and more often desired value of True.

DeprecationWarnings that show up in a lot of existing code are controversial
and have caused pain in the past.  I'd like to leave this on for 3.2 beta1 and
see how things go.  We can remove the warning if it is deemed too noisy during
any betas.  (case study: the md5 and sha module DeprecationWarnings are loathed
around the world as those modules were never going to be removed in 2.x and
2to3 has a fixer for code that uses them)
2010-12-04 09:10:44 +00:00
Georg Brandl
e8b0d619b9 Fix typo. 2010-12-04 09:04:04 +00:00
Michael Foord
37d120aeb4 Issue 10620: Specifying test modules by path instead of module name to 'python -m unittest' 2010-12-04 01:11:21 +00:00