Commit Graph

40416 Commits

Author SHA1 Message Date
Amaury Forgeot d'Arc 64f3ca4206 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.
........
2009-12-01 21:59:18 +00:00
Ronald Oussoren c2e1cb7d36 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)
........
2009-12-01 15:55:14 +00:00
Raymond Hettinger a3e1ad27a8 Issue 7410: deepcopy of itertools.count() reset the count. 2009-11-30 22:02:31 +00:00
Mark Dickinson 8e319fc511 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:52 +00:00
Eric Smith 0f78bff646 Issue #5748: bytesobject.c should not have its own private defines for stringlib macros. Also removed unused defines and include for localutil.h. 2009-11-30 01:01:42 +00:00
Amaury Forgeot d'Arc 7d0bddde5c #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
2009-11-30 00:08:56 +00:00
Tarek Ziadé acafc2d3d1 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
........
2009-11-29 22:24:57 +00:00
Eric Smith c50e05ea9a Keep this file in sync with trunk. 2009-11-29 17:56:54 +00:00
Eric Smith 379992215b 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:44:41 +00:00
Mark Dickinson a73ef2f979 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:38:16 +00:00
Antoine Pitrou 7b0d4a238f Issue #4486: When an exception has an explicit cause, do not print its implicit context too. 2009-11-28 16:12:28 +00:00
Antoine Pitrou 1fc0d2b364 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.
........
2009-11-28 15:58:27 +00:00
Mark Dickinson 38478d8654 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:14:02 +00:00
Mark Dickinson a614f042a2 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.
........
2009-11-28 12:48:43 +00:00
Mark Dickinson a4962cb694 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.
........
2009-11-28 12:35:42 +00:00
Georg Brandl 1b83a45f90 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.
........
2009-11-28 11:12:26 +00:00
Gregory P. Smith cf02c6a4ce 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
........
2009-11-27 17:54:17 +00:00
Martin v. Löwis 7aed61ae46 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}.
........
2009-11-27 14:09:49 +00:00
Vinay Sajip 03f6c11f07 Issue #7403: Fixed possible race condition in lock creation. 2009-11-27 14:03:36 +00:00
Antoine Pitrou 608eb2d43d 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
........
2009-11-27 13:25:31 +00:00
Antoine Pitrou 648bcd7068 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())
........
2009-11-27 13:23:26 +00:00
Antoine Pitrou 1a305fd141 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
........
2009-11-26 12:38:23 +00:00
Antoine Pitrou 3b713b01f6 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
........
2009-11-25 23:03:48 +00:00
Antoine Pitrou be6859d877 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.
........
2009-11-25 23:02:32 +00:00
Antoine Pitrou 7d7aede558 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.
........
2009-11-25 18:55:32 +00:00
Barry Warsaw b742a96c52 Add mktime_tz to __all__. It's documented as being available in email.utils. 2009-11-25 18:45:15 +00:00
Benjamin Peterson e360795dd4 fix test checking for error message 2009-11-25 18:38:11 +00:00
Benjamin Peterson 2021100d6d 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()
  ........
................
2009-11-25 18:34:42 +00:00
Benjamin Peterson a591cde305 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
........
2009-11-25 17:54:15 +00:00
Benjamin Peterson f6489f941c 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
........
2009-11-25 17:46:26 +00:00
Benjamin Peterson 5554993d37 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.
........
2009-11-25 17:19:56 +00:00
Benjamin Peterson 88e64a0197 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
................
2009-11-25 17:12:57 +00:00
Mark Dickinson 1a0aaaabb6 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.)
........
2009-11-24 20:54:11 +00:00
Alexandre Vassalotti db0401c1aa 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.
........
2009-11-24 18:10:33 +00:00
Mark Dickinson 4642bb618d 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:13:27 +00:00
Mark Dickinson a63b30671d 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.
........
2009-11-24 14:33:29 +00:00
Jesse Noller f4ae35fa01 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
........
2009-11-24 14:22:24 +00:00
Mark Dickinson 4ca33d1d77 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.
........
2009-11-24 10:59:34 +00:00
Mark Dickinson 0e125f6b0a 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:55:58 +00:00
Senthil Kumaran 758025cb1f 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 19:02:52 +00:00
Mark Dickinson 71db3cd63d 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).
........
2009-11-23 18:52:36 +00:00
Mark Dickinson c099ee2761 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.
........
2009-11-23 16:41:41 +00:00
Mark Dickinson dfb1562410 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.
........
2009-11-23 16:27:17 +00:00
Lars Gustäbel b7f09238d8 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).
........
2009-11-23 15:48:33 +00:00
R. David Murray 7c5714f78c 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.
2009-11-23 03:13:23 +00:00
Lars Gustäbel 9520a430ef 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.
........
2009-11-22 18:48:49 +00:00
Benjamin Peterson f08adb36d8 don't say that 3.2 is another version 2009-11-21 23:54:32 +00:00
Jesse Noller b9a49b7630 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
........
2009-11-21 18:09:38 +00:00
Jesse Noller 394cd707f7 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.
........
2009-11-21 14:20:14 +00:00
Benjamin Peterson f3ebc1f930 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
........
2009-11-20 01:19:41 +00:00