]> granicus.if.org Git - python/log
python
15 years agoMerged revisions 76750 via svnmerge from
Tarek Ziadé [Thu, 10 Dec 2009 19:37:05 +0000 (19:37 +0000)]
Merged revisions 76750 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  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
........

15 years agoMerged revisions 76746 via svnmerge from
Tarek Ziadé [Thu, 10 Dec 2009 15:35:35 +0000 (15:35 +0000)]
Merged revisions 76746 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  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
........

15 years agoMerged revisions 76740 via svnmerge from
Mark Dickinson [Thu, 10 Dec 2009 10:39:08 +0000 (10:39 +0000)]
Merged revisions 76740 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  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.
........

15 years agoFix variants of deque.extend: d.extend(d) d+=d d.extendleft(d)
Raymond Hettinger [Thu, 10 Dec 2009 03:03:02 +0000 (03:03 +0000)]
Fix variants of deque.extend:  d.extend(d)   d+=d  d.extendleft(d)

15 years agoremove magic number bumping from the 2.x -U option #7459
Benjamin Peterson [Thu, 10 Dec 2009 02:09:08 +0000 (02:09 +0000)]
remove magic number bumping from the 2.x -U option #7459

15 years agoMerged revisions 76726-76727 via svnmerge from
R. David Murray [Thu, 10 Dec 2009 02:08:06 +0000 (02:08 +0000)]
Merged revisions 76726-76727 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

The merge adds a test with an invalid rather than a missing line end, since
the py3K code passed the original issue 5949 test.  New test also 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.
........

15 years agoAdd a reverse() method to collections.deque().
Raymond Hettinger [Thu, 10 Dec 2009 00:47:21 +0000 (00:47 +0000)]
Add a reverse() method to collections.deque().

15 years agoWording clarification.
Brett Cannon [Thu, 10 Dec 2009 00:24:21 +0000 (00:24 +0000)]
Wording clarification.

15 years agoClarify the intention of raising ImportError for importlib.abc.PyLoader.(source|bytec...
Brett Cannon [Wed, 9 Dec 2009 01:48:31 +0000 (01:48 +0000)]
Clarify the intention of raising ImportError for importlib.abc.PyLoader.(source|bytecode)_path.

15 years agoIssue #7461: objects returned by os.popen() should support the context manager protocol
Antoine Pitrou [Wed, 9 Dec 2009 00:01:27 +0000 (00:01 +0000)]
Issue #7461: objects returned by os.popen() should support the context manager protocol

15 years agoMerged revisions 76720 via svnmerge from
Antoine Pitrou [Tue, 8 Dec 2009 19:53:23 +0000 (19:53 +0000)]
Merged revisions 76720 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76720 | antoine.pitrou | 2009-12-08 20:46:38 +0100 (mar., 08 déc. 2009) | 3 lines

  Make test_pipes a little bit more robust.
........

15 years agoMerged revisions 76718 via svnmerge from
Antoine Pitrou [Tue, 8 Dec 2009 19:38:17 +0000 (19:38 +0000)]
Merged revisions 76718 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76718 | antoine.pitrou | 2009-12-08 20:35:12 +0100 (mar., 08 déc. 2009) | 3 lines

  Fix transient refleaks in test_urllib. Thanks to Florent Xicluna.
........

15 years agoMerged revisions 76716 via svnmerge from
Antoine Pitrou [Tue, 8 Dec 2009 19:27:24 +0000 (19:27 +0000)]
Merged revisions 76716 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76716 | antoine.pitrou | 2009-12-08 20:25:51 +0100 (mar., 08 déc. 2009) | 4 lines

  Fix the transient refleaks in test_zipimport_support.
  Diagnosis and original patch by Florent Xicluna (flox).
........

15 years agoMerged revisions 76712 via svnmerge from
Ronald Oussoren [Tue, 8 Dec 2009 16:35:28 +0000 (16:35 +0000)]
Merged revisions 76712 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76712 | ronald.oussoren | 2009-12-08 17:32:52 +0100 (Tue, 08 Dec 2009) | 4 lines

  Fix for issue 7452: HAVE_GCC_ASM_FOR_X87 gets set when doing a universal build on
  an i386 based machine, but should only be active when compiling the x86 part of
  the universal binary.
........

15 years agoMerged revisions 76708 via svnmerge from
Antoine Pitrou [Tue, 8 Dec 2009 15:57:31 +0000 (15:57 +0000)]
Merged revisions 76708 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  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.
........

15 years agoMerged revisions 76702,76704 via svnmerge from
Tarek Ziadé [Tue, 8 Dec 2009 09:45:25 +0000 (09:45 +0000)]
Merged revisions 76702,76704 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  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
........
  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
........

15 years agoFix error message, for consistency with messages for % and //, and for consistency...
Mark Dickinson [Mon, 7 Dec 2009 19:34:59 +0000 (19:34 +0000)]
Fix error message, for consistency with messages for % and //, and for consistency with trunk

15 years agoMerged revisions 76692 via svnmerge from
Martin v. Löwis [Sun, 6 Dec 2009 18:34:14 +0000 (18:34 +0000)]
Merged revisions 76692 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76692 | martin.v.loewis | 2009-12-06 19:27:29 +0100 (So, 06 Dez 2009) | 2 lines

  Add UUIDs for 2.7. Drop UUIDs for 2.4.
........

15 years agologging: Improved support for SMTP over TLS.
Vinay Sajip [Sun, 6 Dec 2009 18:05:04 +0000 (18:05 +0000)]
logging: Improved support for SMTP over TLS.

15 years agologging: Added optional 'secure' parameter to SMTPHandler.
Vinay Sajip [Sun, 6 Dec 2009 17:57:11 +0000 (17:57 +0000)]
logging: Added optional 'secure' parameter to SMTPHandler.

15 years agoBlocked revisions 76551,76600 via svnmerge
Benjamin Peterson [Sun, 6 Dec 2009 17:36:44 +0000 (17:36 +0000)]
Blocked revisions 76551,76600 via svnmerge

........
  r76551 | vinay.sajip | 2009-11-27 08:03:36 -0600 (Fri, 27 Nov 2009) | 1 line

  Issue #7403: Fixed possible race condition in lock creation.
........
  r76600 | raymond.hettinger | 2009-11-30 13:44:40 -0600 (Mon, 30 Nov 2009) | 3 lines

  Issue 7410: deepcopy of itertools.count resets the count
........

15 years agoMerged revisions 76684 via svnmerge from
Tarek Ziadé [Sun, 6 Dec 2009 09:28:17 +0000 (09:28 +0000)]
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
........

15 years agoIssue #7435: Remove duplicate int/long tests, and other
Mark Dickinson [Sat, 5 Dec 2009 20:28:34 +0000 (20:28 +0000)]
Issue #7435:  Remove duplicate int/long tests, and other
references to long in py3k.  Patch provided by flox.

15 years agoBlocked revisions 76679 via svnmerge
Benjamin Peterson [Sat, 5 Dec 2009 18:51:13 +0000 (18:51 +0000)]
Blocked revisions 76679 via svnmerge

........
  r76679 | benjamin.peterson | 2009-12-05 12:48:13 -0600 (Sat, 05 Dec 2009) | 1 line

  fix date
........

15 years agoBlocked revisions 76672-76674,76676 via svnmerge
Benjamin Peterson [Sat, 5 Dec 2009 18:42:10 +0000 (18:42 +0000)]
Blocked revisions 76672-76674,76676 via svnmerge

........
  r76672 | benjamin.peterson | 2009-12-05 11:45:40 -0600 (Sat, 05 Dec 2009) | 1 line

  regenerate pydoc_topics
........
  r76673 | benjamin.peterson | 2009-12-05 11:46:33 -0600 (Sat, 05 Dec 2009) | 2 lines

  move RPM spec for 2.7
........
  r76674 | benjamin.peterson | 2009-12-05 11:47:56 -0600 (Sat, 05 Dec 2009) | 1 line

  bump version to 2.7a1
........
  r76676 | benjamin.peterson | 2009-12-05 12:40:02 -0600 (Sat, 05 Dec 2009) | 1 line

  post release version bump
........

15 years agoMerged revisions 76668 via svnmerge from
Mark Dickinson [Fri, 4 Dec 2009 11:32:26 +0000 (11:32 +0000)]
Merged revisions 76668 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76668 | mark.dickinson | 2009-12-04 11:30:16 +0000 (Fri, 04 Dec 2009) | 1 line

  Add missing issue number in Misc/NEWS entry.
........

15 years agoBlocked revisions 76665 via svnmerge
Mark Dickinson [Fri, 4 Dec 2009 11:26:06 +0000 (11:26 +0000)]
Blocked revisions 76665 via svnmerge

........
  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).
