Commit graph

47866 commits

Author SHA1 Message Date
Georg Brandl
89197fe93c socket.gethostbyname(socket.gethostname()) can fail when host name resolution is not set up correctly; do not fail test_socket if this is the case. 2010-11-20 14:16:17 +00:00
Georg Brandl
cd6bb26fa7 #10460: an even better indent.pro. 2010-11-20 14:08:53 +00:00
Georg Brandl
bab3378f36 #10439: document PyCodec C APIs. 2010-11-20 13:44:41 +00:00
Georg Brandl
b6b74a7123 #10460: Update indent.pro to match PEP 7 better. 2010-11-20 11:47:10 +00:00
Georg Brandl
fbef44f255 Merged revisions 85970 via svnmerge from
svn+ssh://svn.python.org/python/branches/py3k

........
  r85970 | georg.brandl | 2010-10-30 10:29:28 +0200 (Sa, 30 Okt 2010) | 1 line

  #10198: fix duplicate header when writeframes() is called with an empty string.
........
2010-11-20 11:29:58 +00:00
Georg Brandl
7fef7a8375 Blocked revisions 86555 via svnmerge
........
  r86555 | georg.brandl | 2010-11-20 12:25:01 +0100 (Sa, 20 Nov 2010) | 1 line

  #10465: fix broken delegation in __getattr__ of _PaddedFile.
........
2010-11-20 11:26:56 +00:00
Georg Brandl
9f1c1dcde3 #10465: fix broken delegation in __getattr__ of _PaddedFile. 2010-11-20 11:25:01 +00:00
Mark Dickinson
4ccc137aff Issue #9920: Skip tests for cmath.atan and cmath.atanh applied to
complex zeros on systems where the log1p function fails to respect
the sign of zero.  This fixes a test failure on AIX.
2010-11-20 11:08:27 +00:00
Mark Dickinson
6646cd45be Issue #10325: Fix two issues in the fallback definitions of PY_LLONG_MAX and
PY_ULLONG_MAX in pyport.h.  Thanks Hallvard B Furuseth for the patch.
2010-11-20 10:43:10 +00:00
Mark Dickinson
ec0d355836 Regenerated configure and pyconfig.h.in. 2010-11-20 10:29:12 +00:00
Georg Brandl
54445adfd3 Fix rst markup errors. 2010-11-20 10:24:34 +00:00
Ezio Melotti
75b2a5ee11 Use correct markup for True/False/None 2010-11-20 10:13:45 +00:00
Mark Dickinson
7edecdd222 Add configure-time test for log1p disrespecting zero sign. 2010-11-20 10:09:56 +00:00
Ezio Melotti
22170edaf5 Add a few labels and links to unittest doc 2010-11-20 09:57:27 +00:00
Benjamin Peterson
787cddc93d Merged revisions 86545 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r86545 | benjamin.peterson | 2010-11-19 22:31:07 -0600 (Fri, 19 Nov 2010) | 1 line

  new plan: functions that want 'tmp' can declare it
........
2010-11-20 04:37:00 +00:00
Benjamin Peterson
d8f6597318 new plan: functions that want 'tmp' can declare it 2010-11-20 04:31:07 +00:00
Brian Quinlan
b304d0b46f Fixes a timing-related failure on Windows (issue 10183) 2010-11-20 04:09:35 +00:00
R. David Murray
fdd52bea44 Blocked revisions 86542 via svnmerge
........
  r86542 | r.david.murray | 2010-11-19 22:48:58 -0500 (Fri, 19 Nov 2010) | 2 lines

  Make test class name unique so that both test classes run.
........
2010-11-20 04:00:05 +00:00
R. David Murray
722b5fdbb8 Make test class name unique so that both test classes run. 2010-11-20 03:48:58 +00:00
Benjamin Peterson
e82c169622 Merged revisions 86540 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r86540 | benjamin.peterson | 2010-11-19 20:01:45 -0600 (Fri, 19 Nov 2010) | 1 line

  c89 declarations
........
2010-11-20 02:04:14 +00:00
Benjamin Peterson
0e9e98edc7 c89 declarations 2010-11-20 02:01:45 +00:00
Benjamin Peterson
aab9585130 Merged revisions 86538 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r86538 | benjamin.peterson | 2010-11-19 19:38:49 -0600 (Fri, 19 Nov 2010) | 1 line

  use %R format code; fixes invalid dereferencing #10391
........
2010-11-20 01:48:38 +00:00
Benjamin Peterson
5b066817e2 use %R format code; fixes invalid dereferencing #10391 2010-11-20 01:38:49 +00:00
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
c9a9417f48 Merged revisions 86533 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r86533 | antoine.pitrou | 2010-11-19 21:07:52 +0100 (ven., 19 nov. 2010) | 3 lines

  Fix test_ssl_presence when ssl is not present
........
2010-11-19 20:10:53 +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
92165e6af7 Merged revisions 86528 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r86528 | ezio.melotti | 2010-11-18 21:48:27 +0200 (Thu, 18 Nov 2010) | 1 line

  #10455: fix typo
........
2010-11-18 19:49:19 +00:00
Ezio Melotti
b970142707 #10455: fix typo 2010-11-18 19:48:27 +00:00
Alexander Belopolsky
689aa6d3fa Merged revisions 86526 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r86526 | alexander.belopolsky | 2010-11-18 13:50:13 -0500 (Thu, 18 Nov 2010) | 1 line

  Issue 7828: Fixed chr() and ord() documentation for wide characters
........
2010-11-18 18:52:11 +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
dae5b84fe7 Merged revisions 86523 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r86523 | senthil.kumaran | 2010-11-19 01:08:48 +0800 (Fri, 19 Nov 2010) | 3 lines

  Code Changes as per review comments by Antoine Pitrou.
........
2010-11-18 17:11:45 +00:00
Senthil Kumaran
6a0b5c414c Code Changes as per review comments by Antoine Pitrou. 2010-11-18 17:08:48 +00:00
Senthil Kumaran
723a7a6d93 Merged revisions 86520 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r86520 | senthil.kumaran | 2010-11-18 23:36:41 +0800 (Thu, 18 Nov 2010) | 3 lines

  Fix Issue2244 - urllib unquotes user and password info multiple times - Patch by Theodore Turocy
........
2010-11-18 16:44:38 +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
f2849f0fb4 Merged revisions 86514 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r86514 | senthil.kumaran | 2010-11-18 23:00:53 +0800 (Thu, 18 Nov 2010) | 3 lines

  Fix Issue 9991: xmlrpc client ssl check faulty
........
2010-11-18 15:04:41 +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
4979b9b91e Merged revisions 86504 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r86504 | alexander.belopolsky | 2010-11-17 20:52:54 -0500 (Wed, 17 Nov 2010) | 15 lines

  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:58:16 +00:00