Commit graph

48682 commits

Author SHA1 Message Date
Victor Stinner
757db83dce #7801: fix xmlrpclib binary example, open the picture in binary mode
Use also the with syntax (consistent with python trunk example).
2010-01-30 02:16:55 +00:00
Martin v. Löwis
66da2f37c3 Merged revisions 77834 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77834 | martin.v.loewis | 2010-01-30 01:15:44 +0100 (Sa, 30 Jan 2010) | 2 lines

  Add Victor Stinner.
........
2010-01-30 00:16:49 +00:00
R. David Murray
533e5568ff Recorded merge of revisions 77831 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r77831 | r.david.murray | 2010-01-29 17:17:58 -0500 (Fri, 29 Jan 2010) | 9 lines

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

  ........
    r77828 | r.david.murray | 2010-01-29 14:35:39 -0500 (Fri, 29 Jan 2010) | 2 lines

    Fix typo in assertSequenceEqual docstring.
  ........
................
2010-01-29 22:29:35 +00:00
R. David Murray
d1a9058dda Fix typo in assertSequenceEqual docstring. 2010-01-29 22:26:45 +00:00
R. David Murray
ad13f22b7e Merged revisions 77828 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77828 | r.david.murray | 2010-01-29 14:35:39 -0500 (Fri, 29 Jan 2010) | 2 lines

  Fix typo in assertSequenceEqual docstring.
........
2010-01-29 22:17:58 +00:00
R. David Murray
60eab4618d Blocked revisions 77825 via svnmerge
................
  r77825 | r.david.murray | 2010-01-29 12:55:47 -0500 (Fri, 29 Jan 2010) | 10 lines

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

  ........
    r77815 | r.david.murray | 2010-01-28 16:16:33 -0500 (Thu, 28 Jan 2010) | 3 lines

    Change error report when the object passed to suite.addTest is not
    callable to include the repr of the invalid object.
  ........
................
2010-01-29 18:01:56 +00:00
R. David Murray
67d1bbde3f Merged revisions 77815 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77815 | r.david.murray | 2010-01-28 16:16:33 -0500 (Thu, 28 Jan 2010) | 3 lines

  Change error report when the object passed to suite.addTest is not
  callable to include the repr of the invalid object.
........
2010-01-29 17:55:47 +00:00
Mark Dickinson
a53f2c997e Merged revisions 77823 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r77823 | mark.dickinson | 2010-01-29 17:27:24 +0000 (Fri, 29 Jan 2010) | 10 lines

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

  ........
    r77821 | mark.dickinson | 2010-01-29 17:11:39 +0000 (Fri, 29 Jan 2010) | 3 lines

    Issue #7788: Fix a crash produced by deleting a list slice with huge
    step value.  Patch by Marcin Bachry.
  ........
................
2010-01-29 17:29:21 +00:00
Mark Dickinson
bc09964be1 Merged revisions 77821 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77821 | mark.dickinson | 2010-01-29 17:11:39 +0000 (Fri, 29 Jan 2010) | 3 lines

  Issue #7788: Fix a crash produced by deleting a list slice with huge
  step value.  Patch by Marcin Bachry.
........
2010-01-29 17:27:24 +00:00
Tarek Ziadé
d692c4a754 Blocked revisions 77818-77819 via svnmerge
................
  r77818 | tarek.ziade | 2010-01-29 12:41:03 +0100 (Fri, 29 Jan 2010) | 13 lines

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

  ........
    r77704 | tarek.ziade | 2010-01-23 10:23:15 +0100 (Sat, 23 Jan 2010) | 1 line

    taking sysconfig out of distutils
  ........
    r77752 | tarek.ziade | 2010-01-26 00:19:56 +0100 (Tue, 26 Jan 2010) | 1 line

    switched the call order so this call works without suffering from issue #7774
  ........
................
  r77819 | tarek.ziade | 2010-01-29 12:46:31 +0100 (Fri, 29 Jan 2010) | 13 lines

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

  ........
    r77759 | tarek.ziade | 2010-01-26 22:21:54 +0100 (Tue, 26 Jan 2010) | 1 line

    reintroduced the names in Distutils for APIs that were relocated
  ........
    r77761 | tarek.ziade | 2010-01-26 23:46:15 +0100 (Tue, 26 Jan 2010) | 1 line

    added local get_platform/set_platform APIs in distutils.sysconfig
  ........