........

15 years agoIssue #7430: Remove lingering reference to cmp in recursion error message.
Mark Dickinson [Fri, 4 Dec 2009 10:06:06 +0000 (10:06 +0000)]
Issue #7430: Remove lingering reference to cmp in recursion error message.

15 years agoMerged revisions 76659 via svnmerge from
R. David Murray [Fri, 4 Dec 2009 00:09:14 +0000 (00:09 +0000)]
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.
........

15 years agoMerged revisions 76655 via svnmerge from
Martin v. Löwis [Thu, 3 Dec 2009 21:01:55 +0000 (21:01 +0000)]
Merged revisions 76655 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76655 | martin.v.loewis | 2009-12-03 22:01:16 +0100 (Do, 03 Dez 2009) | 2 lines

  Add Christoph Gohlke, for the issue 4120 work.
........

15 years agoMerged revisions 76651 via svnmerge from
Martin v. Löwis [Thu, 3 Dec 2009 20:57:49 +0000 (20:57 +0000)]
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.
........

15 years agoBlocked revisions 76648 via svnmerge
Mark Dickinson [Thu, 3 Dec 2009 12:10:00 +0000 (12:10 +0000)]
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.
........

15 years agoIssue #7414: Add missing 'case 'C'' to skipitem() in getargs.c. This
Mark Dickinson [Thu, 3 Dec 2009 10:59:46 +0000 (10:59 +0000)]
Issue #7414: Add missing 'case 'C'' to skipitem() in getargs.c.  This
was causing PyArg_ParseTupleAndKeywords(args, kwargs, "|CC", ...) to
fail with a RuntimeError.  Thanks Case Van Horsen for tracking down
the source of this error.

15 years agoMerged revisions 76644 via svnmerge from
Benjamin Peterson [Thu, 3 Dec 2009 03:01:27 +0000 (03:01 +0000)]
Merged revisions 76644 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76644 | benjamin.peterson | 2009-12-02 20:52:39 -0600 (Wed, 02 Dec 2009) | 4 lines

  disable pymalloc tricks with the --with-valgrind option #2422

  Patch from James Henstridge.
........

15 years agoRecorded merge of revisions 76642 via svnmerge from
Philip Jenvey [Thu, 3 Dec 2009 02:45:01 +0000 (02:45 +0000)]
Recorded merge of revisions 76642 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76642 | philip.jenvey | 2009-12-02 18:40:13 -0800 (Wed, 02 Dec 2009) | 1 line

  actually close files
........

15 years agoMerged revisions 76640 via svnmerge from
Philip Jenvey [Thu, 3 Dec 2009 02:29:36 +0000 (02:29 +0000)]
Merged revisions 76640 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76640 | philip.jenvey | 2009-12-02 18:25:54 -0800 (Wed, 02 Dec 2009) | 2 lines

  #7177: clarify the potential PIPE deadlock warnings
........

15 years agoMerged revisions 76636 via svnmerge from
Antoine Pitrou [Wed, 2 Dec 2009 20:46:48 +0000 (20:46 +0000)]
Merged revisions 76636 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76636 | antoine.pitrou | 2009-12-02 21:37:54 +0100 (mer., 02 déc. 2009) | 5 lines

  Issue #7333: The `posix` module gains an `initgroups()` function providing
  access to the initgroups(3) C library call on Unix systems which implement
  it.  Patch by Jean-Paul Calderone.
........

15 years agoMerged revisions 76632 via svnmerge from
Eric Smith [Wed, 2 Dec 2009 17:58:24 +0000 (17:58 +0000)]
Merged revisions 76632 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  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.
........

15 years agoBlocked revisions 76629 via svnmerge
Mark Dickinson [Wed, 2 Dec 2009 17:37:21 +0000 (17:37 +0000)]
Blocked revisions 76629 via svnmerge

........
  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.
........

