Commit Graph

41819 Commits

Author SHA1 Message Date
R. David Murray a6fd2b2d6a Merged revisions 76819,76830 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76819 | benjamin.peterson | 2009-12-13 16:15:31 -0500 (Sun, 13 Dec 2009) | 1 line

  avoid having to update this statement all the time
........
  r76830 | r.david.murray | 2009-12-13 21:50:32 -0500 (Sun, 13 Dec 2009) | 2 lines

  Clarify phrasing that explains that there are currently two branches.
........
2009-12-14 17:24:36 +00:00
Tarek Ziadé 18e4117c9b Blocked revisions 76826 via svnmerge
........
  r76826 | tarek.ziade | 2009-12-14 00:24:13 +0100 (Mon, 14 Dec 2009) | 1 line

  reorganized the distutils doc a bit : the MANIFEST.in template system has its own section now. This is easier to find and follow
........
2009-12-13 23:25:09 +00:00
Mark Dickinson 97710c11f6 Blocked revisions 76813 via svnmerge
........
  r76813 | mark.dickinson | 2009-12-13 21:06:06 +0000 (Sun, 13 Dec 2009) | 3 lines

  Issue #7492: Autoconf tests were leaving semaphore files behind.  Add
  sem_unlink calls to delete those semaphore files.
........
2009-12-13 21:11:53 +00:00
R. David Murray 9c5360268c Blocked revisions 73819,73821-73822,73877,73986,74098,74100 via svnmerge
All of these are descendants of the issue 6267 patch (r73638), which was
an enhancement patch and thus blocked from backport (even though it may
have contained a couple fixes...)

........
  r73819 | kristjan.jonsson | 2009-07-03 19:07:07 -0400 (Fri, 03 Jul 2009) | 2 lines

  http://bugs.python.org/issue6381
  some platforms may raise ENOTCONN if the stack has disconnected the socket on behalf of the peer.
........
  r73821 | kristjan.jonsson | 2009-07-03 19:26:02 -0400 (Fri, 03 Jul 2009) | 2 lines

  http://bugs.python.org/issue6267
  Incorrect exception handling for xmlrp client retry
........
  r73822 | kristjan.jonsson | 2009-07-03 19:29:50 -0400 (Fri, 03 Jul 2009) | 2 lines

  http://bugs.python.org/issue6267
  Incorrect exception handling for xmlrpc client retry
........
  r73877 | kristjan.jonsson | 2009-07-07 05:01:34 -0400 (Tue, 07 Jul 2009) | 2 lines

  http://bugs.python.org/issue6382
  added the shutdown_request() which can perform shutdown before calling close.  This is needed for the ForkingMixIn because different close semantics are required for child and parent process.  shutdown_request(), for TCP servers, calls socket.shutdown() and then calls close_request().  Therefore, this is not an backwards incompatible change, since subclasses that continue to override close_request() continue to work.
........
  r73986 | kristjan.jonsson | 2009-07-12 18:42:08 -0400 (Sun, 12 Jul 2009) | 2 lines

  http://bugs.python.org/issue6267
  Add more tests for the xlmrpc.ServerProxy
........
  r74098 | kristjan.jonsson | 2009-07-19 18:14:00 -0400 (Sun, 19 Jul 2009) | 2 lines

  http://bugs.python.org/issue6499
  zlib/gzip may not be present for all builds.  Make xmlrpclib gracefully not supporg gzip encoding in this case
........
  r74100 | kristjan.jonsson | 2009-07-19 18:35:44 -0400 (Sun, 19 Jul 2009) | 2 lines

  http://bugs.python.org/issue6499
  gzip.GzipFile may not exist as a parent class
........
2009-12-13 17:55:03 +00:00
Benjamin Peterson 9567112eb7 Merged revisions 76798-76799 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76798 | benjamin.peterson | 2009-12-13 11:29:16 -0600 (Sun, 13 Dec 2009) | 1 line

  make StringIO like other file objects in that readline(-1) has no effect #7348
........
  r76799 | benjamin.peterson | 2009-12-13 11:31:31 -0600 (Sun, 13 Dec 2009) | 1 line

  add NEWS note
........
2009-12-13 17:34:05 +00:00
Benjamin Peterson d76e711eab Merged revisions 76794 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76794 | benjamin.peterson | 2009-12-13 10:36:53 -0600 (Sun, 13 Dec 2009) | 2 lines

  fix the ignoring of __cmp__ method on metaclasses #7491