................
2010-01-29 11:51:11 +00:00
Tarek Ziadé
8b441d0dcd Merged revisions 77759,77761 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77759 | tarek.ziade | 2010-01-26 22:21:54 +0100 (Tue, 26 Jan 2010) | 1 line

  reintroduced the names in Distutils for APIs that were relocated
........
  r77761 | tarek.ziade | 2010-01-26 23:46:15 +0100 (Tue, 26 Jan 2010) | 1 line

  added local get_platform/set_platform APIs in distutils.sysconfig
........
2010-01-29 11:46:31 +00:00
Tarek Ziadé
edacea30e4 Merged revisions 77704,77752 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77704 | tarek.ziade | 2010-01-23 10:23:15 +0100 (Sat, 23 Jan 2010) | 1 line

  taking sysconfig out of distutils
........
  r77752 | tarek.ziade | 2010-01-26 00:19:56 +0100 (Tue, 26 Jan 2010) | 1 line

  switched the call order so this call works without suffering from issue #7774
........
2010-01-29 11:41:03 +00:00
Benjamin Peterson
82b8398583 Blocked revisions 77811-77812 via svnmerge
........
  r77811 | benjamin.peterson | 2010-01-27 20:15:02 -0600 (Wed, 27 Jan 2010) | 1 line

  an -> a
........
  r77812 | benjamin.peterson | 2010-01-27 20:18:25 -0600 (Wed, 27 Jan 2010) | 1 line

  avoid a py3k warning from __hash__
........
2010-01-28 02:22:10 +00:00
Ezio Melotti
92b4743719 Merged revisions 77809 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77809 | ezio.melotti | 2010-01-28 03:41:30 +0200 (Thu, 28 Jan 2010) | 1 line

  avoid to use zlib when the compress type is not ZIP_DEFLATED
........
2010-01-28 01:44:41 +00:00
Benjamin Peterson
2472f986e2 Blocked revisions 77806 via svnmerge
........
  r77806 | benjamin.peterson | 2010-01-27 19:24:46 -0600 (Wed, 27 Jan 2010) | 1 line

  add compat note
........
2010-01-28 01:31:31 +00:00
Ezio Melotti
3e1096ddaa Merged revisions 77803 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r77803 | ezio.melotti | 2010-01-28 00:44:03 +0200 (Thu, 28 Jan 2010) | 1 line

  updated/removed a few versionadded/versionchanged
........
2010-01-27 22:53:48 +00:00
Ezio Melotti
83fc6dd4da updated/removed a few versionadded/versionchanged 2010-01-27 22:44:03 +00:00
Antoine Pitrou
ad433dca0c Blocked revisions 77800 via svnmerge
................
  r77800 | antoine.pitrou | 2010-01-27 22:18:57 +0100 (mer., 27 janv. 2010) | 14 lines

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

  ........
    r77798 | antoine.pitrou | 2010-01-27 21:59:50 +0100 (mer., 27 janv. 2010) | 8 lines

    Issue #7610: Reworked implementation of the internal
    :class:`zipfile.ZipExtFile` class used to represent files stored inside
    an archive.  The new implementation is significantly faster and can
    be wrapped in a :class:`io.BufferedReader` object for more speedups.
    It also solves an issue where interleaved calls to `read()` and
    `readline()` give wrong results.  Patch by Nir Aides.
  ........
................
2010-01-27 21:30:04 +00:00
Antoine Pitrou
a32f9a24df Merged revisions 77798 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77798 | antoine.pitrou | 2010-01-27 21:59:50 +0100 (mer., 27 janv. 2010) | 8 lines

  Issue #7610: Reworked implementation of the internal
  :class:`zipfile.ZipExtFile` class used to represent files stored inside
  an archive.  The new implementation is significantly faster and can
  be wrapped in a :class:`io.BufferedReader` object for more speedups.
  It also solves an issue where interleaved calls to `read()` and
  `readline()` give wrong results.  Patch by Nir Aides.