15 years agoMerged revisions 76625 via svnmerge from
Amaury Forgeot d'Arc [Tue, 1 Dec 2009 21:59:18 +0000 (21:59 +0000)]
Merged revisions 76625 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76625 | amaury.forgeotdarc | 2009-12-01 22:51:04 +0100 (mar., 01 déc. 2009) | 3 lines

  #7419: Fix a crash on Windows in locale.setlocale() when the category
  is outside the allowed range.
........

15 years agoMerged revisions 76623 via svnmerge from
Ronald Oussoren [Tue, 1 Dec 2009 15:55:14 +0000 (15:55 +0000)]
Merged revisions 76623 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76623 | ronald.oussoren | 2009-12-01 16:54:01 +0100 (Tue, 01 Dec 2009) | 9 lines

  Fix for issue #7416: SIZEOF_UINTPTR_T can be invalid when configuring a
  multi-architecture build (in particular when the architectures don't share
  a common pointer size).

  Fixed the same issue for SIZEOF_PTHREAD_T.

  (No update to the NEWS file because this is a bugfix for an as yet unreleased
  feature)
........

15 years agoIssue 7410: deepcopy of itertools.count() reset the count.
Raymond Hettinger [Mon, 30 Nov 2009 22:02:31 +0000 (22:02 +0000)]
Issue 7410: deepcopy of itertools.count() reset the count.

15 years agoBlocked revisions 76603,76605 via svnmerge
Mark Dickinson [Mon, 30 Nov 2009 21:53:52 +0000 (21:53 +0000)]
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.
........

15 years agoIssue #5748: bytesobject.c should not have its own private defines for stringlib...
Eric Smith [Mon, 30 Nov 2009 01:01:42 +0000 (01:01 +0000)]
Issue #5748: bytesobject.c should not have its own private defines for stringlib macros. Also removed unused defines and include for localutil.h.

15 years ago#6077: on Windows, fix truncation of a tempfile.TemporaryFile opened in "wt+" mode:
Amaury Forgeot d'Arc [Mon, 30 Nov 2009 00:08:56 +0000 (00:08 +0000)]
#6077: on Windows, fix truncation of a tempfile.TemporaryFile opened in "wt+" mode:
files opened with os.open() stop on the first \x1a (Ctrl-Z) unless os.O_BINARY is used.

Will backport to 3.1

15 years agoMerged revisions 76588 via svnmerge from
Tarek Ziadé [Sun, 29 Nov 2009 22:24:57 +0000 (22:24 +0000)]
Merged revisions 76588 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  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
........

15 years agoKeep this file in sync with trunk.
Eric Smith [Sun, 29 Nov 2009 17:56:54 +0000 (17:56 +0000)]
Keep this file in sync with trunk.

15 years agoBlocked revisions 76583 via svnmerge
Eric Smith [Sun, 29 Nov 2009 17:44:41 +0000 (17:44 +0000)]
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.
........

15 years agoMerged revisions 76575 via svnmerge from
Mark Dickinson [Sat, 28 Nov 2009 16:38:16 +0000 (16:38 +0000)]
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.
........

15 years agoIssue #4486: When an exception has an explicit cause, do not print its implicit conte...
Antoine Pitrou [Sat, 28 Nov 2009 16:12:28 +0000 (16:12 +0000)]
Issue #4486: When an exception has an explicit cause, do not print its implicit context too.

15 years agoMerged revisions 76571 via svnmerge from
Antoine Pitrou [Sat, 28 Nov 2009 15:58:27 +0000 (15:58 +0000)]
Merged revisions 76571 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76571 | antoine.pitrou | 2009-11-28 16:55:58 +0100 (sam., 28 nov. 2009) | 3 lines

  Issue #1515: Enable use of deepcopy() with instance methods.  Patch by Robert Collins.
........

15 years agoBlocked revisions 76568 via svnmerge
Mark Dickinson [Sat, 28 Nov 2009 13:14:02 +0000 (13:14 +0000)]
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
........

15 years agoMerged revisions 76432,76558 via svnmerge from
Mark Dickinson [Sat, 28 Nov 2009 12:48:43 +0000 (12:48 +0000)]
Merged revisions 76432,76558 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  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.
........

15 years agoMerged revisions 76561 via svnmerge from
Mark Dickinson [Sat, 28 Nov 2009 12:35:42 +0000 (12:35 +0000)]
Merged revisions 76561 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  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.
........

15 years agoMerged revisions 76559 via svnmerge from
Georg Brandl [Sat, 28 Nov 2009 11:12:26 +0000 (11:12 +0000)]
Merged revisions 76559 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76559 | georg.brandl | 2009-11-28 12:11:50 +0100 (Sa, 28 Nov 2009) | 1 line

  Fix versions and spacing.
........

15 years agoMerged revisions 76556 via svnmerge from
Gregory P. Smith [Fri, 27 Nov 2009 17:54:17 +0000 (17:54 +0000)]
Merged revisions 76556 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76556 | gregory.p.smith | 2009-11-27 09:51:12 -0800 (Fri, 27 Nov 2009) | 2 lines

  fix typo
........

15 years agoMerged revisions 76550 via svnmerge from
Martin v. Löwis [Fri, 27 Nov 2009 14:09:49 +0000 (14:09 +0000)]
Merged revisions 76550 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76550 | martin.v.loewis | 2009-11-27 14:56:01 +0100 (Fr, 27 Nov 2009) | 2 lines

  Issue #6508: Add posix.{getresuid,getresgid,setresuid,setresgid}.
........

15 years agoIssue #7403: Fixed possible race condition in lock creation.
Vinay Sajip [Fri, 27 Nov 2009 14:03:36 +0000 (14:03 +0000)]
Issue #7403: Fixed possible race condition in lock creation.

15 years agoMerged revisions 76548 via svnmerge from
Antoine Pitrou [Fri, 27 Nov 2009 13:25:31 +0000 (13:25 +0000)]
Merged revisions 76548 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76548 | antoine.pitrou | 2009-11-27 14:24:29 +0100 (ven., 27 nov. 2009) | 3 lines

  Add ACKS entry for Pablo Mouzo
........

15 years agoMerged revisions 76546 via svnmerge from
Antoine Pitrou [Fri, 27 Nov 2009 13:23:26 +0000 (13:23 +0000)]
Merged revisions 76546 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76546 | antoine.pitrou | 2009-11-27 14:18:34 +0100 (ven., 27 nov. 2009) | 7 lines

  Issue #6845: Add restart support for binary upload in ftplib.  The
  `storbinary()` method of FTP and FTP_TLS objects gains an optional `rest`
  argument.  Patch by Pablo Mouzo.

  (note: the patch also adds a test for the rest argument in retrbinary())
