Commit Graph

41943 Commits

Author SHA1 Message Date
Antoine Pitrou 6e127db0ed Merged revisions 77970 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77970 | antoine.pitrou | 2010-02-04 21:20:18 +0100 (jeu., 04 févr. 2010) | 6 lines

  Issue #4772: Raise a ValueError when an unknown Bluetooth protocol is
  specified, rather than fall through to AF_PACKET (in the `socket` module).
  Also, raise ValueError rather than TypeError when an unknown TIPC address
  type is specified.  Patch by Brian Curtin.
........
2010-02-04 20:26:34 +00:00
Ezio Melotti f85bba5431 Merged revisions 77968 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77968 | ezio.melotti | 2010-02-04 22:06:38 +0200 (Thu, 04 Feb 2010) | 1 line

  Use correct assert* methods in the examples.
........
2010-02-04 20:22:44 +00:00
R. David Murray 2d95c3a7d8 Merged revisions 77943,77959-77960 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77943 | r.david.murray | 2010-02-03 08:36:23 -0500 (Wed, 03 Feb 2010) | 2 lines

  Explicitly mention the default value for formatdate's usegmt parameter.
........
  r77959 | nick.coghlan | 2010-02-04 07:43:58 -0500 (Thu, 04 Feb 2010) | 1 line

  Issue 6760: Clarify args handling for subprocess.Popen. Patch by Chris Rebert
........
  r77960 | r.david.murray | 2010-02-04 11:33:31 -0500 (Thu, 04 Feb 2010) | 2 lines

  Add Chris Rebert to ACKS for issue 6760 Popen doc improvements.
........
2010-02-04 16:35:33 +00:00
Collin Winter 54c45787e4 Merged revisions 69304 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r69304 | neil.schemenauer | 2009-02-05 08:25:16 -0800 (Thu, 05 Feb 2009) | 4 lines

  Fix test_build_ext.py to work when building in a separate directory.
  Since "srcdir" should now be defined on all platforms, use it to
  find the module source.
........
2010-02-03 22:06:03 +00:00
Collin Winter 2905baff05 Merged revisions 72357,72367 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72357 | benjamin.peterson | 2009-05-05 14:09:21 -0700 (Tue, 05 May 2009) | 4 lines

  fix running test_capi with -R ::

  Also, fix a refleak in the test that was preventing running. :)