........
2010-01-27 21:18:57 +00:00
Ezio Melotti
176d6c40e0 Merged revisions 77796 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77796 | ezio.melotti | 2010-01-27 22:25:11 +0200 (Wed, 27 Jan 2010) | 1 line

  #7765: typos
........
2010-01-27 20:58:07 +00:00
Jesse Noller
1f0b658638 Merged revisions 77794 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77794 | jesse.noller | 2010-01-26 22:05:57 -0500 (Tue, 26 Jan 2010) | 1 line

  Issue #6963: Added maxtasksperchild argument to multiprocessing.Pool
........
2010-01-27 03:36:01 +00:00
Benjamin Peterson
69de157237 Merged revisions 77791 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r77791 | benjamin.peterson | 2010-01-26 20:25:58 -0600 (Tue, 26 Jan 2010) | 9 lines

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

  ........
    r77789 | benjamin.peterson | 2010-01-26 20:16:42 -0600 (Tue, 26 Jan 2010) | 1 line

    raise a clear TypeError when trying to register a non-class
  ........
................
2010-01-27 02:28:22 +00:00
Benjamin Peterson
c3511a461d Blocked revisions 77788 via svnmerge
........
  r77788 | benjamin.peterson | 2010-01-26 20:15:28 -0600 (Tue, 26 Jan 2010) | 1 line

  for UserDict to be compatible with abcs, it must subclass object
........
2010-01-27 02:27:48 +00:00
Benjamin Peterson
d632664a33 Merged revisions 77789 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77789 | benjamin.peterson | 2010-01-26 20:16:42 -0600 (Tue, 26 Jan 2010) | 1 line

  raise a clear TypeError when trying to register a non-class
........
2010-01-27 02:25:58 +00:00
Eric Smith
ccea47ea86 Blocked revisions 77786 via svnmerge
................
  r77786 | eric.smith | 2010-01-26 21:14:26 -0500 (Tue, 26 Jan 2010) | 9 lines

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

  ........
    r77784 | eric.smith | 2010-01-26 21:06:25 -0500 (Tue, 26 Jan 2010) | 1 line

    Added named (but not numbered) attributes to sys.getwindowsversion() test.
  ........
................
2010-01-27 02:14:55 +00:00
Eric Smith
a1f20b917a Merged revisions 77784 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77784 | eric.smith | 2010-01-26 21:06:25 -0500 (Tue, 26 Jan 2010) | 1 line

  Added named (but not numbered) attributes to sys.getwindowsversion() test.
........
2010-01-27 02:14:26 +00:00
Benjamin Peterson
371c307e56 Merged revisions 77781-77782 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r77781 | benjamin.peterson | 2010-01-26 19:47:14 -0600 (Tue, 26 Jan 2010) | 1 line

  don't accept bytes in FileIO.write #7785
........
  r77782 | benjamin.peterson | 2010-01-26 19:51:29 -0600 (Tue, 26 Jan 2010) | 1 line

  add issue number
........
2010-01-27 01:56:08 +00:00
Benjamin Peterson
9a11a36603 add issue number 2010-01-27 01:51:29 +00:00
Benjamin Peterson
255058fae3 don't accept bytes in FileIO.write #7785 2010-01-27 01:47:14 +00:00
Eric Smith
0a8f347fbc Blocked revisions 77779 via svnmerge
........
  r77779 | eric.smith | 2010-01-26 20:38:34 -0500 (Tue, 26 Jan 2010) | 1 line

  Fixed test_support -> support.
........
2010-01-27 01:39:10 +00:00
Eric Smith
d8aef76f6e Fixed test_support -> support. 2010-01-27 01:38:34 +00:00
Eric Smith
e5f26bd9f3 Blocked revisions 77777 via svnmerge
................
  r77777 | eric.smith | 2010-01-26 20:25:02 -0500 (Tue, 26 Jan 2010) | 9 lines

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

  ........
    r77775 | eric.smith | 2010-01-26 20:21:15 -0500 (Tue, 26 Jan 2010) | 1 line

    Switch to test_support.get_attribute.
  ........