........

15 years agoMerged revisions 76535 via svnmerge from
Antoine Pitrou [Thu, 26 Nov 2009 12:38:23 +0000 (12:38 +0000)]
Merged revisions 76535 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76535 | antoine.pitrou | 2009-11-26 13:36:30 +0100 (jeu., 26 nov. 2009) | 3 lines

  When open_urlresource() fails, HTTPException is another possible error
........

15 years agoBlocked revisions 76531 via svnmerge
Antoine Pitrou [Wed, 25 Nov 2009 23:03:48 +0000 (23:03 +0000)]
Blocked revisions 76531 via svnmerge

........
  r76531 | antoine.pitrou | 2009-11-26 00:03:22 +0100 (jeu., 26 nov. 2009) | 3 lines

  Forgot to add a `versionadded` tag
........

15 years agoMerged revisions 76529 via svnmerge from
Antoine Pitrou [Wed, 25 Nov 2009 23:02:32 +0000 (23:02 +0000)]
Merged revisions 76529 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76529 | antoine.pitrou | 2009-11-25 23:59:36 +0100 (mer., 25 nov. 2009) | 4 lines

  Issue #5788: `datetime.timedelta` objects get a new `total_seconds()` method returning
  the total number of seconds in the duration.  Patch by Brian Quinlan.
........

15 years agoMerged revisions 75529 via svnmerge from
Antoine Pitrou [Wed, 25 Nov 2009 18:55:32 +0000 (18:55 +0000)]
Merged revisions 75529 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75529 | antoine.pitrou | 2009-10-19 19:59:07 +0200 (lun., 19 oct. 2009) | 5 lines

  Issue #7133: SSL objects now support the new buffer API.

  This fixes the test_ssl failure.
........

15 years agoAdd mktime_tz to __all__. It's documented as being available in email.utils.
Barry Warsaw [Wed, 25 Nov 2009 18:45:15 +0000 (18:45 +0000)]
Add mktime_tz to __all__.  It's documented as being available in email.utils.

15 years agofix test checking for error message
Benjamin Peterson [Wed, 25 Nov 2009 18:38:11 +0000 (18:38 +0000)]
fix test checking for error message

15 years agoMerged revisions 76259,76326,76376-76377,76430,76471,76517 via svnmerge from
Benjamin Peterson [Wed, 25 Nov 2009 18:34:42 +0000 (18:34 +0000)]
Merged revisions 76259,76326,76376-76377,76430,76471,76517 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

................
  r76259 | georg.brandl | 2009-11-14 05:50:51 -0600 (Sat, 14 Nov 2009) | 1 line

  Fix terminology.
................
  r76326 | georg.brandl | 2009-11-16 10:44:05 -0600 (Mon, 16 Nov 2009) | 1 line

  #7302: fix link.
................
  r76376 | georg.brandl | 2009-11-18 13:39:14 -0600 (Wed, 18 Nov 2009) | 1 line

  upcase Python
................
  r76377 | georg.brandl | 2009-11-18 14:05:15 -0600 (Wed, 18 Nov 2009) | 1 line

  Fix markup.
................
  r76430 | r.david.murray | 2009-11-20 07:29:43 -0600 (Fri, 20 Nov 2009) | 2 lines

  Issue 7363: fix indentation in socketserver udpserver example.
................
  r76471 | georg.brandl | 2009-11-23 13:53:19 -0600 (Mon, 23 Nov 2009) | 1 line

  #7345: fix arguments of formatyear().
................
  r76517 | benjamin.peterson | 2009-11-25 12:16:46 -0600 (Wed, 25 Nov 2009) | 29 lines

  Merged revisions 76160-76161,76250,76252,76447,76506 via svnmerge from
  svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3

  ........
    r76160 | benjamin.peterson | 2009-11-08 18:53:48 -0600 (Sun, 08 Nov 2009) | 1 line

    undeprecate the -p option; it's useful for converting python3 sources
  ........
    r76161 | benjamin.peterson | 2009-11-08 19:05:37 -0600 (Sun, 08 Nov 2009) | 1 line

    simplify condition
  ........
    r76250 | benjamin.peterson | 2009-11-13 16:56:48 -0600 (Fri, 13 Nov 2009) | 1 line

    fix handling of a utf-8 bom #7313
  ........
    r76252 | benjamin.peterson | 2009-11-13 16:58:36 -0600 (Fri, 13 Nov 2009) | 1 line

    remove pdb turd
  ........
    r76447 | benjamin.peterson | 2009-11-22 18:17:40 -0600 (Sun, 22 Nov 2009) | 1 line

    #7375 fix nested transformations in fix_urllib
  ........
    r76506 | benjamin.peterson | 2009-11-24 18:34:31 -0600 (Tue, 24 Nov 2009) | 1 line

    use generator expressions in any()
  ........
................

15 years agoBlocked revisions 74523,74715,74721,74733-74734,74798,74825,74832,74845,74849,74873...
Benjamin Peterson [Wed, 25 Nov 2009 17:54:15 +0000 (17:54 +0000)]
Blocked revisions 74523,74715,74721,74733-74734,74798,74825,74832,74845,74849,74873,74936-74937,74962,74964,74981,75017,75022,76053 via svnmerge

........
  r74523 | gregory.p.smith | 2009-08-20 04:38:43 -0500 (Thu, 20 Aug 2009) | 2 lines

  comment typo fix
........
  r74715 | ronald.oussoren | 2009-09-08 02:17:10 -0500 (Tue, 08 Sep 2009) | 5 lines

  This is an update to r74701. How hard can it be to get a configure test right.

  This patch has already been backported as part of the backport of r74701,
  which is how I found this problem.
........
  r74721 | thomas.heller | 2009-09-08 14:24:36 -0500 (Tue, 08 Sep 2009) | 1 line

  Make ctypes compile again with older Python versions.
........
  r74733 | benjamin.peterson | 2009-09-09 06:40:54 -0500 (Wed, 09 Sep 2009) | 1 line

  tabbify
........
  r74734 | benjamin.peterson | 2009-09-09 06:42:57 -0500 (Wed, 09 Sep 2009) | 1 line

  revert unintended changes
