Commit Graph

39732 Commits

Author SHA1 Message Date
Amaury Forgeot d'Arc af0312af7a Merged revisions 74582 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r74582 | amaury.forgeotdarc | 2009-08-30 01:00:38 +0200 (dim., 30 août 2009) | 10 lines

  Merged revisions 74581 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r74581 | amaury.forgeotdarc | 2009-08-29 20:14:40 +0200 (sam., 29 août 2009) | 3 lines

    #6750: TextIOWrapped could duplicate output when several threads write to it.
    this affect text files opened with io.open(), and the print() function of py3k
  ........
................
2009-08-29 23:19:16 +00:00
Lars Gustäbel f5d2879ab8 Blocked revisions 74573 via svnmerge
................
  r74573 | lars.gustaebel | 2009-08-28 21:59:59 +0200 (Fri, 28 Aug 2009) | 13 lines

  Merged revisions 74571 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r74571 | lars.gustaebel | 2009-08-28 21:23:44 +0200 (Fri, 28 Aug 2009) | 7 lines

    Issue #6054: Do not normalize stored pathnames.

    No longer use tarfile.normpath() on pathnames. Store pathnames
    unchanged, i.e. do not remove "./", "../" and "//" occurrences.
    However, still convert absolute to relative paths.
  ........
................
2009-08-28 20:01:38 +00:00
Mark Dickinson 7a6bcce81a Merged revisions 74566 via svnmerge from
svn+ssh://pythondev@www.python.org/python/branches/py3k

................
  r74566 | mark.dickinson | 2009-08-28 14:39:53 +0100 (Fri, 28 Aug 2009) | 10 lines

  Merged revisions 74564 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r74564 | mark.dickinson | 2009-08-28 14:25:02 +0100 (Fri, 28 Aug 2009) | 3 lines

    Issue #6794:  Fix handling of NaNs in Decimal.compare_total and
    Decimal.compare_total_mag.
  ........
................
2009-08-28 13:44:35 +00:00
Benjamin Peterson 122caa0f27 Merged revisions 74551 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r74551 | benjamin.peterson | 2009-08-26 09:35:45 +0200 (Wed, 26 Aug 2009) | 1 line

  the old buffer object doesn't exist in Python 3 #6659
........
2009-08-26 07:38:00 +00:00
Tarek Ziadé b08c3a818e Merged revisions 74535 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r74535 | tarek.ziade | 2009-08-21 16:22:45 +0200 (Fri, 21 Aug 2009) | 9 lines

  Merged revisions 74533 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r74533 | tarek.ziade | 2009-08-21 16:11:26 +0200 (Fri, 21 Aug 2009) | 1 line

    Fixed #6556: Corrected doc on how Distutils looks for its user configuration file under Windows
  ........
................
2009-08-21 14:25:49 +00:00
Tarek Ziadé 105d82d01f Blocked revisions 74529 via svnmerge
................
  r74529 | tarek.ziade | 2009-08-20 23:28:05 +0200 (Thu, 20 Aug 2009) | 9 lines

  Merged revisions 74526 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r74526 | tarek.ziade | 2009-08-20 23:23:13 +0200 (Thu, 20 Aug 2009) | 1 line

    #6693: New functions in site.py to get user/global site packages paths.
  ........
................
2009-08-20 21:29:20 +00:00
Skip Montanaro 0ae0f605dc missing module ref (issue6723) 2009-08-18 14:46:37 +00:00
Tarek Ziadé 94274cecac Blocked revisions 74504 via svnmerge
................
  r74504 | tarek.ziade | 2009-08-18 10:23:10 +0200 (Tue, 18 Aug 2009) | 9 lines

  Merged revisions 74501 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r74501 | tarek.ziade | 2009-08-18 10:16:33 +0200 (Tue, 18 Aug 2009) | 1 line

    added more test coverage for distutils.filelist to prevent regressions when fnmatch or re are changed
  ........
................
2009-08-18 08:26:25 +00:00
Tarek Ziadé 815b73e306 Blocked revisions 74496 via svnmerge
................
  r74496 | tarek.ziade | 2009-08-17 23:50:37 +0200 (Mon, 17 Aug 2009) | 9 lines

  Merged revisions 74495 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r74495 | tarek.ziade | 2009-08-17 23:48:22 +0200 (Mon, 17 Aug 2009) | 1 line

    module cleanup
  ........
