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