........
  r74798 | ronald.oussoren | 2009-09-15 13:33:33 -0500 (Tue, 15 Sep 2009) | 8 lines

  MacOSX: detect the architectures supported by
  Tk.framework and build _tkinter only for those
  architectures.

  This replaces the hardcoded solution that is no
  longer valid now that 64-bit capable versions of
  Tk are available on OSX.
........
  r74825 | ezio.melotti | 2009-09-16 08:14:05 -0500 (Wed, 16 Sep 2009) | 1 line

  #6879 - fix misstatement about exceptions
........
  r74832 | georg.brandl | 2009-09-16 10:57:46 -0500 (Wed, 16 Sep 2009) | 1 line

  Rewrap long lines.
........
  r74845 | georg.brandl | 2009-09-16 15:30:09 -0500 (Wed, 16 Sep 2009) | 5 lines

  #6844: do not emit DeprecationWarnings on access if Exception.message has been set by the user.

  This works by always setting it in __dict__, except when it's implicitly set in __init__.
........
  r74849 | thomas.wouters | 2009-09-16 15:36:34 -0500 (Wed, 16 Sep 2009) | 4 lines

  Add news entry for r74841.
........
  r74873 | georg.brandl | 2009-09-17 06:48:31 -0500 (Thu, 17 Sep 2009) | 1 line

  #6844 followup: the warning when setting Exception.message was removed, do not test for it.
........
  r74936 | benjamin.peterson | 2009-09-18 16:46:21 -0500 (Fri, 18 Sep 2009) | 1 line

  backport keyword argument support for bytearray.decode
........
  r74937 | benjamin.peterson | 2009-09-18 16:47:27 -0500 (Fri, 18 Sep 2009) | 1 line

  typo
........
  r74962 | ronald.oussoren | 2009-09-20 05:31:22 -0500 (Sun, 20 Sep 2009) | 2 lines

  Fix for issue 6851: urllib.urlopen crashes in a thread on OSX 10.6
........
  r74964 | ronald.oussoren | 2009-09-20 05:54:07 -0500 (Sun, 20 Sep 2009) | 2 lines

  Followup for r74962
........
  r74981 | ronald.oussoren | 2009-09-20 15:16:11 -0500 (Sun, 20 Sep 2009) | 3 lines

  * Make it easier to build custom installers (such as a 3-way universal build)
  * Upgrade bzip dependency to 1.0.5
........
  r75017 | ronald.oussoren | 2009-09-22 09:24:57 -0500 (Tue, 22 Sep 2009) | 4 lines

  The 'Navigation Toolbox' is not available at all for 64-bit
  code, make this explicit in the C code to avoid confusing
  error messages during the build.
........
  r75022 | ronald.oussoren | 2009-09-22 14:27:44 -0500 (Tue, 22 Sep 2009) | 8 lines

  Half of the fix for issue 6957: ensure that distutils
  ignores the '-isysroot' option on OSX when the
  corresponding SDK is not installed.

  This ensures that the user can compile extensions
  on OSX 10.6 using the Python.org installer and a
  default installation of Xcode.
........
  r76053 | gregory.p.smith | 2009-11-01 20:03:16 -0600 (Sun, 01 Nov 2009) | 2 lines

  regenerated from r76052
........

15 years agoMerged revisions 75264,75268,75293,75318,75391-75392,75436,75478,75971,76003,76058...
Benjamin Peterson [Wed, 25 Nov 2009 17:46:26 +0000 (17:46 +0000)]
Merged revisions 75264,75268,75293,75318,75391-75392,75436,75478,75971,76003,76058,76140-76141,76231,76380,76428-76429 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75264 | andrew.kuchling | 2009-10-05 17:30:22 -0500 (Mon, 05 Oct 2009) | 1 line

  Add various items
........
  r75268 | andrew.kuchling | 2009-10-05 17:45:39 -0500 (Mon, 05 Oct 2009) | 1 line

  Remove two notes
........
  r75293 | kristjan.jonsson | 2009-10-09 09:32:19 -0500 (Fri, 09 Oct 2009) | 2 lines

  http://bugs.python.org/issue7029
  a non-default timer wasn't actually used by the individual Tests.
........
  r75318 | benjamin.peterson | 2009-10-10 16:15:58 -0500 (Sat, 10 Oct 2009) | 1 line

  remove script which uses long gone module
........
  r75391 | andrew.kuchling | 2009-10-13 10:49:33 -0500 (Tue, 13 Oct 2009) | 1 line

  Link to PEP
........
  r75392 | andrew.kuchling | 2009-10-13 11:11:49 -0500 (Tue, 13 Oct 2009) | 1 line

  Various link, textual, and markup fixes
........
  r75436 | benjamin.peterson | 2009-10-15 10:39:15 -0500 (Thu, 15 Oct 2009) | 1 line

  don't need to mess up sys.path
........
  r75478 | senthil.kumaran | 2009-10-17 20:58:45 -0500 (Sat, 17 Oct 2009) | 3 lines

  Fix a typo.
........
  r75971 | benjamin.peterson | 2009-10-30 22:56:15 -0500 (Fri, 30 Oct 2009) | 1 line

  add some checks for evaluation order with parenthesis #7210