........
2009-12-13 16:41:44 +00:00
Antoine Pitrou 62926f0b1e Blocked revisions 76791 via svnmerge
........
  r76791 | antoine.pitrou | 2009-12-13 17:18:14 +0100 (dim., 13 déc. 2009) | 5 lines

  Add NEWS entry as per RDM's suggestion (the bug was actually present
  in 2.7 alpha 1)
........
2009-12-13 16:19:43 +00:00
Benjamin Peterson 6e363a5f71 Merged revisions 76785 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76785 | benjamin.peterson | 2009-12-13 08:18:08 -0600 (Sun, 13 Dec 2009) | 1 line

  add 2.6.x point releases
........
2009-12-13 14:20:15 +00:00
Lars Gustäbel ac4f942837 Blocked revisions 76780 via svnmerge
........
  r76780 | lars.gustaebel | 2009-12-13 12:32:27 +0100 (Sun, 13 Dec 2009) | 21 lines

  Issue #7357: No longer suppress fatal extraction errors by
  default.

  TarFile's errorlevel argument controls how errors are
  handled that occur during extraction. There are three
  possible levels 0, 1 and 2. If errorlevel is set to 1 or 2
  fatal errors (e.g. a full filesystem) are raised as
  exceptions. If it is set to 0, which is the default value,
  extraction errors are suppressed, and error messages are
  written to the debug log instead. But, if the debug log is
  not activated, which is the default as well, all these
  errors go unnoticed.

  The original intention was to imitate GNU tar which tries
  to extract as many members as possible instead of stopping
  on the first error. It turns out that this is no good
  default behaviour for a tar library. This patch simply
  changes the default value for the errorlevel argument from
  0 to 1, so that fatal extraction errors are raised as
  EnvironmentError exceptions.
........
2009-12-13 11:38:07 +00:00
Benjamin Peterson 011e9f1726 Merged revisions 76774 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76774 | benjamin.peterson | 2009-12-12 18:54:15 -0600 (Sat, 12 Dec 2009) | 1 line

  account for PyObject_IsInstance's new ability to fail
........
2009-12-13 00:59:01 +00:00
Antoine Pitrou e2d6700d4a Blocked revisions 76763 via svnmerge
........
  r76763 | antoine.pitrou | 2009-12-12 20:13:08 +0100 (sam., 12 déc. 2009) | 7 lines

  Issue #7466: segmentation fault when the garbage collector is called
  in the middle of populating a tuple.  Patch by Florent Xicluna.

  (note: no NEWS entry for trunk since the bug was introduced in 2.7/3.1)
........
2009-12-12 19:27:08 +00:00
R. David Murray 07ca761f62 Merged revisions 76726-76727 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

This merge changes the test harness to manually do the socket
shutdown that was made automatic in trunk by enhancement patch r73638
(issue 6267).  Patch modification by Scott Dial.

........
  r76726 | r.david.murray | 2009-12-09 10:15:31 -0500 (Wed, 09 Dec 2009) | 6 lines

  Issue 5949: fixed IMAP4_SSL hang when the IMAP server response is
  missing proper end-of-line termination.  Patch and tests by
  Scott Dial.  The new tests include a test harness which will
  make it easier to add additional tests.
........
  r76727 | r.david.murray | 2009-12-09 11:41:39 -0500 (Wed, 09 Dec 2009) | 2 lines

  Skip new imaplib SSL tests if ssl is not available.
........
2009-12-12 18:36:47 +00:00
Mark Dickinson 7c9a43e02e Blocked revisions 76755 via svnmerge
........
  r76755 | mark.dickinson | 2009-12-11 17:29:33 +0000 (Fri, 11 Dec 2009) | 2 lines

  Issue #3366:  Add lgamma function to math module.
........
2009-12-11 20:18:18 +00:00
Mark Dickinson 7e6ef5eb4f Restore the svn property changes in r76754 2009-12-11 20:09:24 +00:00
Vinay Sajip 5e9afb8c2c Issue #7470: logging: fix bug in Unicode encoding fallback. 2009-12-11 09:16:01 +00:00
Tarek Ziadé ea8fb5117a Blocked revisions 76750 via svnmerge
........
  r76750 | tarek.ziade | 2009-12-10 20:29:53 +0100 (Thu, 10 Dec 2009) | 1 line

  using an existing file to avoid dealing with a sleep to test file ages