................
2010-01-27 01:26:37 +00:00
Eric Smith
05f3374402 Merged revisions 77775 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77775 | eric.smith | 2010-01-26 20:21:15 -0500 (Tue, 26 Jan 2010) | 1 line

  Switch to test_support.get_attribute.
........
2010-01-27 01:25:02 +00:00
Eric Smith
70950f623f Blocked revisions 77773 via svnmerge
................
  r77773 | eric.smith | 2010-01-26 19:59:59 -0500 (Tue, 26 Jan 2010) | 9 lines

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

  ........
    r77771 | eric.smith | 2010-01-26 19:58:43 -0500 (Tue, 26 Jan 2010) | 1 line

    Removed unneeded test.
  ........
................
2010-01-27 01:00:29 +00:00
Eric Smith
52b4b4509b Merged revisions 77771 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77771 | eric.smith | 2010-01-26 19:58:43 -0500 (Tue, 26 Jan 2010) | 1 line

  Removed unneeded test.
........
2010-01-27 00:59:59 +00:00
Eric Smith
1577f5b082 Blocked revisions 77769 via svnmerge
................
  r77769 | eric.smith | 2010-01-26 19:56:30 -0500 (Tue, 26 Jan 2010) | 9 lines

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

  ........
    r77767 | eric.smith | 2010-01-26 19:55:16 -0500 (Tue, 26 Jan 2010) | 1 line

    Fix type on getwindowsversion documentation. Thanks Taggnostr.
  ........
................
2010-01-27 00:56:56 +00:00
Eric Smith
7338a39346 Merged revisions 77767 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77767 | eric.smith | 2010-01-26 19:55:16 -0500 (Tue, 26 Jan 2010) | 1 line

  Fix type on getwindowsversion documentation. Thanks Taggnostr.
........
2010-01-27 00:56:30 +00:00
Eric Smith
e4628791e3 Blocked revisions 77765 via svnmerge
................
  r77765 | eric.smith | 2010-01-26 19:44:57 -0500 (Tue, 26 Jan 2010) | 9 lines

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

  ........
    r77763 | eric.smith | 2010-01-26 19:28:29 -0500 (Tue, 26 Jan 2010) | 1 line

    Issue #7766: Change sys.getwindowsversion() return value to a named tuple and add the additional members returned in an OSVERSIONINFOEX structure. The new members are service_pack_major, service_pack_minor, suite_mask, and product_type.
  ........
................
2010-01-27 00:45:36 +00:00
Eric Smith
f7bb57875a Merged revisions 77763 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77763 | eric.smith | 2010-01-26 19:28:29 -0500 (Tue, 26 Jan 2010) | 1 line

  Issue #7766: Change sys.getwindowsversion() return value to a named tuple and add the additional members returned in an OSVERSIONINFOEX structure. The new members are service_pack_major, service_pack_minor, suite_mask, and product_type.
........
2010-01-27 00:44:57 +00:00
Ezio Melotti
38f0033601 Merged revisions 77749 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77749 | ezio.melotti | 2010-01-25 14:37:02 +0200 (Mon, 25 Jan 2010) | 1 line

  Add a news entry for the functions verify and vereq that have been removed in r77729 and r77731
........
2010-01-25 12:39:47 +00:00
Ezio Melotti
2aef4b8110 Revert r77732 and add back verify and vereq in case other projects use them, but leave the changes in test_pprint and string_tests. 2010-01-25 12:20:04 +00:00
Ezio Melotti
4c81fbb118 Merged revisions 77745 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r77745 | ezio.melotti | 2010-01-25 13:58:28 +0200 (Mon, 25 Jan 2010) | 9 lines

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

  ........
    r77743 | ezio.melotti | 2010-01-25 13:24:37 +0200 (Mon, 25 Jan 2010) | 1 line

    #7775: fixed docstring for rpartition
  ........
................
2010-01-25 12:02:24 +00:00
Ezio Melotti
5b2b242f07 Merged revisions 77743 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77743 | ezio.melotti | 2010-01-25 13:24:37 +0200 (Mon, 25 Jan 2010) | 1 line

  #7775: fixed docstring for rpartition