........
  r76003 | antoine.pitrou | 2009-10-31 19:30:13 -0500 (Sat, 31 Oct 2009) | 6 lines

  Hopefully fix the buildbot problems on test_mailbox, by computing
  the maildir toc cache refresh date before actually refreshing the cache.

  (see #6896)
........
  r76058 | benjamin.peterson | 2009-11-02 10:14:19 -0600 (Mon, 02 Nov 2009) | 1 line

  grant list.index() a more informative error message #7252
........
  r76140 | nick.coghlan | 2009-11-07 02:13:55 -0600 (Sat, 07 Nov 2009) | 1 line

  Add test for runpy.run_module package execution and use something other than logging as the example of a non-executable package
........
  r76141 | nick.coghlan | 2009-11-07 02:15:01 -0600 (Sat, 07 Nov 2009) | 1 line

  Some minor cleanups to private runpy code and docstrings
........
  r76231 | benjamin.peterson | 2009-11-12 17:42:23 -0600 (Thu, 12 Nov 2009) | 1 line

  this main is much more useful
........
  r76380 | antoine.pitrou | 2009-11-18 14:20:46 -0600 (Wed, 18 Nov 2009) | 3 lines

  Mention Giampolo R's new FTP TLS support in the what's new file
........
  r76428 | benjamin.peterson | 2009-11-19 20:15:50 -0600 (Thu, 19 Nov 2009) | 1 line

  turn goto into do while loop
........
  r76429 | benjamin.peterson | 2009-11-19 20:56:43 -0600 (Thu, 19 Nov 2009) | 2 lines

  avoid doing an uneeded import in a function
........

15 years agoMerged revisions 76498,76507-76509 via svnmerge from
Benjamin Peterson [Wed, 25 Nov 2009 17:19:56 +0000 (17:19 +0000)]
Merged revisions 76498,76507-76509 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76498 | vinay.sajip | 2009-11-24 09:53:25 -0600 (Tue, 24 Nov 2009) | 1 line

  Made logging classes new-style and added name property to handlers.
........
  r76507 | vinay.sajip | 2009-11-25 03:03:30 -0600 (Wed, 25 Nov 2009) | 1 line

  Issue #6615: logging: Used weak references in internal handler list. Thanks to flox (Florent Xicluna) for the patch.
........
  r76508 | vinay.sajip | 2009-11-25 03:22:47 -0600 (Wed, 25 Nov 2009) | 1 line

  logging: made _handlers a WeakValueDictionary.
........
  r76509 | vinay.sajip | 2009-11-25 08:12:03 -0600 (Wed, 25 Nov 2009) | 1 line

  logging: Issue 6615: Changed handler prepend to append.
........

15 years agoBlocked revisions 74962,75017,75131,75143,75147,75281,75423-75424,75482,75586,75929...
Benjamin Peterson [Wed, 25 Nov 2009 17:12:57 +0000 (17:12 +0000)]
Blocked revisions 74962,75017,75131,75143,75147,75281,75423-75424,75482,75586,75929,76025,76050-76051,76126,76129,76132,76194,76212,76382,76392,76431,76434 via svnmerge

................
  r74962 | ronald.oussoren | 2009-09-20 05:31:22 -0500 (Sun, 20 Sep 2009) | 2 lines

  Fix for issue 6851: urllib.urlopen crashes in a thread on OSX 10.6
................
  r75017 | ronald.oussoren | 2009-09-22 09:24:57 -0500 (Tue, 22 Sep 2009) | 4 lines

  The 'Navigation Toolbox' is not available at all for 64-bit
  code, make this explicit in the C code to avoid confusing
  error messages during the build.
................
  r75131 | ronald.oussoren | 2009-09-29 08:00:44 -0500 (Tue, 29 Sep 2009) | 8 lines

  * Update the Mac/README file. Add the list of OSX-specific configure options
    to that README file with some explanation.

  * Be more strict in the configure script: complain loudly when the user has
    specified invalid combinations of OSX-specific configure arguments.

    The error message refers to the Mac/README file for more information.
................
  r75143 | philip.jenvey | 2009-09-29 14:10:15 -0500 (Tue, 29 Sep 2009) | 5 lines

  #5329: fix os.popen* regression from 2.5: don't execute commands as a sequence
  through the shell. also document the correct subprocess replacement for this
  case
  patch from Jean-Paul Calderone and Jani Hakala
................
  r75147 | ronald.oussoren | 2009-09-29 14:34:13 -0500 (Tue, 29 Sep 2009) | 4 lines

  Fix for issue6957: ensure that the OSX installer
  installs a version of Python that can build
  extensions on OSX 10.6.
................
  r75281 | ronald.oussoren | 2009-10-08 03:04:15 -0500 (Thu, 08 Oct 2009) | 3 lines

  Ensure that _scproxy gets build even when --disable-toolbox-glue
  is specified on OSX. Fixes a regression in 2.6.3.
................
  r75423 | neil.schemenauer | 2009-10-14 14:23:53 -0500 (Wed, 14 Oct 2009) | 2 lines

  Add support to the ihooks module for relative imports.
................
  r75424 | neil.schemenauer | 2009-10-14 14:33:31 -0500 (Wed, 14 Oct 2009) | 4 lines

  Make cPickle.Unpickler.noload() handle dict subclasses. noload() is
  an obscure, undocumentated feature so no test was added. Closes
  issue #1101399.
................
  r75482 | ronald.oussoren | 2009-10-18 02:07:00 -0500 (Sun, 18 Oct 2009) | 3 lines

  Fix for issue 7149: a regression in 2.6.3 that causes an exception when
  trying to detect proxy settings on OSX.
................
  r75586 | vinay.sajip | 2009-10-21 15:22:14 -0500 (Wed, 21 Oct 2009) | 1 line

  Issue #7077: logging: SysLogHandler now treats Unicode as per RFC 5424.
................
  r75929 | vinay.sajip | 2009-10-28 18:28:16 -0500 (Wed, 28 Oct 2009) | 1 line

  Issue 7199: Documentation made slightly more consistent w.r.t. logging level enumeration.
................
  r76025 | raymond.hettinger | 2009-11-01 14:45:16 -0600 (Sun, 01 Nov 2009) | 1 line

  Fix exception handling in itertools.izip_longest().
................
  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
................
  r76051 | gregory.p.smith | 2009-11-01 19:38:35 -0600 (Sun, 01 Nov 2009) | 2 lines

  build using r76050
................
  r76126 | benjamin.peterson | 2009-11-05 15:29:56 -0600 (Thu, 05 Nov 2009) | 9 lines

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

  ........
    r76125 | benjamin.peterson | 2009-11-05 15:26:55 -0600 (Thu, 05 Nov 2009) | 1 line

    handle newline issues better for comparing files
  ........
................
  r76129 | benjamin.peterson | 2009-11-05 17:20:06 -0600 (Thu, 05 Nov 2009) | 13 lines

  Merged revisions 76127-76128 via svnmerge from
  svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3

  ........
    r76127 | benjamin.peterson | 2009-11-05 17:04:58 -0600 (Thu, 05 Nov 2009) | 1 line

    set svn:eol-style
  ........
    r76128 | benjamin.peterson | 2009-11-05 17:07:46 -0600 (Thu, 05 Nov 2009) | 1 line

    skip this test on windows to avoid newline horrors
  ........
................
  r76132 | benjamin.peterson | 2009-11-05 17:54:42 -0600 (Thu, 05 Nov 2009) | 9 lines

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

  ........
    r76131 | benjamin.peterson | 2009-11-05 17:53:21 -0600 (Thu, 05 Nov 2009) | 1 line

    import sys
  ........
................
  r76194 | raymond.hettinger | 2009-11-10 13:35:55 -0600 (Tue, 10 Nov 2009) | 3 lines

  Show example of how to make a sorted dictionary
................
  r76212 | senthil.kumaran | 2009-11-11 11:22:35 -0600 (Wed, 11 Nov 2009) | 3 lines

  Fixing the NameError on Windows - issue1235
................
  r76382 | raymond.hettinger | 2009-11-18 14:28:22 -0600 (Wed, 18 Nov 2009) | 1 line

  Issue 7263: Fix set.intersection() docstring.
................
  r76392 | raymond.hettinger | 2009-11-18 19:22:04 -0600 (Wed, 18 Nov 2009) | 1 line

  Fix docstrings for itertools combinatoric functions.
................
  r76431 | mark.dickinson | 2009-11-20 13:27:43 -0600 (Fri, 20 Nov 2009) | 1 line

  Regenerate configure with GNU autoconf 2.61.
................
  r76434 | jesse.noller | 2009-11-21 08:06:24 -0600 (Sat, 21 Nov 2009) | 1 line

  revert unintended change to multiprocessing/queues.py
................

15 years agoMerged revisions 76502 via svnmerge from
Mark Dickinson [Tue, 24 Nov 2009 20:54:11 +0000 (20:54 +0000)]
Merged revisions 76502 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  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.)
........

