Commit Graph

39795 Commits

Author SHA1 Message Date
Mark Dickinson 4cb041ad32 Merged revisions 74691 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r74691 | mark.dickinson | 2009-09-06 21:53:58 +0100 (Sun, 06 Sep 2009) | 9 lines

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

  ........
    r74689 | mark.dickinson | 2009-09-06 21:51:37 +0100 (Sun, 06 Sep 2009) | 1 line

    Remove redundant assignment
  ........
................
2009-09-06 20:54:47 +00:00
Ronald Oussoren dc9bc3be97 Merged revisions 74687 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r74687 | ronald.oussoren | 2009-09-06 15:59:02 +0200 (Sun, 06 Sep 2009) | 3 lines

  Fix for issue 6393: Python crashes on OSX when $LANG is set to some (but
  not all) invalid values due to an invalid result from nl_langinfo
........
2009-09-06 14:01:46 +00:00
Ronald Oussoren d45ff2ce5a Merged revisions 74682 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r74682 | ronald.oussoren | 2009-09-06 13:01:15 +0200 (Sun, 06 Sep 2009) | 9 lines

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

  ........
    r74672 | ronald.oussoren | 2009-09-06 12:00:26 +0200 (Sun, 06 Sep 2009) | 1 line

    Fix build issues on OSX 10.6 (issue 6802)
  ........
................
2009-09-06 11:11:04 +00:00
Mark Dickinson 099d7a0ffb Merged revisions 74679 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r74679 | mark.dickinson | 2009-09-06 11:34:47 +0100 (Sun, 06 Sep 2009) | 9 lines

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

  ........
    r74677 | mark.dickinson | 2009-09-06 11:32:21 +0100 (Sun, 06 Sep 2009) | 1 line

    Issue #6847: s/bytes/bytearray/ in some bytearray error messages.  Thanks Hagen Fürstenau.
  ........
................
2009-09-06 10:35:38 +00:00
Mark Dickinson 424d75a3f5 Merged revisions 74675 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r74675 | mark.dickinson | 2009-09-06 11:19:23 +0100 (Sun, 06 Sep 2009) | 10 lines

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

  ........
    r74673 | mark.dickinson | 2009-09-06 11:03:31 +0100 (Sun, 06 Sep 2009) | 3 lines

    Issue #6846: bytearray.pop was returning ints in the range [-128, 128)
    instead of [0, 256).  Thanks Hagen Fürstenau for the report and fix.
  ........
................
2009-09-06 10:20:23 +00:00
Mark Dickinson 45b9f370fc Blocked revisions 74669 via svnmerge
................
  r74669 | mark.dickinson | 2009-09-05 11:36:23 +0100 (Sat, 05 Sep 2009) | 9 lines

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

  ........
    r74667 | mark.dickinson | 2009-09-05 11:27:00 +0100 (Sat, 05 Sep 2009) | 2 lines

    Add configure-time checks for gamma and error functions.
  ........
................
2009-09-05 10:37:04 +00:00
Thomas Heller e83c938e21 Merged revisions 74664 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r74664 | thomas.heller | 2009-09-04 20:24:41 +0200 (Fr, 04 Sep 2009) | 1 line

  Issue 6239: ctypes.c_char_p return value must return bytes.
........
2009-09-04 18:37:03 +00:00
Georg Brandl c35adc082d Recorded merge of revisions 74658 via svnmerge from
svn+ssh://svn.python.org/python/branches/py3k

........
  r74658 | chris.withers | 2009-09-04 19:04:16 +0200 (Fr, 04 Sep 2009) | 2 lines

  Fixes issue #6838: use a list to accumulate the value instead of repeatedly concatenating strings.
........
2009-09-04 17:17:03 +00:00
Chris Withers 5a86acb6d6 Fixes issue #6838: use a list to accumulate the value instead of repeatedly concatenating strings. 2009-09-04 17:15:46 +00:00
Brett Cannon 04ee867b6d Merged revisions 74641 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r74641 | brett.cannon | 2009-09-03 14:29:20 -0700 (Thu, 03 Sep 2009) | 14 lines

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

  ........
    r74640 | brett.cannon | 2009-09-03 14:25:21 -0700 (Thu, 03 Sep 2009) | 7 lines

    test_platform fails on OS X Snow Leopard because the UNIX command to get the
    canonical version, sw_vers, leaves off trailing zeros in the version number
    (e.g. 10.6 instead of 10.6.0). Test now compensates by tacking on extra zeros
    for the test comparison.

    Fixes issue #6806.
  ........
................
2009-09-03 21:32:00 +00:00
Georg Brandl 7baf625bab Merged revisions 74613,74615,74619-74620,74622 via svnmerge from
svn+ssh://svn.python.org/python/branches/py3k

................
  r74613 | georg.brandl | 2009-09-01 09:34:27 +0200 (Di, 01 Sep 2009) | 1 line

  #6814: remove traces of xrange().
