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