................
2009-08-17 21:54:27 +00:00
Tarek Ziadé e63513c26d Blocked revisions 74494 via svnmerge
................
  r74494 | tarek.ziade | 2009-08-17 23:35:46 +0200 (Mon, 17 Aug 2009) | 9 lines

  Merged revisions 74493 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r74493 | tarek.ziade | 2009-08-17 23:28:34 +0200 (Mon, 17 Aug 2009) | 1 line

    fixed how fnmatch.translate is used (since it has changed in r74475 for #6665). Now the code is not harcoding the usage of $ anymore
  ........
................
2009-08-17 21:53:29 +00:00
Benjamin Peterson 4938e7bf08 tag 3.1.1 2009-08-16 22:02:15 +00:00
Benjamin Peterson 586547387b bump to 3.1.1 2009-08-16 21:59:05 +00:00
Senthil Kumaran 8eba090694 Fixing Issue6711 - macurl2path has typos that raise AttributeError 2009-08-16 06:44:28 +00:00
Benjamin Peterson 044446b67c Merged revisions 74459 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r74459 | benjamin.peterson | 2009-08-15 08:23:05 -0500 (Sat, 15 Aug 2009) | 9 lines

  Merged revisions 74457 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r74457 | benjamin.peterson | 2009-08-15 08:16:38 -0500 (Sat, 15 Aug 2009) | 1 line

    #6707 fix a crash with dir() on an uninitialized module
  ........
................
2009-08-15 13:25:28 +00:00
Georg Brandl 43226f8bd0 Recorded merge of revisions 74443 via svnmerge from
svn+ssh://svn.python.org/python/branches/py3k

................
  r74443 | georg.brandl | 2009-08-14 10:12:14 +0200 (Fr, 14 Aug 2009) | 12 lines

  Recorded merge of revisions 74429 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r74429 | brett.cannon | 2009-08-13 21:27:12 +0200 (Do, 13 Aug 2009) | 5 lines

    Expat could crash if given the wrong kind of input by never stopping its
    tokenizing step.

    Thanks to Ivan Krstić for the patch.
  ........
................
2009-08-14 08:15:41 +00:00
Brett Cannon 0c8110734a Backport of r74435. Not merged/blocked w/ svnmerge.py as the tool is erroring out on me. 2009-08-13 19:59:04 +00:00
Benjamin Peterson 790da2383f tag the 3.1.1 rc 2009-08-13 19:20:52 +00:00
Benjamin Peterson c0be5d472f remove 3.1.1rc tag 2009-08-13 19:17:01 +00:00
Gregory P. Smith 10d2952e8d Merged revisions 73917 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

(the changes that add a select.PIPE_BUF attribute were removed)

This merge fixes issue3392

................
  r73917 | amaury.forgeotdarc | 2009-07-09 15:44:11 -0700 (Thu, 09 Jul 2009) | 12 lines

  Merged revisions 73916 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r73916 | amaury.forgeotdarc | 2009-07-10 00:37:22 +0200 (ven., 10 juil. 2009) | 5 lines

    #6416: Fix compilation of the select module on Windows, as well as test_subprocess:
    PIPE_BUF is not defined on Windows, and probably has no meaning there.

    Anyway the subprocess module uses another way to perform non-blocking reads (with a thread)
  ........
................
2009-08-13 18:33:30 +00:00
Gregory P. Smith f32a5f4acc unblock merge of 73917, it is needed to fix issue 3392 2009-08-13 18:16:54 +00:00
Benjamin Peterson 41e9d2859f tag 3.1.1 rc 2009-08-13 15:55:14 +00:00
Benjamin Peterson 54cda44f74 bump version to 3.1.1rc1 2009-08-13 15:47:36 +00:00
Georg Brandl f9f2c00f88 Merged revisions 74412 via svnmerge from
svn+ssh://svn.python.org/python/branches/py3k

................
  r74412 | georg.brandl | 2009-08-13 14:58:30 +0200 (Do, 13 Aug 2009) | 9 lines

  Merged revisions 74411 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r74411 | georg.brandl | 2009-08-13 14:57:25 +0200 (Do, 13 Aug 2009) | 2 lines

    Remove potentially confusing sentence in __mangling description.
  ........
................
2009-08-13 13:11:41 +00:00
Georg Brandl b75111ce7b Merged revisions 74056 via svnmerge from
svn+ssh://svn.python.org/python/branches/py3k

(Selected changes.)

................
  r74056 | alexandre.vassalotti | 2009-07-17 11:34:31 +0200 (Fr, 17 Jul 2009) | 34 lines

  Merged revisions 73985-73986,73988-73991,73994 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r73985 | benjamin.peterson | 2009-07-12 17:18:55 -0400 (Sun, 12 Jul 2009) | 1 line

    add Joe
  ........
    r73988 | benjamin.peterson | 2009-07-12 19:40:33 -0400 (Sun, 12 Jul 2009) | 1 line

    fix Tarek's name
  ........
    r73989 | benjamin.peterson | 2009-07-12 19:44:43 -0400 (Sun, 12 Jul 2009) | 1 line

    change encoding to utf-8
  ........
    r73990 | benjamin.peterson | 2009-07-12 19:49:23 -0400 (Sun, 12 Jul 2009) | 1 line

    fix another name
  ........
    r73991 | benjamin.peterson | 2009-07-12 19:56:18 -0400 (Sun, 12 Jul 2009) | 1 line

    change encoding to utf-8
  ........
    r73994 | benjamin.peterson | 2009-07-12 20:03:20 -0400 (Sun, 12 Jul 2009) | 1 line

    fix umlaut
  ........
................
2009-08-13 12:27:52 +00:00
Georg Brandl d80344f8d3 Merged revisions 74055 via svnmerge from
svn+ssh://svn.python.org/python/branches/py3k

(Selected changes only.)

................
  r74055 | alexandre.vassalotti | 2009-07-17 11:18:18 +0200 (Fr, 17 Jul 2009) | 55 lines

  Merged revisions 73995,74002,74005,74007-74008,74011,74019-74023 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r74008 | benjamin.peterson | 2009-07-14 20:46:42 -0400 (Tue, 14 Jul 2009) | 1 line

    update year
  ........
    r74011 | ezio.melotti | 2009-07-15 13:07:04 -0400 (Wed, 15 Jul 2009) | 1 line

    methods' names pep8ification
  ........
    r74019 | amaury.forgeotdarc | 2009-07-15 17:29:27 -0400 (Wed, 15 Jul 2009) | 2 lines

    #6076 Add a title to the IDLE Preferences window.
  ........
    r74020 | georg.brandl | 2009-07-16 03:18:07 -0400 (Thu, 16 Jul 2009) | 1 line

    #5910: fix kqueue for calls with more than one event.
  ........
    r74021 | georg.brandl | 2009-07-16 03:33:04 -0400 (Thu, 16 Jul 2009) | 1 line

    #6486: start with built in functions rather than "built in objects".
  ........
    r74022 | georg.brandl | 2009-07-16 03:38:35 -0400 (Thu, 16 Jul 2009) | 1 line

    #6481: fix typo in os.system() replacement.
  ........
    r74023 | jesse.noller | 2009-07-16 10:23:04 -0400 (Thu, 16 Jul 2009) | 1 line

    Issue 6433: multiprocessing.pool.map hangs on empty list
  ........
................
2009-08-13 12:26:19 +00:00
Georg Brandl a85ee5cfb6 Recorded merge of revisions 74057 via svnmerge from
svn+ssh://svn.python.org/python/branches/py3k

(Only selected revisions.)

................
  r74057 | alexandre.vassalotti | 2009-07-17 12:42:05 +0200 (Fr, 17 Jul 2009) | 54 lines

  Merged revisions 73930-73932,73937-73939,73945,73951,73954,73962-73963,73970 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r73930 | amaury.forgeotdarc | 2009-07-10 12:47:42 -0400 (Fri, 10 Jul 2009) | 2 lines

    #6447: typo in subprocess docstring
  ........
    r73937 | georg.brandl | 2009-07-11 06:12:36 -0400 (Sat, 11 Jul 2009) | 1 line

    Fix style.
  ........
    r73938 | georg.brandl | 2009-07-11 06:14:54 -0400 (Sat, 11 Jul 2009) | 1 line

    #6446: fix import_spam() function to use correct error and reference handling.
  ........
    r73939 | georg.brandl | 2009-07-11 06:18:10 -0400 (Sat, 11 Jul 2009) | 1 line

    #6448: clarify docs for find_module().
  ........
    r73945 | georg.brandl | 2009-07-11 06:51:31 -0400 (Sat, 11 Jul 2009) | 1 line

    #6456: clarify the meaning of constants used as arguments to nl_langinfo().
  ........
    r73951 | georg.brandl | 2009-07-11 10:23:38 -0400 (Sat, 11 Jul 2009) | 2 lines

    array.array is actually a class.
................
2009-08-13 12:13:42 +00:00
Georg Brandl ac73c5feae Merged revisions 74403 via svnmerge from
svn+ssh://svn.python.org/python/branches/py3k

........
  r74403 | georg.brandl | 2009-08-13 13:55:03 +0200 (Do, 13 Aug 2009) | 1 line

  Fix duplicate sentence.
........
2009-08-13 12:07:42 +00:00
Georg Brandl d1ea9dc9e6 Merged revisions 74405 via svnmerge from
svn+ssh://svn.python.org/python/branches/py3k

................
  r74405 | georg.brandl | 2009-08-13 14:06:43 +0200 (Do, 13 Aug 2009) | 9 lines

  Merged revisions 74404 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r74404 | georg.brandl | 2009-08-13 14:05:52 +0200 (Do, 13 Aug 2009) | 1 line

    Use locale.format_string() for more than one specifier.
  ........
................
2009-08-13 12:07:01 +00:00
Georg Brandl bcc484e6d6 Merged revisions 74062 via svnmerge from
svn+ssh://svn.python.org/python/branches/py3k

................
  r74062 | alexandre.vassalotti | 2009-07-17 13:43:26 +0200 (Fr, 17 Jul 2009) | 37 lines

  Merged revisions 73665,73693,73704-73705,73707,73712-73713,73824 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r73665 | alexandre.vassalotti | 2009-06-28 21:01:51 -0400 (Sun, 28 Jun 2009) | 2 lines

    Update docstrings for sys.getdlopenflags() and sys.setdlopenflags().
  ........
    r73693 | jesse.noller | 2009-06-29 14:20:34 -0400 (Mon, 29 Jun 2009) | 1 line

    Bug 5906: add a documentation note for unix daemons vs. multiprocessing daemons
  ........
    r73704 | georg.brandl | 2009-06-30 12:15:43 -0400 (Tue, 30 Jun 2009) | 1 line

    #6376: fix copy-n-paste oversight.
  ........
    r73705 | georg.brandl | 2009-06-30 12:17:28 -0400 (Tue, 30 Jun 2009) | 1 line

    #6374: add a bit of explanation about shell=True on Windows.
  ........
    r73707 | georg.brandl | 2009-06-30 12:35:11 -0400 (Tue, 30 Jun 2009) | 1 line

    #6371: fix link targets.
  ........
    r73712 | ezio.melotti | 2009-06-30 18:51:06 -0400 (Tue, 30 Jun 2009) | 1 line

    Fixed defaultTestCase -> defaultTestResult
  ........
    r73713 | ezio.melotti | 2009-06-30 18:56:16 -0400 (Tue, 30 Jun 2009) | 1 line

    Fixed a backslash that was not supposed to be there
  ........
    r73824 | ezio.melotti | 2009-07-03 21:18:08 -0400 (Fri, 03 Jul 2009) | 1 line

    #6398 typo: versio. -> version.
  ........
................
2009-08-13 11:51:54 +00:00
Georg Brandl 243d02f630 Blocked revisions 74132-74133,74151,74156 via svnmerge
................
  r74132 | alexandre.vassalotti | 2009-07-21 06:30:03 +0200 (Di, 21 Jul 2009) | 45 lines

  Merged revisions 72487-72488,72879 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r72487 | jeffrey.yasskin | 2009-05-08 17:51:06 -0400 (Fri, 08 May 2009) | 7 lines

    PyCode_NewEmpty:
    Most uses of PyCode_New found by http://www.google.com/codesearch?q=PyCode_New
    are trying to build an empty code object, usually to put it in a dummy frame
    object. This patch adds a PyCode_NewEmpty wrapper which lets the user specify
    just the filename, function name, and first line number, instead of also
    requiring lots of code internals.
  ........
    r72488 | jeffrey.yasskin | 2009-05-08 18:23:21 -0400 (Fri, 08 May 2009) | 13 lines

    Issue 5954, PyFrame_GetLineNumber:
    Most uses of PyCode_Addr2Line
    (http://www.google.com/codesearch?q=PyCode_Addr2Line) are just trying to get
    the line number of a specified frame, but there's no way to do that directly.
    Forcing people to go through the code object makes them know more about the
    guts of the interpreter than they should need.

    The remaining uses of PyCode_Addr2Line seem to be getting the line from a
    traceback (for example,
    http://www.google.com/codesearch/p?hl=en#u_9_nDrchrw/pygame-1.7.1release/src/base.c&q=PyCode_Addr2Line),
    which is replaced by the tb_lineno field.  So we may be able to deprecate
    PyCode_Addr2Line entirely for external use.
  ........
    r72879 | jeffrey.yasskin | 2009-05-23 19:23:01 -0400 (Sat, 23 May 2009) | 14 lines

    Issue #6042:
    lnotab-based tracing is very complicated and isn't documented very well.  There
    were at least 3 comment blocks purporting to document co_lnotab, and none did a
    very good job. This patch unifies them into Objects/lnotab_notes.txt which
    tries to completely capture the current state of affairs.

    I also discovered that we've attached 2 layers of patches to the basic tracing
    scheme. The first layer avoids jumping to instructions that don't start a line,
    to avoid problems in if statements and while loops.  The second layer
    discovered that jumps backward do need to trace at instructions that don't
    start a line, so it added extra lnotab entries for 'while' and 'for' loops, and
    added a special case for backward jumps within the same line. I replaced these
    patches by just treating forward and backward jumps differently.
  ........
................
  r74133 | alexandre.vassalotti | 2009-07-21 07:23:51 +0200 (Di, 21 Jul 2009) | 9 lines

  Merged revisions 73750 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r73750 | benjamin.peterson | 2009-07-01 19:45:19 -0400 (Wed, 01 Jul 2009) | 1 line

    small optimization: avoid popping the current block until we have to
  ........
................
  r74151 | benjamin.peterson | 2009-07-22 01:18:55 +0200 (Mi, 22 Jul 2009) | 9 lines

  Merged revisions 74150 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r74150 | benjamin.peterson | 2009-07-21 18:13:14 -0500 (Tue, 21 Jul 2009) | 1 line

    install unittest as a package
  ........
................
  r74156 | alexandre.vassalotti | 2009-07-22 04:32:34 +0200 (Mi, 22 Jul 2009) | 2 lines

  Issue #6360: Simplify string decoding in xmlrpc.client.
................
2009-08-13 09:34:37 +00:00
Georg Brandl 194da4a7da Merged revisions 74126,74130-74131,74149,74155,74157,74180-74183,74398 via svnmerge from
svn+ssh://svn.python.org/python/branches/py3k

................
  r74126 | alexandre.vassalotti | 2009-07-21 02:39:03 +0200 (Di, 21 Jul 2009) | 14 lines

  Merged revisions 73871 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r73871 | alexandre.vassalotti | 2009-07-06 22:17:30 -0400 (Mon, 06 Jul 2009) | 7 lines

    Grow the allocated buffer in PyUnicode_EncodeUTF7 to avoid buffer overrun.

    Without this change, test_unicode.UnicodeTest.test_codecs_utf7 crashes in
    debug mode. What happens is the unicode string u'\U000abcde' with a length
    of 1 encodes to the string '+2m/c3g-' of length 8. Since only 5 bytes is
    reserved in the buffer, a buffer overrun occurs.
  ........
................
  r74130 | alexandre.vassalotti | 2009-07-21 02:57:50 +0200 (Di, 21 Jul 2009) | 2 lines

  Add ignore rule for the Doc/tools/jinga2/ directory.
................
  r74131 | alexandre.vassalotti | 2009-07-21 04:51:58 +0200 (Di, 21 Jul 2009) | 13 lines

  Merged revisions 73683,73786 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r73683 | georg.brandl | 2009-06-29 10:44:49 -0400 (Mon, 29 Jun 2009) | 1 line

    Fix error handling in PyCode_Optimize, by Alexander Schremmer at EuroPython sprint.
  ........
    r73786 | benjamin.peterson | 2009-07-02 18:56:16 -0400 (Thu, 02 Jul 2009) | 1 line

    condense with assertRaises
  ........
................
  r74149 | ezio.melotti | 2009-07-21 22:37:52 +0200 (Di, 21 Jul 2009) | 9 lines

  Merged revisions 74148 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r74148 | ezio.melotti | 2009-07-21 23:18:27 +0300 (Tue, 21 Jul 2009) | 1 line

    #6536 fixed typo
  ........
................
  r74155 | alexandre.vassalotti | 2009-07-22 04:24:49 +0200 (Mi, 22 Jul 2009) | 2 lines

  Issue #6242: Fix deallocator of io.StringIO and io.BytesIO.
................
  r74157 | alexandre.vassalotti | 2009-07-22 05:07:33 +0200 (Mi, 22 Jul 2009) | 2 lines

  Issue #6241: Better type checking for the arguments of io.StringIO.
................
  r74180 | ezio.melotti | 2009-07-22 23:17:14 +0200 (Mi, 22 Jul 2009) | 9 lines

  Merged revisions 74179 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r74179 | ezio.melotti | 2009-07-23 00:08:49 +0300 (Thu, 23 Jul 2009) | 1 line

    #6423 has_key -> in
  ........
................
  r74181 | alexandre.vassalotti | 2009-07-22 23:27:53 +0200 (Mi, 22 Jul 2009) | 6 lines

  Clean up test_curses.

  By using __stdout__ directly, test_curses caused regrtest.py
  to duplicate the output of some test results.
................
  r74182 | alexandre.vassalotti | 2009-07-22 23:29:01 +0200 (Mi, 22 Jul 2009) | 2 lines

  Use assertGreater instead of assertTrue(x > y).
................
  r74183 | alexandre.vassalotti | 2009-07-23 01:27:17 +0200 (Do, 23 Jul 2009) | 4 lines

  Specialize assertTrue checks when possible.

  We should get slightly more helpful failure messages with this change.
................
  r74398 | georg.brandl | 2009-08-13 11:16:39 +0200 (Do, 13 Aug 2009) | 1 line

  #6694: fix old function names.
................
2009-08-13 09:34:05 +00:00
Georg Brandl 18cd09d7dc Blocked revisions 74059,74066,74090,74096,74106,74110,74124 via svnmerge
................
  r74059 | alexandre.vassalotti | 2009-07-17 13:07:44 +0200 (Fr, 17 Jul 2009) | 9 lines

  Recorded merge of revisions 73841 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r73841 | ezio.melotti | 2009-07-04 10:58:27 -0400 (Sat, 04 Jul 2009) | 1 line

    if zlib -> skipUnless(zlib) and minor cleanups
  ........
................
  r74066 | benjamin.peterson | 2009-07-17 21:11:02 +0200 (Fr, 17 Jul 2009) | 1 line

  update ast version
................
  r74090 | senthil.kumaran | 2009-07-19 04:44:19 +0200 (So, 19 Jul 2009) | 4 lines

  Fix for issue5102, timeout value propages between redirects, proxy, digest and
  auth handlers. Fixed tests to reflect the same.
................
  r74096 | benjamin.peterson | 2009-07-19 23:01:52 +0200 (So, 19 Jul 2009) | 9 lines

  Merged revisions 74095 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r74095 | benjamin.peterson | 2009-07-19 15:18:21 -0500 (Sun, 19 Jul 2009) | 1 line

    split unittest.py into a package
  ........
................
  r74106 | brett.cannon | 2009-07-20 03:05:40 +0200 (Mo, 20 Jul 2009) | 2 lines

  Remove custom test-skipping code in importlib tests for unittest code.
................
  r74110 | brett.cannon | 2009-07-20 06:23:48 +0200 (Mo, 20 Jul 2009) | 5 lines

  Implement the PEP 302 protocol for get_filename() as
  importlib.abc.ExecutionLoader. PyLoader now inherits from this ABC instead of
  InspectLoader directly. Both PyLoader and PyPycLoader provide concrete
  implementations of get_filename in terms of source_path and bytecode_path.
................
  r74124 | brett.cannon | 2009-07-21 00:59:00 +0200 (Di, 21 Jul 2009) | 1 line

  Make the wdocs for importlib.abc.ExecutionLoader to be weaker in terms of what is needed to execute a module.
................
2009-08-13 09:19:37 +00:00
Georg Brandl c3c6fed6fe Merged revisions 74010,74034,74054 via svnmerge from
svn+ssh://svn.python.org/python/branches/py3k

................
  r74010 | r.david.murray | 2009-07-15 16:16:54 +0200 (Mi, 15 Jul 2009) | 2 lines

  PEP-8-ify r73389.
................
  r74034 | alexandre.vassalotti | 2009-07-17 07:35:59 +0200 (Fr, 17 Jul 2009) | 2 lines

  The output() function takes only one string argument.
................
  r74054 | alexandre.vassalotti | 2009-07-17 10:31:44 +0200 (Fr, 17 Jul 2009) | 14 lines

  Merged revisions 74051-74052 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r74051 | alexandre.vassalotti | 2009-07-17 03:54:23 -0400 (Fri, 17 Jul 2009) | 2 lines

    Initialize variables in PyCurses_getsyx() to avoid compiler warnings.
  ........
    r74052 | alexandre.vassalotti | 2009-07-17 04:09:04 -0400 (Fri, 17 Jul 2009) | 3 lines

    Fix GCC warning about fprintf used without a string literal and
    without format arguments.
  ........
................
2009-08-13 09:15:16 +00:00
Georg Brandl 6b2964d6a4 Blocked revisions 74003-74004,74009,74012-74013,74015,74017-74018,74030 via svnmerge
................
  r74003 | amaury.forgeotdarc | 2009-07-13 22:38:21 +0200 (Mo, 13 Jul 2009) | 15 lines

  Merged revisions 74000-74001 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r74000 | amaury.forgeotdarc | 2009-07-13 22:01:11 +0200 (lun., 13 juil. 2009) | 4 lines

    #1616979: Add the cp720 (Arabic DOS) encoding.
    Since there is no official mapping file from unicode.org,
    the codec file is generated on Windows with the new genwincodec.py script.
  ........
    r74001 | amaury.forgeotdarc | 2009-07-13 22:03:21 +0200 (lun., 13 juil. 2009) | 2 lines

    NEWS entry for r74000.
  ........
................
  r74004 | amaury.forgeotdarc | 2009-07-13 22:48:07 +0200 (Mo, 13 Jul 2009) | 2 lines

  Oops, really pass a bytes string to the ctypes function.
................
  r74009 | brett.cannon | 2009-07-15 06:08:33 +0200 (Mi, 15 Jul 2009) | 4 lines

  Importlib was using custom code to discover all test modules in importlib.test.
  This has now been removed in favor of using unittest's test discovery code in
  TestLoader.discover().
................
  r74012 | ezio.melotti | 2009-07-15 19:17:17 +0200 (Mi, 15 Jul 2009) | 9 lines

  Merged revisions 74011 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r74011 | ezio.melotti | 2009-07-15 20:07:04 +0300 (Wed, 15 Jul 2009) | 1 line

    methods' names pep8ification
  ........
................
  r74013 | alexandre.vassalotti | 2009-07-15 19:49:23 +0200 (Mi, 15 Jul 2009) | 4 lines

  Issue #2389: Implement a portable mechanism for pickling array objects.

  Reviewed by: Martin v. Löwis
................
  r74015 | alexandre.vassalotti | 2009-07-15 20:31:06 +0200 (Mi, 15 Jul 2009) | 2 lines

  Fix omission in a comment.
................
  r74017 | amaury.forgeotdarc | 2009-07-15 21:21:18 +0200 (Mi, 15 Jul 2009) | 9 lines

  Merged revisions 74006 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r74006 | amaury.forgeotdarc | 2009-07-14 01:11:54 +0200 (mar., 14 juil. 2009) | 2 lines

    Document the newly added codec
  ........
................
  r74018 | alexandre.vassalotti | 2009-07-15 22:53:55 +0200 (Mi, 15 Jul 2009) | 2 lines

  Don't check 64-bit test cases on 32-bit machine.
................
  r74030 | alexandre.vassalotti | 2009-07-17 05:51:27 +0200 (Fr, 17 Jul 2009) | 7 lines

  Use the proper autoconf macro for checking byte order.

  The BYTEORDER_IS_BIG_ENDIAN macro is defined Objects/unicodeobject.c,
  thus the code was always emitting the little-endian machine format codes.

  This should fix the failure seen on the SPARC buildbot.
................
2009-08-13 09:12:46 +00:00
Georg Brandl 4e25978db6 Blocked revisions 73894,73917,73956,73978,73983,73993,73996 via svnmerge
................
  r73894 | ezio.melotti | 2009-07-09 00:24:06 +0200 (Do, 09 Jul 2009) | 9 lines

  Merged revisions 73841 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r73841 | ezio.melotti | 2009-07-04 17:58:27 +0300 (Sat, 04 Jul 2009) | 1 line

    if zlib -> skipUnless(zlib) and minor cleanups
  ........
................
  r73917 | amaury.forgeotdarc | 2009-07-10 00:44:11 +0200 (Fr, 10 Jul 2009) | 12 lines

  Merged revisions 73916 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r73916 | amaury.forgeotdarc | 2009-07-10 00:37:22 +0200 (ven., 10 juil. 2009) | 5 lines

    #6416: Fix compilation of the select module on Windows, as well as test_subprocess:
    PIPE_BUF is not defined on Windows, and probably has no meaning there.

    Anyway the subprocess module uses another way to perform non-blocking reads (with a thread)
  ........
................
  r73956 | ezio.melotti | 2009-07-11 20:28:48 +0200 (Sa, 11 Jul 2009) | 9 lines

  Merged revisions 73931 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r73931 | ezio.melotti | 2009-07-10 23:25:56 +0300 (Fri, 10 Jul 2009) | 1 line

    more cleanups and if zlib -> skipUnless(zlib)
  ........
................
  r73978 | amaury.forgeotdarc | 2009-07-12 18:43:19 +0200 (So, 12 Jul 2009) | 13 lines

  Merged revisions 73952 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  (Only docstrings were modified, won't backport to 3.1)

  ........
    r73952 | amaury.forgeotdarc | 2009-07-11 16:33:51 +0200 (sam., 11 juil. 2009) | 4 lines

    #2622 Import errors in email.message, from a py2app standalone application.

    Patch by Mads Kiilerich, Reviewed by Barry Warsaw.
  ........
................
  r73983 | raymond.hettinger | 2009-07-12 22:49:21 +0200 (So, 12 Jul 2009) | 1 line

  Document the thousands separator.
................
  r73993 | benjamin.peterson | 2009-07-13 02:00:31 +0200 (Mo, 13 Jul 2009) | 8 lines

  Unblocked revisions 73991 via svnmerge

  ........
    r73991 | benjamin.peterson | 2009-07-12 18:56:18 -0500 (Sun, 12 Jul 2009) | 1 line

    change encoding to utf-8
  ........
................
  r73996 | vinay.sajip | 2009-07-13 13:28:25 +0200 (Mo, 13 Jul 2009) | 1 line

  Issue #6314: logging: Extra checks on the "level" argument.
................
2009-08-13 09:09:08 +00:00
Georg Brandl df475156f4 Merged revisions 73862,73872 via svnmerge from
svn+ssh://svn.python.org/python/branches/py3k

........
  r73862 | alexandre.vassalotti | 2009-07-05 21:57:00 +0200 (So, 05 Jul 2009) | 2 lines

  Add the fix for issue 4509 to the mapping methods.
........
  r73872 | gregory.p.smith | 2009-07-07 07:06:04 +0200 (Di, 07 Jul 2009) | 2 lines

  Add a unittest for r73566.
........
2009-08-13 09:05:38 +00:00
Georg Brandl ae83d6ee37 Merged revisions 73833,73838,73850-73852,73856-73857 via svnmerge from
svn+ssh://svn.python.org/python/branches/py3k

................
  r73833 | gregory.p.smith | 2009-07-04 04:46:54 +0200 (Sa, 04 Jul 2009) | 20 lines

  Merged revisions 73825-73826 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r73825 | gregory.p.smith | 2009-07-03 18:49:29 -0700 (Fri, 03 Jul 2009) | 9 lines

    Use select.poll() in subprocess, when available, rather than select() so that
    it does not fail when file descriptors are large.  Fixes issue3392.

    Patch largely contributed by Frank Chu (fpmc) with some improvements by me.
    See http://bugs.python.org/issue3392.
  ........
    r73826 | gregory.p.smith | 2009-07-03 18:55:11 -0700 (Fri, 03 Jul 2009) | 2 lines

    news entry for r73825
  ........

  Candidate for backporting to release31-maint as it is a bug fix and changes no
  public API.
................
  r73838 | gregory.p.smith | 2009-07-04 10:32:15 +0200 (Sa, 04 Jul 2009) | 2 lines

  change deprecated unittest method calls into their proper names.
................
  r73850 | alexandre.vassalotti | 2009-07-05 07:38:18 +0200 (So, 05 Jul 2009) | 3 lines

  Issue 4509: Do not modify an array if we know the change would result
  in a failure due to exported buffers.
................
  r73851 | alexandre.vassalotti | 2009-07-05 07:47:28 +0200 (So, 05 Jul 2009) | 2 lines

  Add more test cases to BaseTest.test_memoryview_no_resize.
................
  r73852 | alexandre.vassalotti | 2009-07-05 08:25:14 +0200 (So, 05 Jul 2009) | 5 lines

  Fix array.extend and array.__iadd__ to handle the case where an array
  is extended with itself.

  This bug is specific the py3k version of arraymodule.c
................
  r73856 | alexandre.vassalotti | 2009-07-05 08:42:44 +0200 (So, 05 Jul 2009) | 6 lines

  Issue 4005: Remove .sort() call on dict_keys object.

  This caused pydoc to fail when there was a zip file in sys.path.

  Patch contributed by Amaury Forgeot d'Arc.
................
  r73857 | alexandre.vassalotti | 2009-07-05 08:50:08 +0200 (So, 05 Jul 2009) | 2 lines

  Add NEWS entries for the changes I made recently.
................
2009-08-13 09:04:31 +00:00
Georg Brandl 3deeed9a32 Blocked revisions 73832 via svnmerge
................
  r73832 | gregory.p.smith | 2009-07-04 04:28:47 +0200 (Sa, 04 Jul 2009) | 9 lines

  Merged revisions 73818 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r73818 | gregory.p.smith | 2009-07-03 13:48:31 -0700 (Fri, 03 Jul 2009) | 2 lines

    Adds the select.PIPE_BUF attribute to expose the system constant.
  ........
................
2009-08-13 09:00:38 +00:00
Georg Brandl f78dd3452d Merged revisions 73592,73823 via svnmerge from
svn+ssh://svn.python.org/python/branches/py3k

........
  r73592 | ezio.melotti | 2009-06-28 00:58:15 +0200 (So, 28 Jun 2009) | 1 line

  Updated the last example as requested in #6350
........
  r73823 | ezio.melotti | 2009-07-04 03:14:30 +0200 (Sa, 04 Jul 2009) | 1 line

  #6398 typo: versio. -> version.
........
2009-08-13 08:58:24 +00:00
Georg Brandl a5ea7e3d3a Blocked revisions 73780 via svnmerge
........
  r73780 | benjamin.peterson | 2009-07-02 20:25:26 +0200 (Do, 02 Jul 2009) | 1 line

  refactor logic a little when no sep or end is passed
........
2009-08-13 08:57:40 +00:00
Georg Brandl c8b3891d49 Merged revisions 73749 via svnmerge from
svn+ssh://svn.python.org/python/branches/py3k

................
  r73749 | benjamin.peterson | 2009-07-01 17:47:07 +0200 (Mi, 01 Jul 2009) | 9 lines

  Merged revisions 73744 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r73744 | benjamin.peterson | 2009-07-01 08:34:35 -0500 (Wed, 01 Jul 2009) | 1 line

    proxy the __exit__ call
  ........
................
2009-08-13 08:57:20 +00:00
Georg Brandl c3c3eaf937 Blocked revisions 73737,73739-73740 via svnmerge
........
  r73737 | hirokazu.yamamoto | 2009-07-01 04:36:00 +0200 (Mi, 01 Jul 2009) | 1 line

  Updated MSVC project files to follow PyCObject removal (r73729)
........
  r73739 | r.david.murray | 2009-07-01 04:51:00 +0200 (Mi, 01 Jul 2009) | 2 lines

  Remove unused import for function that no longer exists.
........
  r73740 | benjamin.peterson | 2009-07-01 05:34:25 +0200 (Mi, 01 Jul 2009) | 1 line

  remove cobject reference
........
2009-08-13 08:56:21 +00:00
Georg Brandl 514c368c1f Merged revisions 73735-73736 via svnmerge from
svn+ssh://svn.python.org/python/branches/py3k

........
  r73735 | benjamin.peterson | 2009-07-01 03:45:12 +0200 (Mi, 01 Jul 2009) | 1 line

  remove comment about PyNumber_Int
........
  r73736 | hirokazu.yamamoto | 2009-07-01 04:24:13 +0200 (Mi, 01 Jul 2009) | 1 line

  Added svn:ignore.
........
2009-08-13 08:54:55 +00:00
Georg Brandl 805af7fc93 Blocked revisions 73719,73729-73734 via svnmerge
........
  r73719 | benjamin.peterson | 2009-07-01 01:45:41 +0200 (Mi, 01 Jul 2009) | 1 line

  test that depreacted methods give warnings
........
  r73729 | benjamin.peterson | 2009-07-01 03:28:55 +0200 (Mi, 01 Jul 2009) | 1 line

  remove PyCObject
........
  r73730 | benjamin.peterson | 2009-07-01 03:31:12 +0200 (Mi, 01 Jul 2009) | 1 line

  remove reference to PyCObject
........
  r73731 | raymond.hettinger | 2009-07-01 03:32:12 +0200 (Mi, 01 Jul 2009) | 1 line

  Removed contextlib.nested()
........
  r73732 | raymond.hettinger | 2009-07-01 03:37:01 +0200 (Mi, 01 Jul 2009) | 1 line

  Remove docs for string.maketrans().
........
  r73733 | benjamin.peterson | 2009-07-01 03:38:23 +0200 (Mi, 01 Jul 2009) | 1 line

  remove nested from __all__
........
  r73734 | benjamin.peterson | 2009-07-01 03:39:51 +0200 (Mi, 01 Jul 2009) | 1 line

  remove warnings supression
........
2009-08-13 08:54:12 +00:00
Georg Brandl fe5f11c684 Merged revisions 73718,73721,73723 via svnmerge from
svn+ssh://svn.python.org/python/branches/py3k

................
  r73718 | benjamin.peterson | 2009-07-01 01:35:19 +0200 (Mi, 01 Jul 2009) | 9 lines

  Merged revisions 73717 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r73717 | benjamin.peterson | 2009-06-30 18:30:12 -0500 (Tue, 30 Jun 2009) | 1 line

    use assert* methods in test_unittest
  ........
................
  r73721 | benjamin.peterson | 2009-07-01 02:43:10 +0200 (Mi, 01 Jul 2009) | 11 lines

  Merged revisions 73720 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r73720 | benjamin.peterson | 2009-06-30 19:36:41 -0500 (Tue, 30 Jun 2009) | 4 lines

    fix a few cases where automated fail -> assert translation messed up

    Thanks Joe Amenta
  ........
................
  r73723 | benjamin.peterson | 2009-07-01 02:45:43 +0200 (Mi, 01 Jul 2009) | 1 line

  remove use of failIf
................
2009-08-13 08:52:53 +00:00
Georg Brandl ab91fdef1f Merged revisions 73715 via svnmerge from
svn+ssh://svn.python.org/python/branches/py3k

........
  r73715 | benjamin.peterson | 2009-07-01 01:06:06 +0200 (Mi, 01 Jul 2009) | 1 line

  convert old fail* assertions to assert*
........
2009-08-13 08:51:18 +00:00
Georg Brandl ef82be368a Merged revisions 73695,73711 via svnmerge from
svn+ssh://svn.python.org/python/branches/py3k

................
  r73695 | raymond.hettinger | 2009-06-29 20:30:43 +0200 (Mo, 29 Jun 2009) | 1 line

  Issue 6370: Performance issue with collections.Counter().
................
  r73711 | benjamin.peterson | 2009-07-01 00:27:25 +0200 (Mi, 01 Jul 2009) | 9 lines

  Merged revisions 73710 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r73710 | benjamin.peterson | 2009-06-30 17:14:33 -0500 (Tue, 30 Jun 2009) | 1 line

    provide a dummy __exit__ on windows
  ........
................
2009-08-13 08:48:56 +00:00
Georg Brandl eea0721819 Blocked revisions 73678,73700 via svnmerge
................
  r73678 | antoine.pitrou | 2009-06-29 15:54:42 +0200 (Mo, 29 Jun 2009) | 10 lines

  Merged revisions 73072 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r73072 | antoine.pitrou | 2009-05-31 16:20:14 +0200 (dim., 31 mai 2009) | 4 lines

    Issue #6152: New option '-j'/'--multiprocess' for regrtest allows running
    regression tests in parallel, shortening the total runtime.
  ........
................
  r73700 | gregory.p.smith | 2009-06-30 07:33:50 +0200 (Di, 30 Jun 2009) | 3 lines

  PendingDeprecationWarning -> DeprecationWarning.  Both of these were
  properly documented as being deprecated in 3.1.
................
2009-08-13 08:48:13 +00:00
Georg Brandl 7d9138363d Blocked revisions 73664 via svnmerge
........
  r73664 | benjamin.peterson | 2009-06-29 01:32:44 +0200 (Mo, 29 Jun 2009) | 3 lines

  In most cases, the parser will protect True, False, and None  from being assign to.
  We must check for __debug__ in all cases.
........
2009-08-13 08:47:32 +00:00
Georg Brandl 7d1e88063c Merged revisions 73656,73658,73663,73666 via svnmerge from
svn+ssh://svn.python.org/python/branches/py3k

........
  r73656 | mark.dickinson | 2009-06-29 00:08:40 +0200 (Mo, 29 Jun 2009) | 1 line

  Fix description of range_length_obj
........
  r73658 | raymond.hettinger | 2009-06-29 00:30:13 +0200 (Mo, 29 Jun 2009) | 1 line

  Small doc fix-ups to floatingpoint.rst.  More are forthcoming.
........
  r73663 | raymond.hettinger | 2009-06-29 01:21:38 +0200 (Mo, 29 Jun 2009) | 1 line

  Clean-up floating point tutorial.
........
  r73666 | alexandre.vassalotti | 2009-06-29 03:13:41 +0200 (Mo, 29 Jun 2009) | 2 lines

  Make b64encode raises properly a TypeError when altchars is not bytes.
........
2009-08-13 08:47:18 +00:00