................
  r74615 | georg.brandl | 2009-09-01 09:42:40 +0200 (Di, 01 Sep 2009) | 9 lines

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

  ........
    r74614 | georg.brandl | 2009-09-01 09:40:54 +0200 (Di, 01 Sep 2009) | 1 line

    #6813: better documentation for numberless string formats.
  ........
................
  r74619 | georg.brandl | 2009-09-01 10:02:03 +0200 (Di, 01 Sep 2009) | 1 line

  #6754: remove old struct member nb_inplace_divide.
................
  r74620 | georg.brandl | 2009-09-01 10:03:26 +0200 (Di, 01 Sep 2009) | 1 line

  #6732: fix return value of module init function in example.
................
  r74622 | georg.brandl | 2009-09-01 10:11:14 +0200 (Di, 01 Sep 2009) | 73 lines

  Merged revisions 74542,74544-74548,74550,74554-74555,74578,74588,74590,74603,74616-74618,74621 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r74542 | georg.brandl | 2009-08-23 23:28:56 +0200 (So, 23 Aug 2009) | 1 line

    Restore alphabetic order.
  ........
    r74544 | georg.brandl | 2009-08-24 19:12:30 +0200 (Mo, 24 Aug 2009) | 1 line

    #6775: fix python.org URLs in README.
  ........
    r74545 | georg.brandl | 2009-08-24 19:14:29 +0200 (Mo, 24 Aug 2009) | 1 line

    #6772: mention utf-8 as utf8 alias.
  ........
    r74546 | georg.brandl | 2009-08-24 19:20:40 +0200 (Mo, 24 Aug 2009) | 1 line

    #6725: spell "namespace" consistently.
  ........
    r74547 | georg.brandl | 2009-08-24 19:22:05 +0200 (Mo, 24 Aug 2009) | 1 line

    #6718: fix example.
  ........
    r74548 | georg.brandl | 2009-08-24 19:24:27 +0200 (Mo, 24 Aug 2009) | 1 line

    #6677: mention "deleting" as an alias for removing files.
  ........
    r74550 | georg.brandl | 2009-08-24 19:48:40 +0200 (Mo, 24 Aug 2009) | 1 line

    #6677: note that rmdir only removes empty directories.
  ........
    r74554 | georg.brandl | 2009-08-27 20:59:02 +0200 (Do, 27 Aug 2009) | 1 line

    Typo fix.
  ........
    r74555 | georg.brandl | 2009-08-27 21:02:43 +0200 (Do, 27 Aug 2009) | 1 line

    #6787: reference fix.
  ........
    r74578 | tarek.ziade | 2009-08-29 15:33:21 +0200 (Sa, 29 Aug 2009) | 1 line

    fixed #6801: symmetric_difference_update also accepts pipe
  ........
    r74588 | georg.brandl | 2009-08-30 10:35:01 +0200 (So, 30 Aug 2009) | 1 line

    #6803: fix old name.
  ........
    r74590 | georg.brandl | 2009-08-30 13:51:53 +0200 (So, 30 Aug 2009) | 1 line

    #6801: fix copy-paste oversight.
  ........
    r74603 | georg.brandl | 2009-08-31 08:38:29 +0200 (Mo, 31 Aug 2009) | 1 line

    other -> others where multiple arguments are accepted.
  ........
    r74616 | georg.brandl | 2009-09-01 09:46:26 +0200 (Di, 01 Sep 2009) | 1 line

    #6808: clarification.
  ........
    r74617 | georg.brandl | 2009-09-01 09:53:37 +0200 (Di, 01 Sep 2009) | 1 line

    #6765: hint that log(x, base) is not very sophisticated.
  ........
    r74618 | georg.brandl | 2009-09-01 10:00:47 +0200 (Di, 01 Sep 2009) | 1 line

    #6810: add a link to the section about frame objects instead of just a description where to find it.
  ........
    r74621 | georg.brandl | 2009-09-01 10:06:03 +0200 (Di, 01 Sep 2009) | 1 line

    #6638: fix wrong parameter name and markup a class.
  ........
................
2009-09-01 08:13:16 +00:00
Mark Dickinson 2686039b76 Merged revisions 74605 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r74605 | mark.dickinson | 2009-08-31 15:52:10 +0100 (Mon, 31 Aug 2009) | 9 lines

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

  ........
    r74604 | mark.dickinson | 2009-08-31 15:46:07 +0100 (Mon, 31 Aug 2009) | 1 line

    Issue #6297: Add autogenerated Misc/python.pc file to make distclean target.  Thanks Jerry Chen.
  ........
................
2009-08-31 14:53:16 +00:00
Brett Cannon 8a1a59f0ec Merged revisions 74584 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r74584 | brett.cannon | 2009-08-29 20:47:36 -0700 (Sat, 29 Aug 2009) | 3 lines

  Have importlib raise ImportError if None is found in sys.modules. This matches
  current import semantics.
........
2009-08-30 04:29:47 +00:00
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