........
2009-12-10 19:31:02 +00:00
Tarek Ziadé 7efa0fac35 Blocked revisions 76746 via svnmerge
........
  r76746 | tarek.ziade | 2009-12-10 16:29:03 +0100 (Thu, 10 Dec 2009) | 1 line

  added test coverage for distutils.dep_util, and cleaned up the module
........
2009-12-10 15:31:03 +00:00
Mark Dickinson 887febd453 Blocked revisions 76740 via svnmerge
........
  r76740 | mark.dickinson | 2009-12-10 10:36:32 +0000 (Thu, 10 Dec 2009) | 8 lines

  Replace the size check for PyMem_MALLOC and PyMem_REALLOC with an almost
  equivalent[*] check that doesn't produce compiler warnings about a 'x < 0'
  check on an unsigned type.

  [*] it's equivalent for inputs of type size_t or Py_ssize_t, or any smaller
  unsigned or signed integer type.
........
2009-12-10 10:39:49 +00:00
Ronald Oussoren 61f6a1bead Merged revisions 76738 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76738 | ronald.oussoren | 2009-12-10 11:27:09 +0100 (Thu, 10 Dec 2009) | 6 lines

  Fix an issue with the detection of a non-existing SDK
  on OSX. Without this patch it wasn't possible after all
  to compile extensions on OSX 10.6 with the binary
  installer unless the user had installed the (non-default)
  10.4u SDK.
........
2009-12-10 10:29:05 +00:00
Raymond Hettinger 287bef46b7 Fix variants of deque.extend: d.extend(d) d+=d d.extendleft(d) 2009-12-10 05:56:49 +00:00
Ronald Oussoren 1dbfbab1d2 Remove documentation for the no longer existing 'Python IDE'
from the Python.app bundle on OSX.

This fixes Issue7437, the documentation contained filenames that
broke the installer on OSX 10.3.
2009-12-08 16:39:36 +00:00
Antoine Pitrou 75763cb628 Blocked revisions 76708 via svnmerge
........
  r76708 | antoine.pitrou | 2009-12-08 16:40:51 +0100 (mar., 08 déc. 2009) | 4 lines

  Issue #6986: Fix crash in the JSON C accelerator when called with the
  wrong parameter types.  Patch by Victor Stinner.
........
2009-12-08 15:41:50 +00:00
Tarek Ziadé ef2b2cad98 Blocked revisions 76704 via svnmerge
........
  r76704 | tarek.ziade | 2009-12-08 10:39:51 +0100 (Tue, 08 Dec 2009) | 1 line

  removed the usage of rfc822 in favor of email.message.Message
........
2009-12-08 09:40:27 +00:00
Tarek Ziadé 156a37876a Blocked revisions 76702 via svnmerge
........
  r76702 | tarek.ziade | 2009-12-08 09:56:49 +0100 (Tue, 08 Dec 2009) | 1 line

  Issue #7457: added a read_pkg_file method to distutils.dist.DistributionMetadata so we can read back PKG-INFO files
........
2009-12-08 08:58:10 +00:00
Tarek Ziadé f869673b27 Merged revisions 76684 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76684 | tarek.ziade | 2009-12-06 10:22:40 +0100 (Sun, 06 Dec 2009) | 1 line

  Fixed #1923: make sure we don't strip meaningful whitespace in PKG-INFO Description field
........
2009-12-06 09:26:45 +00:00
Mark Dickinson b2e03363a5 Blocked revisions 76668 via svnmerge
........
  r76668 | mark.dickinson | 2009-12-04 11:30:16 +0000 (Fri, 04 Dec 2009) | 1 line

  Add missing issue number in Misc/NEWS entry.
........
2009-12-04 11:30:45 +00:00
Mark Dickinson 3f8707c23f Merged revisions 76665 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76665 | mark.dickinson | 2009-12-04 11:24:38 +0000 (Fri, 04 Dec 2009) | 2 lines

  Avoid undefined behaviour due to overflow in i_divmod (Objects/intobject.c).