15 years agoBlocked revisions 76499 via svnmerge
Alexandre Vassalotti [Tue, 24 Nov 2009 18:10:33 +0000 (18:10 +0000)]
Blocked revisions 76499 via svnmerge

........
  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.
........

15 years agoBlocked revisions 76495 via svnmerge
Mark Dickinson [Tue, 24 Nov 2009 15:13:27 +0000 (15:13 +0000)]
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.
........

15 years agoMerged revisions 76489 via svnmerge from
Mark Dickinson [Tue, 24 Nov 2009 14:33:29 +0000 (14:33 +0000)]
Merged revisions 76489 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  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.
........

15 years agoMerged revisions 76487 via svnmerge from
Jesse Noller [Tue, 24 Nov 2009 14:22:24 +0000 (14:22 +0000)]
Merged revisions 76487 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76487 | jesse.noller | 2009-11-24 09:17:29 -0500 (Tue, 24 Nov 2009) | 1 line

  comment out test added in r76438, which caused refleaks
........

15 years agoMerged revisions 76483 via svnmerge from
Mark Dickinson [Tue, 24 Nov 2009 10:59:34 +0000 (10:59 +0000)]
Merged revisions 76483 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  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.
........

15 years agoBlocked revisions 76472 via svnmerge
Mark Dickinson [Mon, 23 Nov 2009 20:55:58 +0000 (20:55 +0000)]
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.
........

15 years agoMerged revisions 76464 via svnmerge from
Senthil Kumaran [Mon, 23 Nov 2009 19:02:52 +0000 (19:02 +0000)]
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.
........

15 years agoBlocked revisions 76465 via svnmerge
Mark Dickinson [Mon, 23 Nov 2009 18:52:36 +0000 (18:52 +0000)]
Blocked revisions 76465 via svnmerge

........
  r76465 | mark.dickinson | 2009-11-23 18:46:41 +0000 (Mon, 23 Nov 2009) | 4 lines

  Remove restriction on precision when formatting floats.  This is the
  first step towards removing the %f -> %g switch (see issues 7117,
  5859).
........

15 years agoMerged revisions 76460 via svnmerge from
Mark Dickinson [Mon, 23 Nov 2009 16:41:41 +0000 (16:41 +0000)]
Merged revisions 76460 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76460 | mark.dickinson | 2009-11-23 16:39:05 +0000 (Mon, 23 Nov 2009) | 2 lines

  Issue #7369: Fibonacci series should start at 0 in tutorial example.
........

15 years agoMerged revisions 76456 via svnmerge from
Mark Dickinson [Mon, 23 Nov 2009 16:27:17 +0000 (16:27 +0000)]
Merged revisions 76456 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76456 | mark.dickinson | 2009-11-23 16:23:43 +0000 (Mon, 23 Nov 2009) | 2 lines

  Issue #7379:  Fix incorrect doctest for Fraction.limit_denominator.
........

