Commit Graph

45785 Commits

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

........
  r84234 | senthil.kumaran | 2010-08-21 21:38:32 +0530 (Sat, 21 Aug 2010) | 3 lines

  Add info about HTTP/1.1 and Connection:Close header.
........
2010-08-21 16:14:54 +00:00
Georg Brandl fa8fa0caf4 Remove weakref from setup.py now that it is builtin. 2010-08-21 13:05:38 +00:00
Georg Brandl 01099a7757 Remove duplicate entry. 2010-08-21 11:40:30 +00:00
Benjamin Peterson 52c36051bd Use weakrefs to hold onto classes #2521.
This also causes the _weakref module to be built into the core.
2010-08-21 03:03:22 +00:00
Amaury Forgeot d'Arc b1147f5d0a Merged revisions 84209, 84214 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r84209 | amaury.forgeotdarc | 2010-08-19 19:43:15 +0200 (jeu., 19 août 2010) | 5 lines

  Check the return values for all functions returning an ast node.
  Failure to do it may result in strange error messages or even crashes,
  in admittedly convoluted cases that are normally syntax errors, like:
      def f(*xx, __debug__): pass
........
  r84214 | amaury.forgeotdarc | 2010-08-19 23:32:38 +0200 (jeu., 19 août 2010) | 3 lines

  Add tests for r84209 (crashes in the Ast builder)
  Also remove one tab, and move a check closer to the possible failure.
........
2010-08-19 21:50:08 +00:00
Vinay Sajip 3478ac066b Issue #9606: Updated documentation for Filter objects. 2010-08-19 19:17:41 +00:00
Senthil Kumaran 4f1ba0de8a Fix - Issue9639: Reset the retry counter after successful authentication. 2010-08-19 17:32:03 +00:00
Martin v. Löwis 6086b0dd95 Merged revisions 84172 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r84172 | martin.v.loewis | 2010-08-18 18:12:23 +0200 (Mi, 18 Aug 2010) | 2 lines

  Restore GIL in nis_cat in case of error.
........
2010-08-19 09:09:04 +00:00
Éric Araujo 2ada9064fa Merged revisions 84187 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r84187 | eric.araujo | 2010-08-19 00:29:54 +0200 (jeu., 19 août 2010) | 2 lines

  Fix indentation level
........
2010-08-18 22:48:00 +00:00
Antoine Pitrou 0dd8e1da28 Merged revisions 84176 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r84176 | antoine.pitrou | 2010-08-18 22:44:14 +0200 (mer., 18 août 2010) | 5 lines

  Issue #9433: The "-j" option to regrtest now works under Windows too.
  It is not sure it will be beneficial, though, since process launching is
  more expensive under Windows than it is under Linux.
........
2010-08-18 20:45:10 +00:00
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