........
2009-12-04 11:25:29 +00:00
R. David Murray 1b479f24dc Merged revisions 76659 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76659 | r.david.murray | 2009-12-03 18:57:59 -0500 (Thu, 03 Dec 2009) | 4 lines

  Issue 7431: use TESTFN in test_linecache instead of trying to create a
  file in the Lib/test directory, which might be read-only for the
  user running the tests.
........
2009-12-04 00:01:31 +00:00
Martin v. Löwis cc0c7fbc22 Merged revisions 76651 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76651 | martin.v.loewis | 2009-12-03 21:53:51 +0100 (Do, 03 Dez 2009) | 3 lines

  Issue #4120: Drop reference to CRT from manifest when building
  extensions with msvc9compiler.
........
2009-12-03 20:56:15 +00:00
Mark Dickinson 0229326980 Blocked revisions 76648 via svnmerge
........
  r76648 | mark.dickinson | 2009-12-03 12:08:56 +0000 (Thu, 03 Dec 2009) | 3 lines

  Issue #6985:  number of range() items should be constrained to lie
  in a Py_ssize_t, not an int.
........
2009-12-03 12:09:33 +00:00
Eric Smith d819dbe731 Blocked revisions 76632 via svnmerge
........
  r76632 | eric.smith | 2009-12-02 12:43:06 -0500 (Wed, 02 Dec 2009) | 1 line

  Issue #4482: Add tests for special float value formatting.
........
2009-12-02 17:46:47 +00:00
Mark Dickinson 6df863c93a Merged revisions 76629 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76629 | mark.dickinson | 2009-12-02 17:33:41 +0000 (Wed, 02 Dec 2009) | 3 lines

  Issue #7406:  Fix some occurrences of potential signed overflow in int
  arithmetic.
........
2009-12-02 17:36:34 +00:00
Mark Dickinson 0d124c29e2 Blocked revisions 76603,76605 via svnmerge
........
  r76603 | raymond.hettinger | 2009-11-30 21:14:25 +0000 (Mon, 30 Nov 2009) | 1 line

  Update project file for new file: dtoa.c
........
  r76605 | mark.dickinson | 2009-11-30 21:51:30 +0000 (Mon, 30 Nov 2009) | 2 lines

  Add dtoa.c and dtoa.h to the relevant project files.
........
2009-11-30 21:53:09 +00:00
Raymond Hettinger bbeca275e1 Add sentinel 2009-11-30 21:33:31 +00:00
Raymond Hettinger 673827c6f9 Issue #7410: deepcopy of itertools.count() erroneously reset the count. 2009-11-30 11:15:28 +00:00
Tarek Ziadé af7d3bcc4a Blocked revisions 76588 via svnmerge
........
  r76588 | tarek.ziade | 2009-11-29 23:20:30 +0100 (Sun, 29 Nov 2009) | 1 line

  Fixed #7408: dropped group ownership checking because it relies on os-specific rules
........
2009-11-29 22:22:40 +00:00
Eric Smith ad445cd07c Blocked revisions 76583 via svnmerge
........
  r76583 | eric.smith | 2009-11-29 12:40:57 -0500 (Sun, 29 Nov 2009) | 1 line

  Issue #3382: Make '%F' and float.__format__('F') convert results to upper case. Much of the patch came from Mark Dickinson.
........
2009-11-29 17:42:05 +00:00
Mark Dickinson 48a522de9a Merged revisions 76575 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76575 | mark.dickinson | 2009-11-28 16:32:27 +0000 (Sat, 28 Nov 2009) | 5 lines

  Issue #1678380: When distinguishing between -0.0 and 0.0 in
  compiler_add_o, use copysign instead of examining the first and last
  bytes of the double.  The latter method fails for little-endian
  ARM, OABI, where doubles are little-endian but with the words swapped.
........
2009-11-28 16:37:36 +00:00
Mark Dickinson 22919aaa38 Blocked revisions 76568 via svnmerge
........
  r76568 | mark.dickinson | 2009-11-28 13:13:13 +0000 (Sat, 28 Nov 2009) | 1 line

  Multiprocessing configure checks don't need LIBM