15 years agoMerged revisions 76452 via svnmerge from
Lars Gustäbel [Mon, 23 Nov 2009 15:48:33 +0000 (15:48 +0000)]
Merged revisions 76452 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76452 | lars.gustaebel | 2009-11-23 16:46:19 +0100 (Mon, 23 Nov 2009) | 3 lines

  Add a testcase that checks if the TarFile constructor successfully
  closes the internal file object in case of an error (issue #7341).
........

15 years agoUpdate example in doctest chapter that uses math.floor to reflect the
R. David Murray [Mon, 23 Nov 2009 03:13:23 +0000 (03:13 +0000)]
Update example in doctest chapter that uses math.floor to reflect the
fact that the result is an int in py3k.  Thanks to 'flox' for pointing out
the discrepancy.

15 years agoMerged revisions 76443 via svnmerge from
Lars Gustäbel [Sun, 22 Nov 2009 18:48:49 +0000 (18:48 +0000)]
Merged revisions 76443 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76443 | lars.gustaebel | 2009-11-22 19:30:53 +0100 (Sun, 22 Nov 2009) | 24 lines

  Issue #6123: Fix opening empty archives and files.

  (Note that an empty archive is not the same as an empty file. An
  empty archive contains no members and is correctly terminated with an
  EOF block full of zeros. An empty file contains no data at all.)

  The problem was that although tarfile was able to create empty
  archives, it failed to open them raising a ReadError. On the other
  hand, tarfile opened empty files without error in most read modes and
  presented them as empty archives. (However, some modes still raised
  errors: "r|gz" raised ReadError, but "r:gz" worked, "r:bz2" even
  raised EOFError.)

  In order to get a more fine-grained control over the various internal
  error conditions I now split up the HeaderError exception into a
  number of meaningful sub-exceptions. This makes it easier in the
  TarFile.next() method to react to the different conditions in the
  correct way.

  The visible change in its behaviour now is that tarfile will open
  empty archives correctly and raise ReadError consistently for empty
  files.
........

15 years agodon't say that 3.2 is another version
Benjamin Peterson [Sat, 21 Nov 2009 23:54:32 +0000 (23:54 +0000)]
don't say that 3.2 is another version

15 years agoMerged revisions 76438 via svnmerge from
Jesse Noller [Sat, 21 Nov 2009 18:09:38 +0000 (18:09 +0000)]
Merged revisions 76438 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76438 | jesse.noller | 2009-11-21 09:38:23 -0500 (Sat, 21 Nov 2009) | 1 line

  issue6615: Additional test for logging support in multiprocessing
........

15 years agoMerged revisions 76433 via svnmerge from
Jesse Noller [Sat, 21 Nov 2009 14:20:14 +0000 (14:20 +0000)]
Merged revisions 76433 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76433 | jesse.noller | 2009-11-21 09:01:56 -0500 (Sat, 21 Nov 2009) | 1 line

  issue5738: The distribution example was confusing, and out of date. It's too large to include inline in the docs as well. It belongs in an addons module outside the stdlib. Removing.
........

15 years agoMerged revisions 76423-76424 via svnmerge from
Benjamin Peterson [Fri, 20 Nov 2009 01:19:41 +0000 (01:19 +0000)]
Merged revisions 76423-76424 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76423 | benjamin.peterson | 2009-11-19 19:15:53 -0600 (Thu, 19 Nov 2009) | 1 line

  provide line number for lambdas
........
  r76424 | benjamin.peterson | 2009-11-19 19:16:58 -0600 (Thu, 19 Nov 2009) | 1 line

  genexps have linenos
........

15 years agoBlocked revisions 76420 via svnmerge
Benjamin Peterson [Thu, 19 Nov 2009 23:23:56 +0000 (23:23 +0000)]
Blocked revisions 76420 via svnmerge

........
  r76420 | benjamin.peterson | 2009-11-19 17:19:29 -0600 (Thu, 19 Nov 2009) | 1 line

  spelling
........

15 years agoBlocked revisions 76416-76417 via svnmerge
Benjamin Peterson [Thu, 19 Nov 2009 23:00:13 +0000 (23:00 +0000)]
Blocked revisions 76416-76417 via svnmerge

........
  r76416 | benjamin.peterson | 2009-11-19 16:54:57 -0600 (Thu, 19 Nov 2009) | 10 lines

  improve several corner cases related with argument names in parenthesis

  - Fix #7362: give a good error message for parenthesized arguments with
    defaults.

  - Add a py3k warning for any parenthesized arguments since those are not allowed
    in Py3.  This warning is not given in tuple unpacking, since that incurs the
    tuple unpacking warning.
........
  r76417 | benjamin.peterson | 2009-11-19 16:58:01 -0600 (Thu, 19 Nov 2009) | 1 line

  add news notes for r76416
........

15 years agofix message for py3
Benjamin Peterson [Thu, 19 Nov 2009 21:22:27 +0000 (21:22 +0000)]
fix message for py3

15 years agoBlocked revisions 76411 via svnmerge
Mark Dickinson [Thu, 19 Nov 2009 18:43:03 +0000 (18:43 +0000)]
Blocked revisions 76411 via svnmerge

........
  r76411 | mark.dickinson | 2009-11-19 18:41:49 +0000 (Thu, 19 Nov 2009) | 1 line

  Misc/NEWS entries for issue 7117.
........

15 years agoMerged revisions 76407 via svnmerge from
Ronald Oussoren [Thu, 19 Nov 2009 17:44:52 +0000 (17:44 +0000)]
Merged revisions 76407 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76407 | ronald.oussoren | 2009-11-19 18:42:51 +0100 (Thu, 19 Nov 2009) | 4 lines

  Don't use the '==' operator with test, that's an unportable bash-ism.

  (Issue 7179)
........

15 years agoMerged revisions 76403 via svnmerge from
Ronald Oussoren [Thu, 19 Nov 2009 17:15:31 +0000 (17:15 +0000)]
Merged revisions 76403 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76403 | ronald.oussoren | 2009-11-19 17:25:21 +0100 (Thu, 19 Nov 2009) | 14 lines

  Fix for issue #7085

  On MacOSX 10.6 the CoreFoundation framework must be initialized on the main
  thread, the constructor function in that framework will cause an SIGABRT when
  it is called on any other thread.

  Because a number of extension link (indirectly) to CoreFoundation and the
  Python core itself didn't the interpreter crashed when importing some
  extensions, such as _locale, on a secondary thread.

  This fix ensures that Python is linked to CoreFoundation on OSX, which results
  in the CoreFoundation constructor being called when Python is loaded. This
  does not require code changes.
........

15 years agoMerged revisions 76399 via svnmerge from
Tarek Ziadé [Thu, 19 Nov 2009 05:39:00 +0000 (05:39 +0000)]
Merged revisions 76399 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76399 | tarek.ziade | 2009-11-19 06:33:16 +0100 (Thu, 19 Nov 2009) | 1 line

  dragfullwindows can have value 2
........

15 years agofix __bytes__ handling here in py3x
Benjamin Peterson [Thu, 19 Nov 2009 03:08:32 +0000 (03:08 +0000)]
fix __bytes__ handling here in py3x
Merged revisions 76395 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76395 | benjamin.peterson | 2009-11-18 21:00:02 -0600 (Wed, 18 Nov 2009) | 1 line

  #5037 proxy __unicode__ correctly
........

15 years agoFix docstrings for itertools combinatoric functions.
Raymond Hettinger [Thu, 19 Nov 2009 01:20:07 +0000 (01:20 +0000)]
Fix docstrings for itertools combinatoric functions.

15 years agoIssue 3976: fix pprint for sets, frozensets, and dicts containing unorderable types.
Raymond Hettinger [Thu, 19 Nov 2009 01:07:05 +0000 (01:07 +0000)]
Issue 3976: fix pprint for sets, frozensets, and dicts containing unorderable types.

15 years agoBlocked revisions 76379 via svnmerge
Mark Dickinson [Wed, 18 Nov 2009 20:32:09 +0000 (20:32 +0000)]
Blocked revisions 76379 via svnmerge

........
  r76379 | mark.dickinson | 2009-11-18 20:14:57 +0000 (Wed, 18 Nov 2009) | 1 line

  Enable short float repr!
........