........
  r72367 | benjamin.peterson | 2009-05-05 16:00:48 -0700 (Tue, 05 May 2009) | 1 line

  tabify :(
........
2010-02-03 20:29:10 +00:00
Eric Smith 5adf89dbe1 Blocked revisions 77944 via svnmerge
........
  r77944 | eric.smith | 2010-02-03 09:17:50 -0500 (Wed, 03 Feb 2010) | 1 line

  Corrected list of attributes exposed by sys.getwindowsversion.
........
2010-02-03 14:18:16 +00:00
Tarek Ziadé 43238e56ac Blocked revisions 77930 via svnmerge
........
  r77930 | tarek.ziade | 2010-02-03 00:39:40 +0100 (Wed, 03 Feb 2010) | 1 line

  added a note in the whatsnew file for sysconfig
........
2010-02-02 23:40:54 +00:00
Antoine Pitrou 6f544ce0bf Blocked revisions 77916 via svnmerge
........
  r77916 | antoine.pitrou | 2010-02-02 23:36:17 +0100 (mar., 02 févr. 2010) | 4 lines

  Issue #7385: Fix a crash in `MemoryView_FromObject` when
  `PyObject_GetBuffer` fails.  Patch by Florent Xicluna.
........
2010-02-02 22:41:41 +00:00
Tarek Ziadé eb200417b9 Blocked revisions 77914 via svnmerge
........
  r77914 | tarek.ziade | 2010-02-02 23:27:58 +0100 (Tue, 02 Feb 2010) | 1 line

  first version of the sysconfig module documentation
........
2010-02-02 22:29:36 +00:00
Martin v. Löwis c0098595db Merged revisions 77898 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

................
  r77898 | martin.v.loewis | 2010-02-01 02:15:39 +0100 (Mo, 01 Feb 2010) | 17 lines

  Merged revisions 77855-77856,77870 via svnmerge from
  svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3

  ........
    r77855 | benjamin.peterson | 2010-01-30 17:32:05 +0100 (Sa, 30 Jan 2010) | 1 line

    don't return node if it is not changed
  ........
    r77856 | benjamin.peterson | 2010-01-30 17:35:29 +0100 (Sa, 30 Jan 2010) | 1 line

    return None to indicate no change
  ........
    r77870 | benjamin.peterson | 2010-01-31 02:21:26 +0100 (So, 31 Jan 2010) | 1 line

    never return the original node given to transform()
  ........
................
2010-02-01 01:17:43 +00:00
Victor Stinner d85f1c01af Merged revisions 77892 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77892 | victor.stinner | 2010-01-31 23:32:15 +0100 (dim., 31 janv. 2010) | 4 lines

  Issue #7819: Check sys.call_tracing() arguments types.

  py3k was already patched by issue #3661.
........
2010-01-31 22:33:22 +00:00
Antoine Pitrou 22697c0c72 Note: the issue was fixed in an earlier commit.
Blocked revisions 77890 via svnmerge

........
  r77890 | antoine.pitrou | 2010-01-31 23:26:04 +0100 (dim., 31 janv. 2010) | 7 lines

  - Issue #6939: Fix file I/O objects in the `io` module to keep the original
    file position when calling `truncate()`.  It would previously change the
    file position to the given argument, which goes against the tradition of
    ftruncate() and other truncation APIs.  Patch by Pascal Chambon.
........
2010-01-31 22:26:41 +00:00
Matthias Klose 2b52e311e5 Merged revisions 77879 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77879 | matthias.klose | 2010-01-31 17:46:26 +0100 (So, 31 Jan 2010) | 2 lines

  - Fix typo in os.execvp docstring.
........
2010-01-31 16:47:55 +00:00
Matthias Klose d71657c263 Merged revisions 77875 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77875 | matthias.klose | 2010-01-31 17:05:13 +0100 (So, 31 Jan 2010) | 3 lines

  - Update python manual page (options -B, -O0, -s, environment variables
    PYTHONDONTWRITEBYTECODE, PYTHONNOUSERSITE).
........
2010-01-31 16:09:16 +00:00
Benjamin Peterson e68892ddf4 Merged revisions 68874 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r68874 | jesse.noller | 2009-01-23 08:04:41 -0600 (Fri, 23 Jan 2009) | 1 line

  Issue 3807: multiprocessing fails to compile under --without-threads
........
2010-01-30 20:00:35 +00:00
Benjamin Peterson b453f0babb Merged revisions 76050 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76050 | gregory.p.smith | 2009-11-01 19:37:37 -0600 (Sun, 01 Nov 2009) | 5 lines

  see http://bugs.python.org/issue1006238 this merges in the following
  patch to make cross compilation of the chflags check easier:

   http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/python/files/python-2.6-chflags-cross.patch?rev=1.1
........
2010-01-30 19:51:50 +00:00
Ezio Melotti 8688f014e9 Blocked revisions 77850-77851 via svnmerge
........
  r77850 | ezio.melotti | 2010-01-30 15:08:54 +0200 (Sat, 30 Jan 2010) | 1 line

  Relocate a couple of stars and remove redundant backticks
........
  r77851 | ezio.melotti | 2010-01-30 15:27:05 +0200 (Sat, 30 Jan 2010) | 1 line

  Use the correct markup for args
........
2010-01-30 13:33:39 +00:00
Martin v. Löwis 98d76a9a90 Merged revisions 77846 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

................
  r77846 | martin.v.loewis | 2010-01-30 11:56:23 +0100 (Sa, 30 Jan 2010) | 13 lines

  Merged revisions 77419,77435 via svnmerge from
  svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3

  ........
    r77419 | benjamin.peterson | 2010-01-10 21:39:48 +0100 (So, 10 Jan 2010) | 1 line

    enclose path in quotes to handle paths with spaces correctly #7666
  ........
    r77435 | alexandre.vassalotti | 2010-01-12 01:36:54 +0100 (Di, 12 Jan 2010) | 2 lines

    Issue #1967: Add fixer for dictionary views.
  ........
................
2010-01-30 11:02:34 +00:00
Mark Dickinson 13ea1f926f Blocked revisions 77842 via svnmerge
........
  r77842 | mark.dickinson | 2010-01-30 10:08:33 +0000 (Sat, 30 Jan 2010) | 4 lines

  Issue #7767: Add new C-API function PyLong_AsLongLongAndOverflow, a
  long long variant of PyLong_AsLongAndOverflow.  Patch by Case Van
  Horsen.
........
2010-01-30 10:31:45 +00:00
Victor Stinner f6465c23de Merged revisions 77836 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77836 | victor.stinner | 2010-01-30 03:00:26 +0100 (sam., 30 janv. 2010) | 2 lines

  #7801: fix xmlrpclib binary example, open the picture in binary mode
........
2010-01-30 02:04:58 +00:00
R. David Murray f27f7694a3 Blocked revisions 77828 via svnmerge
........
  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:12:01 +00:00
R. David Murray c90e125d37 Blocked revisions 77815 via svnmerge
........
  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:58:58 +00:00
Mark Dickinson 0273354ab6 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:16:18 +00:00
Ezio Melotti ae03bc5488 #7791: remove reference to ipaddr 2010-01-28 04:27:56 +00:00
Benjamin Peterson c760e86184 revert r77790. it requires a new-style class change 2010-01-28 01:31:13 +00:00
Antoine Pitrou ca5a06aaa9 Issue #6939: Fix file I/O objects in the `io` module to keep the original
file position when calling `truncate()`.  It would previously change the
file position to the given argument, which goes against the tradition of
`ftruncate()` and other truncation APIs.  Patch by Pascal Chambon.
2010-01-27 21:48:46 +00:00
Antoine Pitrou f333014467 Blocked revisions 77798 via svnmerge
........
  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:01:25 +00:00
Benjamin Peterson 3059caadc6 Merged revisions 77788-77789 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  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
........
  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:24:25 +00:00
Eric Smith 01bd3ece5c Blocked revisions 77784 via svnmerge
........
  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:10:18 +00:00
Eric Smith df50be364b Blocked revisions 77775 via svnmerge
........
  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:24:06 +00:00
Eric Smith 2858c13e2a Blocked revisions 77771 via svnmerge
........
  r77771 | eric.smith | 2010-01-26 19:58:43 -0500 (Tue, 26 Jan 2010) | 1 line

  Removed unneeded test.
........
2010-01-27 00:59:22 +00:00
Eric Smith 5f1bd34654 Blocked revisions 77767 via svnmerge
........
  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:55:44 +00:00
Eric Smith 0e57b3eca7 Blocked revisions 77763 via svnmerge
........
  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:29:32 +00:00
Tarek Ziadé d28ffe75bc Blocked revisions 77761 via svnmerge
........
  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-26 23:09:02 +00:00
Tarek Ziadé 0e93ee235c Blocked revisions 77759 via svnmerge
........
  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
........
2010-01-26 21:30:01 +00:00
Tarek Ziadé 29a18b8c4f Blocked revisions 77756 via svnmerge
........
  r77756 | tarek.ziade | 2010-01-26 18:20:37 +0100 (Tue, 26 Jan 2010) | 1 line

  fixed bdist_msi imports and added a test module for distutils.command.bdist_msi
........
2010-01-26 17:21:48 +00:00
Tarek Ziadé 5eb7e66ebc Blocked revisions 77752 via svnmerge
........
  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-25 23:21:06 +00:00
Raymond Hettinger c1bb12a5ea Fix markup. 2010-01-25 19:20:30 +00:00
Ezio Melotti dd62b4d049 Revert r77730 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:13:02 +00:00
Ezio Melotti dabb5f7db9 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:46:11 +00:00
Benjamin Peterson 00b9051a7e 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:35:04 +00:00
Ezio Melotti 7671709ec6 Merged revisions 77733 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77733 | ezio.melotti | 2010-01-24 23:47:59 +0200 (Sun, 24 Jan 2010) | 1 line

  #7269: fix failures in test_bsddb3. Patch by Florent Xicluna.
........
2010-01-24 21:50:01 +00:00
Ezio Melotti 4bfd7ad09c 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:55:31 +00:00
Mark Dickinson 8b20c68503 Blocked revisions 77691,77698,77713-77714 via svnmerge
........
  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:17:52 +00:00
Raymond Hettinger cef40c34a9 Issue 7764: Improve recipe for itertools.consume(). 2010-01-24 03:34:56 +00:00
Tarek Ziadé 495517cd38 Merged revisions 77717 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77717 | tarek.ziade | 2010-01-24 01:33:32 +0100 (Sun, 24 Jan 2010) | 1 line

  Fixed #7748: now upload and register commands don't need to force the encoding anymore : DistributionMetada returns utf8 strings
........
2010-01-24 00:57:20 +00:00
Tarek Ziadé 6411a53d7d Blocked revisions 77712 via svnmerge
........
  r77712 | tarek.ziade | 2010-01-23 18:52:57 +0100 (Sat, 23 Jan 2010) | 1 line

  fixed the 64bits tests for get_platform() - mac osx
........
2010-01-24 00:36:14 +00:00
Ezio Melotti 693415ec56 Merged revisions 77706 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77706 | ezio.melotti | 2010-01-23 12:43:05 +0200 (Sat, 23 Jan 2010) | 1 line

  Increased the overflow value on test_dealloc to make sure that it is big enough even for wide builds.
........
2010-01-23 10:44:47 +00:00
Tarek Ziadé bd0a86be7c Blocked revisions 77704 via svnmerge
........
  r77704 | tarek.ziade | 2010-01-23 10:23:15 +0100 (Sat, 23 Jan 2010) | 1 line

  taking sysconfig out of distutils
........
2010-01-23 09:24:37 +00:00
Ezio Melotti 3254d76ccb Merged revisions 77697 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77697 | ezio.melotti | 2010-01-22 18:58:28 +0200 (Fri, 22 Jan 2010) | 1 line

  This should fix the failure introduced in r77680. The error message is now different and it caused the test to fail. The failing test is not present in 2.5 so it is failing only on 2.6 and newer versions.
........
2010-01-22 17:17:40 +00:00