........
2009-11-28 13:13:39 +00:00
Mark Dickinson dbbc6603a6 Blocked revisions 76432,76558 via svnmerge
........
  r76432 | mark.dickinson | 2009-11-20 19:30:22 +0000 (Fri, 20 Nov 2009) | 5 lines

  Issue #7272:  Add configure test to detect whether sem_open works
  properly, and use this to skip test_multiprocessing on platforms
  where sem_open raises a signal.  This should fix some FreeBSD buildbot
  failures for test_multiprocessing.
........
  r76558 | mark.dickinson | 2009-11-28 10:44:20 +0000 (Sat, 28 Nov 2009) | 4 lines

  Issue #7272, continued:  don't re-use existing HAVE_BROKEN_POSIX_SEMAPHORES
  to indicate that semaphores aren't available;  define a new variable
  POSIX_SEMAPHORES_NOT_ENABLED instead.
........
2009-11-28 12:39:54 +00:00
Mark Dickinson 47dd648dbf Blocked revisions 76561 via svnmerge
........
  r76561 | mark.dickinson | 2009-11-28 12:30:36 +0000 (Sat, 28 Nov 2009) | 5 lines

  Include ieeefp.h (when available) in pyport.h instead of individually in
  Objects/floatobject.c and Objects/complexobject.c.  This should silence
  compiler warnings about implicit declaration of the 'finite' function
  on Solaris.
........
2009-11-28 12:33:35 +00:00
Vinay Sajip e9c5a0410e Issue #7403: Fixed possible race condition in lock creation. 2009-11-27 14:03:36 +00:00
Barry Warsaw 546b2121ff Add mktime_tz to __all__. It's documented as being available in email.utils. 2009-11-25 18:38:24 +00:00
Mark Dickinson eac9d3892f Blocked revisions 76502 via svnmerge
........
  r76502 | mark.dickinson | 2009-11-24 20:51:48 +0000 (Tue, 24 Nov 2009) | 3 lines

  Issue #7228:  Fix format mismatch when printing something of type off_t.
  (Should silence some compiler warnings.)
........
2009-11-24 20:55:17 +00:00
Alexandre Vassalotti 513c46e109 Merged revisions 76499 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76499 | alexandre.vassalotti | 2009-11-24 12:53:23 -0500 (Tue, 24 Nov 2009) | 9 lines

  Issue 7128: Removed reference to the non-existent copyreg module.

  The reference to copyreg was a unnoticed leftover from the compatibility
  support for the grand renaming of the standard library in Python 3. The
  compatibility support was reverted in r63493, but not completely as this
  patch shows.

  Based on a patch by Amaury Forgeot d'Arc.
........
2009-11-24 18:06:51 +00:00
Mark Dickinson cab1c661e7 Blocked revisions 76495 via svnmerge
........
  r76495 | mark.dickinson | 2009-11-24 15:12:20 +0000 (Tue, 24 Nov 2009) | 2 lines

  Issue #7117:  Update float formatting testcases to match those in py3k.
........
2009-11-24 15:12:55 +00:00
Mark Dickinson 12de0bed1a Blocked revisions 76489 via svnmerge
........
  r76489 | mark.dickinson | 2009-11-24 14:27:02 +0000 (Tue, 24 Nov 2009) | 1 line

  Fix some documentation examples involving the repr of a float.
........
2009-11-24 14:27:30 +00:00
Mark Dickinson 4336f706a5 Blocked revisions 76483 via svnmerge
........
  r76483 | mark.dickinson | 2009-11-24 10:54:58 +0000 (Tue, 24 Nov 2009) | 2 lines

  round(0, "ermintrude") succeeded instead of producing a TypeError.  Fix this.
........
2009-11-24 10:55:38 +00:00
Mark Dickinson c2fb7d1b02 Blocked revisions 76472 via svnmerge
........
  r76472 | mark.dickinson | 2009-11-23 20:54:09 +0000 (Mon, 23 Nov 2009) | 4 lines

  Issue #7117, continued: Remove substitution of %g-style formatting for
  %f-style formatting, which used to occur at high precision.  Float formatting
  should now be consistent between 2.7 and 3.1.
........
2009-11-23 20:54:56 +00:00
Senthil Kumaran 4702aef1ad Merged revisions 76464 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76464 | senthil.kumaran | 2009-11-24 00:11:31 +0530 (Tue, 24 Nov 2009) | 4 lines

  Fix for issue1488943 - difflib.Differ() doesn't always add hints for tab
  characters.
........
2009-11-23 18:54:33 +00:00