Commit graph

46175 commits

Author SHA1 Message Date
Senthil Kumaran
aa8954523c Merged revisions 84173 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r84173 | senthil.kumaran | 2010-08-19 01:02:21 +0530 (Thu, 19 Aug 2010) | 3 lines

  Fix Issue672656 - Securing pydoc server.
........
2010-08-18 19:35:53 +00:00
Raymond Hettinger
a54b2dac90 Issue #9626: Fix views in collections.OrderedDict(). 2010-08-17 19:03:06 +00:00
Ezio Melotti
d9ed62cde3 Merged revisions 84134 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r84134 | ezio.melotti | 2010-08-17 11:35:41 +0300 (Tue, 17 Aug 2010) | 1 line

  Correct a couple of assert* methods. Patch by Dave Malcolm.
........
2010-08-17 08:38:05 +00:00
Benjamin Peterson
5d6026a202 Merged revisions 84125 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r84125 | benjamin.peterson | 2010-08-16 20:07:53 -0500 (Mon, 16 Aug 2010) | 1 line

  use assertTrue/assertFalse
........
2010-08-17 01:10:45 +00:00
Brian Curtin
80f724fda4 Merged revisions 84109 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r84109 | brian.curtin | 2010-08-16 15:50:03 -0500 (Mon, 16 Aug 2010) | 2 lines

  Mark myself as assignable for winreg, and put myself down for Windows.
........
2010-08-16 20:54:48 +00:00
Alexander Belopolsky
b8de9fab30 Merged revisions 84106 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r84106 | alexander.belopolsky | 2010-08-16 16:17:07 -0400 (Mon, 16 Aug 2010) | 1 line

  Issue #8983: Corrected docstrings.
........
2010-08-16 20:30:26 +00:00
Florent Xicluna
b35af8c91c This test was not expected in r84100 (not yet ready). 2010-08-16 19:33:48 +00:00
Florent Xicluna
b62a20547a Merged revisions 84097,84099 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r84097 | florent.xicluna | 2010-08-16 20:41:19 +0200 (lun., 16 août 2010) | 1 line

  Use test.support and unittest features.  Fix duplicated test (bad merge in r79033).  Fix comment for issue #7902.
........
  r84099 | florent.xicluna | 2010-08-16 21:03:05 +0200 (lun., 16 août 2010) | 1 line

  I get it wrong in r84097: s/relative/absolute/
........
2010-08-16 19:22:18 +00:00
Giampaolo Rodolà
8a9b22204e Merged revisions 84089 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r84089 | giampaolo.rodola | 2010-08-16 07:08:11 +0200 (lun, 16 ago 2010) | 1 line

  fix getaddrinfo test failure on OSX caused by AI_CANNAME erroneously used as the value for 'proto'
........
2010-08-16 05:10:30 +00:00
Antoine Pitrou
1e8a75414f Merged revisions 84086 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r84086 | antoine.pitrou | 2010-08-16 02:28:05 +0200 (lun., 16 août 2010) | 3 lines

  Save and restore the global asyncore.socket_map, and warn if a test modified it
........
2010-08-16 00:32:47 +00:00
Mark Dickinson
c7ff21687f Merged revisions 84065 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r84065 | mark.dickinson | 2010-08-15 10:43:29 +0100 (Sun, 15 Aug 2010) | 1 line

  Clarify whatsnew entry for short float repr:  roundtripping is not a new feature in 2.7.
........
2010-08-15 09:54:37 +00:00
Éric Araujo
e23f102cd0 Fix bad merge 2010-08-15 00:49:35 +00:00
Éric Araujo
80d1e0ec38 Merged revisions 84050 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r84050 | eric.araujo | 2010-08-15 01:44:13 +0200 (dim., 15 août 2010) | 1 line

  Fix typo
........
2010-08-14 23:51:39 +00:00
Éric Araujo
cde3984fe6 Synchronize maintainers.rst 2010-08-14 23:50:55 +00:00
Florent Xicluna
104130c108 Blocked revisions 83294,83319,84019,84036,84038-84039 via svnmerge
........
  r83294 | senthil.kumaran | 2010-07-30 21:34:36 +0200 (ven., 30 juil. 2010) | 2 lines

  Fix issue9301 - handle unquote({}) kind of case.
........
  r83319 | florent.xicluna | 2010-07-31 10:56:55 +0200 (sam., 31 juil. 2010) | 2 lines

  Fix an oversight in r83294.  unquote() should reject bytes.  Issue #9301.
