Commit Graph

44411 Commits

Author SHA1 Message Date
Georg Brandl c8c60c2284 Do not put a raw REPLACEMENT CHARACTER in the document. 2010-11-19 22:09:04 +00:00
Fred Drake c5b0ec0a83 remove documentation for something that's gone 2010-11-19 21:24:25 +00:00
Antoine Pitrou 98b644ff3f Fix test_ssl_presence when ssl is not present 2010-11-19 20:07:52 +00:00
Alexander Belopolsky 93a6b13f96 Issue #4153: Updated Unicode HOWTO. 2010-11-19 16:09:58 +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
Antoine Pitrou de609186fc Wrap all test_nntplib methods accessing a remote server in a transient_internet()
exception catcher.  Wrapping the initial connection routine is not sufficient
as network timeouts can then occur as part of NNTP commands.
2010-11-18 17:29:23 +00:00
Senthil Kumaran 6a0b5c414c Code Changes as per review comments by Antoine Pitrou. 2010-11-18 17:08:48 +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
Senthil Kumaran daa29d01b7 Fix Issue2244 - urllib unquotes user and password info multiple times - Patch by Theodore Turocy 2010-11-18 15:36:41 +00:00
Stefan Krah d8b661dd90 Issue #10356: hash(Decimal("sNaN")) now raises ValueError instead of TypeError. 2010-11-18 15:20:34 +00:00
Antoine Pitrou d28f790b69 Make test_nntplib more robust when the "last" article in a group can't be retrieved 2010-11-18 15:11:43 +00:00
Senthil Kumaran 8ce1f1ff83 Fix Issue 9991: xmlrpc client ssl check faulty 2010-11-18 15:00:53 +00:00
Éric Araujo b10089edba Remove spurious space that was breaking Vim’s reST highlighting. 2010-11-18 14:22:08 +00:00
Benjamin Peterson 29bd840dee reduce try block compass 2010-11-18 14:14:43 +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
Michael Foord bcc4810002 Remove duplicate period from reference doc 2010-11-18 11:02:50 +00:00
Alexander Belopolsky 9a4030ee75 Issue #10446 NEWS entry 2010-11-18 03:50:18 +00:00
Brett Cannon 0ffe6a9760 Fix a minor inconsistency in capitalization for the 'No module named' exception
message in importlib.

Thanks to Éric Araujo for spotting the inconsistency.
2010-11-18 03:03:04 +00:00
Brian Curtin 8fb9b868bd Fix #8886. Use context managers throughout the test. 2010-11-18 02:15:28 +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
Benjamin Peterson f609654b0e handle dict subclasses gracefully in PyArg_ValidateKeywordArguments 2010-11-17 22:33:12 +00:00
Antoine Pitrou 12ae290bf3 Use laxer timeouts in barrier tests 2010-11-17 21:55:41 +00:00
David Malcolm 82e73cb951 Issue #9518: Extend the PyModuleDef_HEAD_INIT macro to explicitly
zero-initialize all fields, fixing compiler warnings seen when building
extension modules with gcc with "-Wmissing-field-initializers" (implied
by "-W")
2010-11-17 21:20:18 +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
Stefan Krah dc817b229c Issue #10356: Decimal(-1).__hash__() should equal hash(Decimal(-1)). 2010-11-17 11:16:34 +00:00
Brian Quinlan 3ec60183a4 Removes an inefficient spin loop in as_completed 2010-11-17 11:06:29 +00:00
Ezio Melotti 42dd524cff Fix typo 2010-11-16 20:57:59 +00:00
Matthias Klose bee3316083 Modules/_io/bufferedio.c (buffered_dealloc_warn): Make it static. 2010-11-16 20:07:51 +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
Antoine Pitrou dbe7519da9 Issue #10429: IMAP.starttls() stored the capabilities as bytes objects,
rather than strings.
2010-11-16 17:55:26 +00:00
Antoine Pitrou 36c0dbc9be Avoid some BytesWarnings when running test_imaplib in verbose mode 2010-11-16 17:49:46 +00:00
Georg Brandl 9b0034d040 Post-release bumps. 2010-11-16 15:15:56 +00:00
Georg Brandl 97b20da02f Add stub for PEP 3148. 2010-11-16 15:15:29 +00:00
Alexander Belopolsky 83283c270a Issue #10413: Updated comments to reflect code changes 2010-11-16 14:29:01 +00:00
Vinay Sajip 8593ae6451 Logging: added stack_info argument. 2010-11-14 21:33:04 +00:00
Raymond Hettinger b6b76c2f78 Issue 10410: An iterable is not necessarily a container. 2010-11-14 05:27:15 +00:00
Georg Brandl 57f2d62075 Tagging 3.2a4. 2010-11-13 13:25:56 +00:00
Georg Brandl 4fbc0d8baa Minor edits. 2010-11-13 13:25:40 +00:00
Senthil Kumaran 74ebd9e6a3 Fix Issue5111 - Wrap the Ipv6 host with [] in the Host header 2010-11-13 12:27:49 +00:00
Mark Dickinson 5ccafbadda Streamline a cmath test (and fix some overlong lines into the bargain). 2010-11-13 10:43:40 +00:00
Mark Dickinson fec6620dfb Make Fraction(-1).__hash__() return -2 rather than -1 (see issue 10356). 2010-11-13 10:27:38 +00:00
Georg Brandl 24854cac99 Bump to 3.2a4. 2010-11-13 06:39:58 +00:00
Georg Brandl ac12787075 Ignore suspicious-ignore file. 2010-11-13 06:38:37 +00:00
Georg Brandl 1fd63dc7ac Update pydoc topics. 2010-11-13 06:36:58 +00:00
Fred Drake 5a7c11f92f fix copy-editing level nits 2010-11-13 05:24:17 +00:00
Fred Drake 11c49a5213 use appropriate markup 2010-11-13 04:24:26 +00:00
Antoine Pitrou 45ca987495 Switch from gmane to another provider for NNTP tests (as gmane isn't reliable
enough).  Also, use setUpClass in order to connect only once per test run.
2010-11-13 00:28:53 +00:00
Éric Araujo 67a93ae4ed And now for something completely different: Finish fixing #10252 again. 2010-11-12 22:25:23 +00:00