........
2010-01-25 11:58:28 +00:00
Benjamin Peterson
79e0b818c5 Merged revisions 77737 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r77737 | benjamin.peterson | 2010-01-24 21:37:42 -0600 (Sun, 24 Jan 2010) | 9 lines

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

  ........
    r77735 | benjamin.peterson | 2010-01-24 21:31:13 -0600 (Sun, 24 Jan 2010) | 1 line

    fix an UnboundLocalError when the release file is empty #7773
  ........
................
2010-01-25 03:40:53 +00:00
Benjamin Peterson
250014793e Merged revisions 77735 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77735 | benjamin.peterson | 2010-01-24 21:31:13 -0600 (Sun, 24 Jan 2010) | 1 line

  fix an UnboundLocalError when the release file is empty #7773
........
2010-01-25 03:37:42 +00:00
Ezio Melotti
fcdf9f215e Merged revisions 77731 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r77731 | ezio.melotti | 2010-01-24 22:59:24 +0200 (Sun, 24 Jan 2010) | 9 lines

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

  ........
    r77729 | ezio.melotti | 2010-01-24 22:48:35 +0200 (Sun, 24 Jan 2010) | 1 line

    remove archaic functions from test_support
  ........
................
2010-01-24 21:02:05 +00:00
Ezio Melotti
b19f43dbf0 Merged revisions 77729 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77729 | ezio.melotti | 2010-01-24 22:48:35 +0200 (Sun, 24 Jan 2010) | 1 line

  remove archaic functions from test_support
........
2010-01-24 20:59:24 +00:00
Ezio Melotti
e96159335f Merged revisions 77727 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77727 | ezio.melotti | 2010-01-24 18:58:36 +0200 (Sun, 24 Jan 2010) | 1 line

  use assert[Not]IsInstance where appropriate
........
2010-01-24 19:26:24 +00:00
Mark Dickinson
95a3633c96 Merged revisions 77722 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r77722 | mark.dickinson | 2010-01-24 10:16:29 +0000 (Sun, 24 Jan 2010) | 23 lines

  Merged revisions 77691,77698,77713-77714 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r77691 | mark.dickinson | 2010-01-22 16:18:09 +0000 (Fri, 22 Jan 2010) | 1 line

    Correct typo in comment.
  ........
    r77698 | mark.dickinson | 2010-01-22 17:04:07 +0000 (Fri, 22 Jan 2010) | 3 lines

    Issue #7743:  Fix a potential incorrect rounding bug in dtoa.c (2nd bug
    in issue 7743).
  ........
    r77713 | mark.dickinson | 2010-01-23 20:48:56 +0000 (Sat, 23 Jan 2010) | 3 lines

    Issue #7743:  Add checks for zero inputs to the lshift and mult functions;
    this fixes the first bug described in issue #7743.
  ........
    r77714 | mark.dickinson | 2010-01-23 21:25:53 +0000 (Sat, 23 Jan 2010) | 1 line

    dtoa.c fix from upstream that fixes incorrectly rounded results for certain subnormals that are also halfway cases.
  ........
................
2010-01-24 10:16:59 +00:00
Mark Dickinson
f41d29a8eb Merged revisions 77691,77698,77713-77714 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77691 | mark.dickinson | 2010-01-22 16:18:09 +0000 (Fri, 22 Jan 2010) | 1 line

  Correct typo in comment.
........
  r77698 | mark.dickinson | 2010-01-22 17:04:07 +0000 (Fri, 22 Jan 2010) | 3 lines

  Issue #7743:  Fix a potential incorrect rounding bug in dtoa.c (2nd bug
  in issue 7743).
........
  r77713 | mark.dickinson | 2010-01-23 20:48:56 +0000 (Sat, 23 Jan 2010) | 3 lines

  Issue #7743:  Add checks for zero inputs to the lshift and mult functions;
  this fixes the first bug described in issue #7743.
........
  r77714 | mark.dickinson | 2010-01-23 21:25:53 +0000 (Sat, 23 Jan 2010) | 1 line

  dtoa.c fix from upstream that fixes incorrectly rounded results for certain subnormals that are also halfway cases.
........
2010-01-24 10:16:29 +00:00