Antoine Pitrou
810023db3e
Issue #8844 : Regular and recursive lock acquisitions can now be interrupted
...
by signals on platforms using pthreads. Patch by Reid Kleckner.
2010-12-15 22:59:16 +00:00
Éric Araujo
119cda0fd2
Mark up one missed None in pkgutil.rst ( #8851 )
2010-12-15 22:37:27 +00:00
Terry Reedy
17a59252e8
Issue 10534, difflib: tweak doc; test new SequenceMatcher instance attributes; avoid unneeded lists of SM.b2j keys and items in .__chain_b. Do not backport.
2010-12-15 20:18:10 +00:00
Éric Araujo
67f0b6c5f2
Use nested method directives, rewrap long lines, fix whitespace.
2010-12-15 19:30:15 +00:00
Éric Araujo
d00862ac27
Improve trace documentation ( #9264 ). Patch by Eli Bendersky.
2010-12-15 19:09:58 +00:00
Antoine Pitrou
b8eb9cbd71
Move the urllib-inherited API to a distinguished section
2010-12-15 19:07:26 +00:00
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
Georg Brandl
500be24a64
Fix indentation.
2010-12-03 19:56:42 +00:00
Antoine Pitrou
bed81c882b
Add an "advanced topics" section to the io doc.
2010-12-03 19:14:17 +00:00
Terry Reedy
74a7c67db1
2010-12-03 18:57:42 +00:00
Georg Brandl
38e117d20a
Fix punctuation.
2010-12-03 17:19:27 +00:00
Łukasz Langa
b6a6f5f886
Issue 10499: Modular interpolation in configparser
2010-12-03 16:28:00 +00:00
Georg Brandl
1eb40bc945
Markup consistency fixes.
2010-12-03 15:30:09 +00:00
Nick Coghlan
37ee850b10
Issue 2690: Add support for slicing and negative indices to range objects (includes precalculation and storage of the range length).
...
Refer to the tracker issue for the language moratorium implications of this change
2010-12-03 14:26:13 +00:00
Vinay Sajip
615615291f
logging: Added getLogRecordFactory/setLogRecordFactory with docs and tests.
2010-12-03 11:50:38 +00:00
Georg Brandl
34e9fc2e82
Add a line with the actual changes.
2010-12-03 09:45:33 +00:00
Nick Coghlan
7bb30b72d8
Improve Pydoc interactive browsing ( #2001 ). Patch by Ron Adam.
...
* A -b option to start an enhanced browsing session.
* Allow -b and -p options to be used together.
* Specifying port 0 will pick an arbitrary unused socket port.
* A new browse() function to start the new server and browser.
* Show Python version information in the header.
* A *Get* field which takes the same input as the help() function.
* A *Search* field which replaces the Tkinter search box.
* Links to *Module Index*, *Topics*, and *Keywords*.
* Improved source file viewing.
* An HTMLDoc.filelink() method.
* The -g option and the gui() and serve() functions are deprecated.
2010-12-03 09:29:11 +00:00
R. David Murray
bb7b753cfc
Add missing versionchanged, correct 'throw' wording to 'raise'.
2010-12-03 04:26:18 +00:00
R. David Murray
b579dba119
#1486713 : Add a tolerant mode to HTMLParser.
...
The motivation for adding this option is that the the functionality it
provides used to be provided by sgmllib in Python2, and was used by,
for example, BeautifulSoup. Without this option, the Python3 version
of BeautifulSoup and the many programs that use it are crippled.
The original patch was by 'kxroberto'. I modified it heavily but kept his
heuristics and test. I also added additional heuristics to fix #975556 ,
#1046092 , and part of #6191 . This patch should be completely backward
compatible: the behavior with the default strict=True is unchanged.
2010-12-03 04:06:39 +00:00
Brian Curtin
79cdb661f5
Fix #10554 . Added context manager support to Popen objects.
...
Added a few common Popen uses to the tests like we've done for a few other
instances of adding context managers. Eventually the entire test suite
could be converted to use the context manager format.
2010-12-03 02:46:02 +00:00
Raymond Hettinger
2d93e6ee63
Update the itertools.accumulate() docs.
2010-12-03 02:33:53 +00:00
Raymond Hettinger
d8ff4658fb
Simplify the signature for itertools.accumulate() to match numpy. Handle one item iterable the same way as min()/max().
2010-12-03 02:09:34 +00:00
Michael Foord
5074df623b
Issue 7911: unittest.TestCase.longMessage defaults to True for improved failure messages by default
2010-12-03 00:53:09 +00:00
Georg Brandl
1203720ffb
Re-add accidentally removed line.
2010-12-02 22:35:25 +00:00
R. David Murray
a0b44b5adb
#8989 : add 'domain' keyword to make_msgid.
...
Patch by Adrian von Bidder.
2010-12-02 21:47:19 +00:00
Brian Curtin
52173d4959
Fix #9333 . Expose os.symlink on Windows only when usable.
...
In order to create symlinks on Windows, SeCreateSymbolicLinkPrivilege
is an account privilege that is required to be held by the user. Not only
must the privilege be enabled for the account, the activated privileges for
the currently running application must be adjusted to enable the requested
privilege.
Rather than exposing an additional function to be called prior to the user's
first os.symlink call, we handle the AdjustTokenPrivileges Windows API call
internally and only expose os.symlink when the privilege escalation was
successful.
Due to the change of only exposing os.symlink when it's available, we can
go back to the original test skipping methods of checking via `hasattr`.
2010-12-02 18:29:18 +00:00
Georg Brandl
02524629f3
#7475 : add (un)transform method to bytes/bytearray and str, add back codecs that can be used with them from Python 2.
2010-12-02 18:06:51 +00:00
Georg Brandl
c1673681fd
Fix-up documentation of makedirs().
2010-12-02 09:06:12 +00:00
Terry Reedy
5a22b65117
Issue 9299 Add exist_ok parameter to os.makedirs to suppress 'File exists' exception. Patch by Ray Allen.
2010-12-02 07:05:56 +00:00
Raymond Hettinger
3cdf871a8c
Neaten-up random module docs.
2010-12-02 05:35:35 +00:00
Raymond Hettinger
2fdc7b1f75
Add an example to the random docs.
2010-12-02 02:41:33 +00:00
Raymond Hettinger
30c7362436
Clean-up last update (missing comma, unnecessary spacing change, spurious backtick).
2010-12-01 23:45:20 +00:00
Raymond Hettinger
adb8146e53
Add itertools.accumulate().
2010-12-01 22:50:36 +00:00
Georg Brandl
419e3de373
Fix some markup and style in the unittest docs.
2010-12-01 15:44:25 +00:00
Raymond Hettinger
5ce0aa236f
Add recipe to itertools doc.
2010-12-01 10:49:19 +00:00
Raymond Hettinger
c79fb0e52d
Issue 10593: Adopt Nick's suggestion for an lru_cache with maxsize=None.
2010-12-01 03:45:41 +00:00
Ezio Melotti
ed3a7d2d60
#10273 : Rename assertRegexpMatches and assertRaisesRegexp to assertRegex and assertRaisesRegex.
2010-12-01 02:32:32 +00:00
Ezio Melotti
6090187656
#10535 : Enable silenced warnings in unittest by default
2010-12-01 00:56:10 +00:00
Raymond Hettinger
00f2f97dbd
Doc and docstring nits.
2010-12-01 00:47:56 +00:00
Raymond Hettinger
cc03858d8f
Documentation nits.
2010-11-30 20:02:57 +00:00
Raymond Hettinger
7496b4171e
Add example, tighten text, and minor clean-ups.
2010-11-30 19:15:45 +00:00
Daniel Stutzbach
d01df46848
Fix typo: "ofbytes" should be "of bytes"
2010-11-30 17:49:53 +00:00
Raymond Hettinger
dcb4491b0a
Add some internal links.
2010-11-30 17:45:41 +00:00
Éric Araujo
ff2a4ba78c
Let’s keep “throw” for the generator method and use “raise” elsewhere.
2010-11-30 17:20:31 +00:00
Nick Coghlan
9fc443cf59
Issue 9873: the URL parsing functions now accept ASCII encoded byte sequences in addition to character strings
2010-11-30 15:48:08 +00:00
Georg Brandl
5aa580f279
Fix typo.
2010-11-30 14:57:54 +00:00
Georg Brandl
8f358aa758
#10584 : fix bad links.
2010-11-30 07:43:28 +00:00
Raymond Hettinger
5e20bab422
Neaten-up a bit.
2010-11-30 07:13:04 +00:00
Nick Coghlan
234515afe5
Issue 10586: change the new functools.lru_cache implementation to expose the maximum and current cache sizes through the public statistics API. This API is now a single function that returns a named tuple.
2010-11-30 06:19:46 +00:00
Georg Brandl
8175daec10
Fix heading style inconsistencies.
2010-11-29 14:53:15 +00:00
Georg Brandl
51be98a920
Fix indentation bug.
2010-11-29 14:50:54 +00:00
Senthil Kumaran
6f1070485f
Fix #10561 - Fix pdb behavior. Delete the breakpoints by breakpoint number.
...
Handle multiple breakpoints at same line. Update docs/test.
Patch by Xavier de Gaye.
2010-11-29 11:54:17 +00:00
Raymond Hettinger
40b8cf528f
Do not add an obsolete unittest name to Py3.2.
2010-11-29 01:38:25 +00:00
Ezio Melotti
1de911592e
Add callable() to the built-in functions table.
2010-11-28 04:18:54 +00:00
Benjamin Peterson
f6861ae12a
there's now a setup.py switch for this
2010-11-28 02:51:28 +00:00
Antoine Pitrou
e71362d3de
Issue #10518 : Bring back the callable() builtin.
...
Approved by Guido (BDFL) and Georg (RM).
2010-11-27 22:00:11 +00:00
Terry Reedy
dc9b17d922
Add version-added note twice for new difflib SequenceMatcher autojunk parameter.
2010-11-27 20:52:14 +00:00
Raymond Hettinger
6e165b30de
Issue 10242: unittest.assertItemsEqual makes too many assumptions.
2010-11-27 09:31:37 +00:00
Éric Araujo
76338ec37d
Rewrap long lines + minor edits
2010-11-26 23:46:18 +00:00
Éric Araujo
8acb67c059
Use link-generating markup (see #9312 )
2010-11-26 23:31:07 +00:00
Georg Brandl
62f52c484d
Remove parenthetical remark that is confusing now that the module is not named "__builtin__" anymore.
2010-11-26 12:08:19 +00:00
Georg Brandl
f51a6c7d74
#10420 : fix docs of bdb.effective().
2010-11-26 12:05:48 +00:00
Eric Smith
984bb58000
Issue #7094 : Add alternate ('#') flag to __format__ methods for float, complex and Decimal. Allows greater control over when decimal points appear. Added to make transitioning from %-formatting easier. '#g' still has a problem with Decimal which I'll fix soon.
2010-11-25 16:08:06 +00:00
Terry Reedy
99f9637de8
Issue 2986: Add autojunk paramater to SequenceMatcher to turn off heuristic. Patch by Terry Reedy, Eli Bendersky, and Simon Cross
2010-11-25 06:12:34 +00:00
Ezio Melotti
17f9b3d289
Add NEWS entry for r86732 and fix double function in the table.
2010-11-24 22:02:18 +00:00
Brian Curtin
1b9df39620
Fix #8879 . Add os.link support to Windows.
...
Additionally, the st_ino attribute of stat structures was not being filled
in. This was left out of the fix to #10027 and was noticed due to
test_tarfile failing when applying the patch for this issue. An earlier
version of the fix to #10027 included st_ino, but that attribute got lost
in the shuffle of a few review/fix cycles. All tests pass.
2010-11-24 20:24:31 +00:00
Ezio Melotti
f21c7ed39d
#10299 : Add a table that lists all the built-in functions in functions.rst
2010-11-24 20:18:02 +00:00
Terry Reedy
6d2ab7126e
Issue 1859: Doc that textwrap does not break on \n (pending possible behavior patch). Patch by Jeremy Thurgood.
2010-11-23 20:17:24 +00:00
Georg Brandl
57410c12e8
#10511 : clarification of what heaps are; suggested by Johannes Hoff.
2010-11-23 08:37:54 +00:00
Ezio Melotti
2baf1a69f4
#9424 : add a DeprecationWarning for assertEquals, assertNotEquals, assertAlmostEquals, assertNotAlmostEquals, and assert_
2010-11-22 12:56:58 +00:00
Éric Araujo
28053fb174
Remove unnecessary `object` base class in docs ( #10366 ).
...
Also add a note about inheritance from `object` being default.
2010-11-22 03:09:19 +00:00
Alexander Belopolsky
d4bbab278f
Issue #10138 : Removed 'indefinitely' from the proleptic calendar description.
2010-11-22 03:06:56 +00:00
Raymond Hettinger
2a07d6eefc
Issue 3292: Fixup to the Sequence docs.
2010-11-21 23:51:45 +00:00
Raymond Hettinger
0ef956f997
Issue 6722: Improve the namedtuple examples.
2010-11-21 23:23:29 +00:00
Michael Foord
086f30815c
Issue 10470: 'python -m unittest' launches test discovery by default.(If you need to pass options to test discovery the discover subcommand must still be specified explicitly.)
2010-11-21 21:28:01 +00:00
Mark Dickinson
47c74ac977
Issue #10488 : Bring documentation for 'float' builtin up to date.
2010-11-21 21:09:58 +00:00
Senthil Kumaran
e4dad4f8e2
Fix issue3709 - BaseHTTPRequestHandler will buffer the headers and write only on end_headers call.
2010-11-21 14:36:14 +00:00
Łukasz Langa
5c86339bd0
Issue #10489 : removed broken `__name__` support from configparser
2010-11-21 13:41:35 +00:00
Mark Dickinson
b2b2382dc4
Fix capitalization.
2010-11-21 07:37:49 +00:00
Nick Coghlan
2dad5cade4
Add a couple of missing versionadded tags in the inspect module docs
2010-11-21 03:55:53 +00:00
Nick Coghlan
e0f04659cd
Issue #10220 : Add inspect.getgeneratorstate(). Initial patch by Rodolpho Eckhardt
2010-11-21 03:44:04 +00:00
Éric Araujo
d3309df40b
Style edits in followup to r86521 ( #9312 )
2010-11-21 03:09:17 +00:00
Raymond Hettinger
2a1e3e29d4
Issue #7770 : Note the useful range of sin/cos in the decimal module examples.
2010-11-21 02:47:22 +00:00
Raymond Hettinger
fe502ea0e8
Clean-up the description of the range object.
2010-11-21 00:07:55 +00:00
Éric Araujo
0f44179422
Document index and count as part of the Sequence ABC ( #9746 )
2010-11-20 23:56:22 +00:00
Antoine Pitrou
b85b3afad0
In 3.x, bytearray is akin to bytes, not str.
2010-11-20 19:36:05 +00:00
Michael Foord
e516265bbc
Issue 9732: fetch the method resolution order from the type metaclass directly in getattr_static
2010-11-20 16:40:44 +00:00
Michael Foord
cc7ebb8f69
Issue 9732: remove use of __class__ in inspect.getattr_static and note the mro exception to code execution
2010-11-20 16:20:16 +00:00
Michael Foord
95fc51dfda
Issue 9732: addition of getattr_static to the inspect module
2010-11-20 15:07:30 +00:00
Ezio Melotti
75b2a5ee11
Use correct markup for True/False/None
2010-11-20 10:13:45 +00:00
Ezio Melotti
22170edaf5
Add a few labels and links to unittest doc
2010-11-20 09:57:27 +00:00
Ezio Melotti
b970142707
#10455 : fix typo
2010-11-18 19:48:27 +00:00
Alexander Belopolsky
5d4dd3eeb2
Issue 7828: Fixed chr() and ord() documentation for wide characters
2010-11-18 18:50:13 +00:00
Éric Araujo
713d3039dc
Fix usage of :option: in the docs ( #9312 ).
...
:option: is used to create a link to an option of python, not to mark
up any instance of any arbitrary command-line option. These were
changed to ````.
For modules which do have a command-line interface, lists of options
have been properly marked up with the program/cmdoption directives
combo. Options defined in such blocks can be linked to with :option:
later in the same file, they won’t link to an option of python.
Finally, the markup of command-line fragments in optparse.rst has
been cleaned to use ``x`` instead of ``"x"``, keeping that latter
form for actual Python strings.
Patch by Eli Bendersky and Éric Araujo.
2010-11-18 16:38:46 +00:00
Éric Araujo
b10089edba
Remove spurious space that was breaking Vim’s reST highlighting.
2010-11-18 14:22:08 +00:00
Kristján Valur Jónsson
6331520950
Issue 10260
...
Adding the wait_for() method to threading.Condition
2010-11-18 12:46:39 +00:00
Alexander Belopolsky
a47bbf5a4b
Issue #10446 : Several changes to module documentation generated by pydoc:
...
1. Online reference manual link is now version-specific and the
'MODULE DOCS' section renamed to 'MODULE REFERENCE'.
2. 'FILE' section is moved to the end of the file.
3. Special names processed by pydoc such as __version__ or __credits__
are now excluded from the DATA section.
4. Defined __all__ to prevent pydoc from exposing undocumented details
about itself.
5. Removed Python 2.3 compatibility code.
2010-11-18 01:52:54 +00:00
Antoine Pitrou
664c2d1fc0
Issue #10443 : Add the SSLContext.set_default_verify_paths() method.
2010-11-17 20:29:42 +00:00
Antoine Pitrou
b6d4ee5361
Issue #10440 : Support RUSAGE_THREAD as a constant in the resource module.
...
Patch by Robert Collins.
2010-11-17 16:19:35 +00:00
Éric Araujo
6e6cb8e0e4
Provide links to Python source where the code is short, readable and
...
informative adjunct to the docs. Forward-port of Raymond's r86225 and
r86245 using the new source reST role added in #10334 .
2010-11-16 19:13:50 +00:00
Vinay Sajip
8593ae6451
Logging: added stack_info argument.
2010-11-14 21:33:04 +00:00
Fred Drake
5a7c11f92f
fix copy-editing level nits
2010-11-13 05:24:17 +00:00
Antoine Pitrou
f3b001f966
Issue #4471 : Add the IMAP.starttls() method to enable encryption on
...
standard IMAP4 connections. Original patch by Lorenzo M. Catucci.
2010-11-12 18:49:16 +00:00
Georg Brandl
40d23e81dc
Fix weird line block in table.
2010-11-12 08:09:26 +00:00
Georg Brandl
5e92a50ac0
#10008 : Fix duplicate index entry.
2010-11-12 06:20:12 +00:00
R. David Murray
c7399d0a0f
#7950 : add warning about security implications of shell=True to subprocess docs
...
Patch by Chris Rebert.
2010-11-12 00:35:31 +00:00
R. David Murray
6495136e40
#1466065 : add validate option to base64.b64decode
...
Patch by Neil Tallim. This provides a mechanism for module
users to achieve RFC 3548 compliance in the cases where ignoring
non-base64-alphabet input characters is *not* mandated by the RFC that
references RFC 3548.
2010-11-11 20:09:20 +00:00
Georg Brandl
bb27c128a5
Review the new configparser docs.
2010-11-11 07:26:40 +00:00
Łukasz Langa
26d513cf2f
Issue #5412 : extend configparser to support mapping access
2010-11-10 18:57:39 +00:00
Ask Solem
ff7ffdd752
Issue #8028 : multiprocessing: Documented that ``Process.terminate``
...
is only intented for use by the parent process.
2010-11-09 21:52:33 +00:00
Ask Solem
518eaa8a76
Issue #7707 : Documented that multiprocessing.Queue operations during
...
import can lead to deadlocks.
2010-11-09 21:46:03 +00:00
Ask Solem
1d3b89397b
Documented the new error_callback keyword argument to multiprocessing.Pool's apply_async and map_async
2010-11-09 21:36:56 +00:00
Antoine Pitrou
fb0469112f
Issue #10022 : The dictionary returned by the `getpeercert()` method
...
of SSL sockets now has additional items such as `issuer` and `notBefore`.
2010-11-09 20:21:19 +00:00
Antoine Pitrou
859c4ef0a0
Make `usenetrc` False by default (the old behaviour of having it True by
...
default could be rather confusing).
2010-11-09 18:58:42 +00:00
Antoine Pitrou
1cb121ecea
Issue #1926 : Add support for NNTP over SSL on port 563, as well as
...
STARTTLS. Patch by Andrew Vant.
2010-11-09 18:54:37 +00:00
Alexander Belopolsky
14fb79977b
Issue #7061 : Added a 'Turtle star' sidebar
2010-11-09 18:40:03 +00:00
Alexander Belopolsky
e1f849c7d2
Fixed a typo in ReST markup.
2010-11-09 03:13:43 +00:00
Victor Stinner
58c0752a33
Issue #10335 : Add tokenize.open(), detect the file encoding using
...
tokenize.detect_encoding() and open it in read only mode.
2010-11-09 01:08:59 +00:00
R. David Murray
7dff9e08fb
#10321 : Add support for sending binary DATA and Message objects to smtplib
2010-11-08 17:15:13 +00:00
Georg Brandl
49d474195f
Fix typo.
2010-11-08 11:08:35 +00:00
Georg Brandl
facfb15bb9
Fix latex conversion glitch in property/feature descriptions.
2010-11-08 11:05:18 +00:00
Victor Stinner
e14e212221
Fix encode/decode method doc of str, bytes, bytearray types
...
* Specify the default encoding: write 'utf-8' instead of
sys.getdefaultencoding(), because the default encoding is now constant
* Specify the default errors value
2010-11-07 18:41:46 +00:00
Senthil Kumaran
7089a4e127
Fix Issue10226 - Clarifying the role of the netloc separator.
2010-11-07 12:57:04 +00:00
Mark Dickinson
4a3c7c4ecf
Issue #10145 : the float.is_integer method was undocumented.
2010-11-07 12:48:18 +00:00
Mark Dickinson
43ef32ae36
Issue 10297: Add missing import in decimal example snippet.
2010-11-07 11:24:44 +00:00
Eric Smith
5ad85f81b0
Added example for str.format_map().
2010-11-06 13:22:13 +00:00
Éric Araujo
1cb25aa2e3
Tweak example to make clear the argument is a boolean, not any integer.
...
With Raymond’s approval.
2010-11-06 07:03:07 +00:00
Éric Araujo
c6ecb012da
Fix wrapper/wrapped typo (with Raymond’s blessing)
2010-11-06 06:33:03 +00:00
Éric Araujo
8f9626b08b
Fix typo
2010-11-06 06:30:16 +00:00
Éric Araujo
2642ad07ee
Fix typo from r86170.
2010-11-06 04:59:27 +00:00
Antoine Pitrou
a078115434
Issue #10282 : Add a `nntp_implementation` attribute to NNTP objects.
2010-11-05 19:16:37 +00:00
Ezio Melotti
4841fd60fb
Merge the doc for assertTrue/False, assert[Not]AlmostEqual, assert[Not]RegexpMatches, rephrase a couple of paragraphs, and remove redundant doc about the msg arg.
2010-11-05 15:43:40 +00:00
Antoine Pitrou
08eeadac27
Issue #10283 : Add a `group_pattern` argument to NNTP.list().
2010-11-04 21:36:15 +00:00
Ezio Melotti
8f2e07b7d0
Move the deprecated aliases in a new section.
2010-11-04 19:09:28 +00:00
Eric Smith
27bbca6f79
Issue #6081 : Add str.format_map. str.format_map(mapping) is similar to str.format(**mapping), except mapping does not get converted to a dict.
2010-11-04 17:06:58 +00:00
Ezio Melotti
9794a26de9
Merge the doc for assertIs[Not], assertIs[Not]None, and assert[Not]IsInstance.
2010-11-04 14:52:13 +00:00
Raymond Hettinger
fd15191b92
Demote one warning to a note. There's no security risk here, just a note on usage and avialability.
2010-11-04 03:02:56 +00:00
Raymond Hettinger
f4477703a5
Put warning block in the main flow of text.
2010-11-04 02:39:07 +00:00
Phillip J. Eby
b6d4a8e4de
Implement http://bugs.python.org/issue10155 using And Clover's patch, w/added
...
docs and support for more client-generated CGI variables. (This should
complete the WSGI 1.0.1 compliance changes for Python 3.x.)
2010-11-03 22:39:01 +00:00
Ezio Melotti
327433f864
Divide the context manager signature from the normal one for consistency with the other methods.
2010-11-03 20:51:17 +00:00
Ezio Melotti
9c02c2ffa2
Minor cleanups to unittest doc.
2010-11-03 20:45:31 +00:00
Ezio Melotti
4370b30139
List the assert* methods in tables in unittest doc.
2010-11-03 20:39:14 +00:00
Antoine Pitrou
7dd1af00ad
Issue #10285 : explain the `flag` return field better in NNTP.list().
...
Patch by Julien Élie.
2010-11-03 18:32:54 +00:00
Antoine Pitrou
4103bc09a4
Issue #10281 : nntplib now returns None for absent fields in the OVER/XOVER
...
response, instead of raising an exception.
2010-11-03 18:18:43 +00:00
Phillip J. Eby
a01799f71a
Update docs (and sample app in wsgiref.simple_server) to reflect PEP 3333.
2010-11-03 00:46:45 +00:00
Michael Foord
7a26cb9772
Updating unittest docs to reflect change in unittest.TestCase.assert[Not]AlmostEqual signature change
2010-11-02 14:27:10 +00:00
Martin v. Löwis
16f344df36
Issue #10184 : Touch directories only once when extracting a tarfile.
2010-11-01 21:39:13 +00:00
Alexander Belopolsky
ea13d9d86b
Issue #10199 : Moved Demo/turtle under Lib/
2010-11-01 17:39:37 +00:00
Alexander Belopolsky
6509599056
Issue #7061 : Simplified a section title.
2010-11-01 15:45:34 +00:00
Raymond Hettinger
b373799e05
Issue 7447: Improve docs for sum().
2010-10-31 21:23:24 +00:00
Antoine Pitrou
e974571d36
Issue #10160 : Speed up operator.attrgetter. Patch by Christos Georgiou.
2010-10-31 15:26:04 +00:00