........
  r84019 | florent.xicluna | 2010-08-14 17:56:42 +0200 (sam., 14 août 2010) | 11 lines

  Merged manually from 2.7 branch to 3.x trunk.

    ------------------------------------------------------------------------
    r79925 | nick.coghlan | 2010-04-10 16:24:36 +0200 (sam. 10 avril 2010)

    Try to turn some buildbots green by allowing test_multiprocessing to
    pass even if it hits the sys.exc_clear code in the threading module, and
    improve the test coverage by making the ctypes dependencies a bit more
    granular (two of the cited ctypes objects don't exist on my system)
    ------------------------------------------------------------------------
........
  r84036 | florent.xicluna | 2010-08-14 20:03:19 +0200 (sam., 14 août 2010) | 1 line

  Remove bad merge (from svnmerge r82301)
........
  r84038 | florent.xicluna | 2010-08-14 20:30:35 +0200 (sam., 14 août 2010) | 1 line

  Silence the BytesWarning, due to patch r83294 for #9301
........
  r84039 | florent.xicluna | 2010-08-14 22:51:58 +0200 (sam., 14 août 2010) | 1 line

  Silence BytesWarning while testing exception
........
2010-08-14 22:30:34 +00:00
Florent Xicluna
b587060019 Merged revisions 84025,84028,84032 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r84025 | florent.xicluna | 2010-08-14 18:56:27 +0200 (sam., 14 août 2010) | 1 line

  List Misc/python-config.in in Misc/README.  Fix few typos.
........
  r84028 | florent.xicluna | 2010-08-14 19:02:49 +0200 (sam., 14 août 2010) | 1 line

  Fix order.
........
  r84032 | florent.xicluna | 2010-08-14 19:15:31 +0200 (sam., 14 août 2010) | 1 line

  Convert to spaces.
........
2010-08-14 22:23:27 +00:00
Antoine Pitrou
b233b7d7b5 Merged revisions 84021-84023 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r84021 | antoine.pitrou | 2010-08-14 18:24:38 +0200 (sam., 14 août 2010) | 4 lines

  Add a reasonable timeout to network SSL tests, so as to avoid buildbot timeouts
  when the remote server doesn't answer.
........
  r84022 | antoine.pitrou | 2010-08-14 18:32:10 +0200 (sam., 14 août 2010) | 4 lines

  This is a better resolution than r84021 (because it will also affect
  ssl.get_server_certificate()).
........
  r84023 | antoine.pitrou | 2010-08-14 18:33:38 +0200 (sam., 14 août 2010) | 3 lines

  There doesn't seem to be a reason for this test to be disabled.
........
2010-08-14 17:28:36 +00:00
Giampaolo Rodolà
633e474d2d Merged revisions 84024 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r84024 | giampaolo.rodola | 2010-08-14 18:45:41 +0200 (sab, 14 ago 2010) | 1 line

  fix issue #8857: provide a test case for socket.getaddrinfo
........
2010-08-14 17:04:46 +00:00
Éric Araujo
a2fad1f749 Synchronize maintainers.rst 2010-08-14 15:25:50 +00:00
Éric Araujo
2b6dfbbc50 Fix one module name in maintainers.rst, add me 2010-08-14 05:09:47 +00:00
Éric Araujo
56b674d5f5 Merged revisions 83999,84001 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r83999 | eric.araujo | 2010-08-14 06:55:45 +0200 (sam., 14 août 2010) | 2 lines

  Fix reference (follow-up to #9061)
........
  r84001 | eric.araujo | 2010-08-14 07:00:18 +0200 (sam., 14 août 2010) | 2 lines

  Oops, fix typo
........
2010-08-14 05:07:46 +00:00
Éric Araujo
014c38dd1c Synchronize maintainers.rst with 3.2 2010-08-14 03:31:41 +00:00
Éric Araujo
0389ae60fa Merged revisions 83993 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r83993 | eric.araujo | 2010-08-14 04:30:34 +0200 (sam., 14 août 2010) | 2 lines

  Use a marker in generated MANIFEST files, don't touch files without it. Fixes #8688.
........
2010-08-14 03:07:46 +00:00
Brian Curtin
e8c4920e4c Merged revisions 83983 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r83983 | brian.curtin | 2010-08-13 15:42:57 -0500 (Fri, 13 Aug 2010) | 3 lines

  Fix #9588. Add sys.executable to two shell=True tests.
........
2010-08-13 21:01:52 +00:00
Antoine Pitrou
e1436d1092 Merged revisions 83959-83960 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r83959 | antoine.pitrou | 2010-08-12 17:11:50 +0200 (jeu., 12 août 2010) | 5 lines

  Issue #7467: when a file from a ZIP archive, its CRC is checked and a
  BadZipfile error is raised if it doesn't match (as used to be the
  case in Python 2.5 and earlier).
........
  r83960 | antoine.pitrou | 2010-08-12 17:15:01 +0200 (jeu., 12 août 2010) | 3 lines

  Typo.
........
2010-08-12 15:25:51 +00:00
Tim Golden
3523443f77 #9055: remove assertion at the end of test_8959_b since the test is about crashing, not about counting and is difficult to manage when run as a service 2010-08-12 11:50:14 +00:00
Tim Golden
8e4756c763 #2304: fix incorporating Eric Smith's .format suggestion and tested on Ubuntu as well as Windows 2010-08-12 11:00:35 +00:00
Alexander Belopolsky
b13a23639c Blocked revisions 83949 via svnmerge
........
  r83949 | alexander.belopolsky | 2010-08-11 13:31:17 -0400 (Wed, 11 Aug 2010) | 4 lines

  Issue #2443: Added a new macro, Py_VA_COPY, which is equivalent to C99
  va_copy, but available on all python platforms.  Untabified a few
  unrelated files.
........
2010-08-11 22:23:17 +00:00
Senthil Kumaran
7cc0fe44e0 Fix Issue9446 - urllib2 tests fail when offline 2010-08-11 18:18:22 +00:00
Antoine Pitrou
cb4f47c377 Merged revisions 83944 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r83944 | antoine.pitrou | 2010-08-11 15:31:33 +0200 (mer., 11 août 2010) | 6 lines

  Issue #9550: a BufferedReader could issue an additional read when the
  original read request had been satisfied, which can block indefinitely
  when the underlying raw IO channel is e.g. a socket.  Report and original
  patch by Jason V. Miller.
........
2010-08-11 13:40:17 +00:00
Fred Drake
0a1fa0e8b1 Issue #9551: Do not raise TypeError when setting the value to None for
SafeConfigParser instances constructed with allow_no_value == True.
2010-08-10 13:09:54 +00:00
Alexander Belopolsky
2d930804ff In the Swedish alphabet, Å is sorted after Z 2010-08-10 04:03:03 +00:00
Antoine Pitrou
920e7e9ffc Merged revisions 83927 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r83927 | antoine.pitrou | 2010-08-10 02:45:32 +0200 (mar., 10 août 2010) | 3 lines

  test_winsound shouldn't crash when ctypes isn't available
........
2010-08-10 00:47:48 +00:00
Antoine Pitrou
8174c36256 Previous revert (r83924) was done in the wrong branch. Reverting the revert. 2010-08-10 00:20:35 +00:00
Antoine Pitrou
d60ffdbc2a Fix buildbot issues due to _ctypes failing to compile.
Recorded rollback of revisions 83837,83841 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
2010-08-10 00:18:13 +00:00
Antoine Pitrou
8cdede4612 Merged revisions 83921 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r83921 | antoine.pitrou | 2010-08-10 01:39:31 +0200 (mar., 10 août 2010) | 4 lines

  Issue #6915: Under Windows, os.listdir() didn't release the Global
  Interpreter Lock around all system calls.  Original patch by Ryan Kelly.
........
2010-08-10 00:04:13 +00:00
Antoine Pitrou
9900916df4 Merged revisions 83918 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r83918 | antoine.pitrou | 2010-08-10 00:38:19 +0200 (mar., 10 août 2010) | 5 lines

  Issue #3757: thread-local objects now support cyclic garbage collection.
  Thread-local objects involved in reference cycles will be deallocated
  timely by the cyclic GC, even if the underlying thread is still running.
........
2010-08-09 22:51:24 +00:00
Florent Xicluna
c751d446e7 Blocked revisions 83894-83895 via svnmerge
........
  r83894 | florent.xicluna | 2010-08-09 18:56:43 +0200 (lun., 09 août 2010) | 21 lines

  Merged manually from 2.7 branch to 3.x trunk.

    ------------------------------------------------------------------------
    r80411 | florent.xicluna | 2010-04-23 19:59:10 +0200 (ven. 23 avril 2010) | 2 lignes

    Remove ImportWarnings filters.  They become obsolete after r79310, issue #8205.
    ------------------------------------------------------------------------
    r80412 | florent.xicluna | 2010-04-23 20:10:12 +0200 (ven. 23 avril 2010) | 2 lignes

    Fix the "regrtest -s" switch.
    ------------------------------------------------------------------------
    r81140 | florent.xicluna | 2010-05-13 19:05:29 +0200 (jeu. 13 mai 2010) | 3 lignes

    Add sensible information about the OS X platform to diagnose issue #8423:
    test_pep277 fails on "x86 Tiger" buildbot but not on "PPC Tiger".
    ------------------------------------------------------------------------
    r81141 | florent.xicluna | 2010-05-13 20:16:06 +0200 (jeu. 13 mai 2010) | 2 lignes

    Revert the additional OS X information (r81140).  Keep the endianness information.
    ------------------------------------------------------------------------
........
  r83895 | florent.xicluna | 2010-08-09 19:18:05 +0200 (lun., 09 août 2010) | 20 lines

  Merged manually from 2.7 branch to 3.x trunk.

    ------------------------------------------------------------------------
    r81149 | florent.xicluna | 2010-05-13 23:40:01 +0200 (jeu. 13 mai 2010) | 2 lignes

    Better test skipping, with message in the log.
    ------------------------------------------------------------------------
    r81150 | florent.xicluna | 2010-05-13 23:41:05 +0200 (jeu. 13 mai 2010) | 2 lignes

    Improve test feedback to troubleshoot issue #8423 on OS X.
    ------------------------------------------------------------------------
    r81151 | florent.xicluna | 2010-05-14 01:46:48 +0200 (ven. 14 mai 2010) | 2 lignes

    Revert changeset r81150 which helped diagnose issue #8423 on some OS X buildbot.
    ------------------------------------------------------------------------
    r82056 | florent.xicluna | 2010-06-17 22:30:56 +0200 (jeu. 17 juin 2010) | 2 lignes

    Add few words about test.test_genericpath.CommonTest
    ------------------------------------------------------------------------
........
2010-08-09 22:23:12 +00:00
Florent Xicluna
bfa65fe986 Blocked revisions 83182,83212,83319,83829,83851,83863,83886-83887 via svnmerge
........
  r83182 | florent.xicluna | 2010-07-27 23:20:15 +0200 (mar., 27 juil. 2010) | 3 lines

  Issue #4770: Restrict binascii module to accept only bytes (as specified).
  And fix the email package to encode to ASCII instead of ``raw-unicode-escape`` before ASCII-to-binary decoding.
........
  r83212 | florent.xicluna | 2010-07-28 18:39:41 +0200 (mer., 28 juil. 2010) | 2 lines

  Syntax cleanup.
........
  r83319 | florent.xicluna | 2010-07-31 10:56:55 +0200 (sam., 31 juil. 2010) | 2 lines

  Fix an oversight in r83294.  unquote() should reject bytes.  Issue #9301.
........
  r83829 | florent.xicluna | 2010-08-08 18:16:07 +0200 (dim., 08 août 2010) | 2 lines

  Use unittest specific methods for some urllib test cases.  And replace urllib2 with urllib.request in comments.
........
  r83851 | florent.xicluna | 2010-08-08 21:48:29 +0200 (dim., 08 août 2010) | 4 lines

  Issue #8047: Fix the xml.etree serializer to return bytes by default.
  Use ``encoding="unicode"`` to generate a Unicode string.
........
  r83863 | florent.xicluna | 2010-08-09 00:58:56 +0200 (lun., 09 août 2010) | 2 lines

  Fix BytesWarning in test_xml_etree, introduced with r83851.
........
  r83886 | florent.xicluna | 2010-08-09 14:24:20 +0200 (lun., 09 août 2010) | 2 lines

  Clean up syntax for some scripts.
........
  r83887 | florent.xicluna | 2010-08-09 14:26:44 +0200 (lun., 09 août 2010) | 1 line

  Fix ``Tools/scripts/checkpyc.py`` after PEP 3147.
........
2010-08-09 22:22:36 +00:00
Florent Xicluna
2f1b1ffb1d Merged revisions 83864 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r83864 | florent.xicluna | 2010-08-09 01:08:41 +0200 (lun., 09 août 2010) | 2 lines

  Fix xml.etree.ElementInclude to include the tail of the current node.  Issue #6231
........
2010-08-09 20:46:49 +00:00
Florent Xicluna
0fad1c2272 Missed the svnmerge property on r83902.
Recorded merge of revisions 83833,83838-83839,83859,83878 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r83833 | florent.xicluna | 2010-08-08 18:25:27 +0200 (dim., 08 août 2010) | 2 lines

  Add test case for the HTTPResponse being an iterable.  Follow-up of issue #4608.
........
  r83838 | florent.xicluna | 2010-08-08 20:03:44 +0200 (dim., 08 août 2010) | 2 lines

  Typo.
........
  r83839 | florent.xicluna | 2010-08-08 20:06:13 +0200 (dim., 08 août 2010) | 2 lines

  Issue #7564: Skip test_ioctl if another process is attached to /dev/tty.
........
  r83859 | florent.xicluna | 2010-08-09 00:07:16 +0200 (lun., 09 août 2010) | 2 lines

  Fix #8530: Prevent stringlib fastsearch from reading beyond the front of an array.
........
  r83878 | florent.xicluna | 2010-08-09 10:29:08 +0200 (lun., 09 août 2010) | 1 line

  Merge the 2to3 script from /sandbox/trunk/2to3/2to3, revision 72867 (latest).
........
2010-08-09 20:29:44 +00:00
Senthil Kumaran
a5ba05cd31 Merged revisions 83901 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r83901 | senthil.kumaran | 2010-08-10 01:31:35 +0530 (Tue, 10 Aug 2010) | 3 lines

  Fix Issue7007 -  Use percent-encoded consistently instead of URL Encoded variations. Changes in Modules.
........
2010-08-09 20:18:04 +00:00
Senthil Kumaran
bd13f45761 Merged revisions 83900 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r83900 | senthil.kumaran | 2010-08-10 01:23:52 +0530 (Tue, 10 Aug 2010) | 3 lines

  Fix Issue7007 -  Use percent-encoded consistently instead of URL Encoded variations. Docs changed.
........
2010-08-09 20:14:11 +00:00
Florent Xicluna
172e15fdd6 Merged revisions 83833,83838-83839,83859,83878 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r83833 | florent.xicluna | 2010-08-08 18:25:27 +0200 (dim., 08 août 2010) | 2 lines

  Add test case for the HTTPResponse being an iterable.  Follow-up of issue #4608.
........
  r83838 | florent.xicluna | 2010-08-08 20:03:44 +0200 (dim., 08 août 2010) | 2 lines

  Typo.
........
  r83839 | florent.xicluna | 2010-08-08 20:06:13 +0200 (dim., 08 août 2010) | 2 lines

  Issue #7564: Skip test_ioctl if another process is attached to /dev/tty.
........
  r83859 | florent.xicluna | 2010-08-09 00:07:16 +0200 (lun., 09 août 2010) | 2 lines

  Fix #8530: Prevent stringlib fastsearch from reading beyond the front of an array.
........
  r83878 | florent.xicluna | 2010-08-09 10:29:08 +0200 (lun., 09 août 2010) | 1 line

  Merge the 2to3 script from /sandbox/trunk/2to3/2to3, revision 72867 (latest).
........
2010-08-09 20:02:00 +00:00
Alexander Belopolsky
45c67c3efe Issue #8834: Added comment describing the order of entries in Misc/ACKS. 2010-08-09 16:10:07 +00:00
Senthil Kumaran
c0548c9d90 Fix Issue5416 - explain negative value of maxplit in str.replace. 2010-08-09 08:47:15 +00:00
Benjamin Peterson
d74ca12fdd Merged revisions 83872 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r83872 | benjamin.peterson | 2010-08-08 21:13:10 -0500 (Sun, 08 Aug 2010) | 1 line

  use 3 space indents
........
2010-08-09 02:17:24 +00:00
Antoine Pitrou
a03ff6d3cd sys.stderr and sys.excepthook can be None at interpreter shutdown,
in which case display the appropriate error message.
(part of #5319)
2010-08-08 21:37:51 +00:00
Antoine Pitrou
c3c04f7844 Blocked revisions 83854 via svnmerge
........
  r83854 | antoine.pitrou | 2010-08-08 22:46:42 +0200 (dim., 08 août 2010) | 4 lines

  Issue #5319: Print an error if flushing stdout fails at interpreter
  shutdown.
........
2010-08-08 20:49:49 +00:00
Benjamin Peterson
718f222372 revert 83832; unix test breakage 2010-08-08 19:14:28 +00:00