]> granicus.if.org Git - python/log
python
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!
........

15 years agoMerged revisions 76381 via svnmerge from
Lars Gustäbel [Wed, 18 Nov 2009 20:29:25 +0000 (20:29 +0000)]
Merged revisions 76381 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76381 | lars.gustaebel | 2009-11-18 21:24:54 +0100 (Wed, 18 Nov 2009) | 3 lines

  Issue #7341: Close the internal file object in the TarFile
  constructor in case of an error.
........

15 years agoBlocked revisions 76373 via svnmerge
Mark Dickinson [Wed, 18 Nov 2009 19:35:30 +0000 (19:35 +0000)]
Blocked revisions 76373 via svnmerge

........
  r76373 | mark.dickinson | 2009-11-18 19:33:35 +0000 (Wed, 18 Nov 2009) | 5 lines

  Issue #7117, continued:  Change round implementation to use the correctly-rounded
  string <-> float conversions;  this makes sure that the result of the round
  operation is correctly rounded, and hence displays nicely using the new float
  repr.
........

15 years agoMerged revisions 76366 via svnmerge from
Georg Brandl [Wed, 18 Nov 2009 18:53:54 +0000 (18:53 +0000)]
Merged revisions 76366 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76366 | georg.brandl | 2009-11-18 18:52:23 +0000 (Mi, 18 Nov 2009) | 1 line

  Make separate section for deprecations in 2.6 whatsnew.
........

15 years agoMerged revisions 76367 via svnmerge from
Georg Brandl [Wed, 18 Nov 2009 18:53:14 +0000 (18:53 +0000)]
Merged revisions 76367 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76367 | georg.brandl | 2009-11-18 18:52:35 +0000 (Mi, 18 Nov 2009) | 1 line

  Make separate section for deprecations in 2.7 whatsnew.
........

15 years agoMerged revisions 76362 via svnmerge from
Nick Coghlan [Wed, 18 Nov 2009 11:35:25 +0000 (11:35 +0000)]
Merged revisions 76362 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76362 | nick.coghlan | 2009-11-18 21:27:53 +1000 (Wed, 18 Nov 2009) | 1 line

  Correctly escape arbitrary error message text in the runpy unit tests
........

15 years agoMerged revisions 76358 via svnmerge from
Tarek Ziadé [Wed, 18 Nov 2009 09:32:34 +0000 (09:32 +0000)]
Merged revisions 76358 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76358 | tarek.ziade | 2009-11-18 09:46:56 +0100 (Wed, 18 Nov 2009) | 1 line

  #7293: distutils.test_msvc9compiler now uses a key that exists on any fresh windows install
........

15 years agoBlocked revisions 76350 via svnmerge
Benjamin Peterson [Tue, 17 Nov 2009 21:27:44 +0000 (21:27 +0000)]
Blocked revisions 76350 via svnmerge

........
  r76350 | benjamin.peterson | 2009-11-17 15:24:54 -0600 (Tue, 17 Nov 2009) | 1 line

  a better callable replacement
........

15 years agoMerged revisions 76309 via svnmerge from
Antoine Pitrou [Tue, 17 Nov 2009 20:21:14 +0000 (20:21 +0000)]
Merged revisions 76309 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76309 | antoine.pitrou | 2009-11-15 18:22:09 +0100 (dim., 15 nov. 2009) | 4 lines

  Issue #2054: ftplib now provides an FTP_TLS class to do secure FTP using
  TLS or SSL.  Patch by Giampaolo Rodola'.
........

15 years agoMerged revisions 76337 via svnmerge from
Philip Jenvey [Tue, 17 Nov 2009 03:43:14 +0000 (03:43 +0000)]
Merged revisions 76337 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76337 | philip.jenvey | 2009-11-16 18:42:26 -0800 (Mon, 16 Nov 2009) | 2 lines

  #1757126: fix typo with the cyrillic_asian alias
........

15 years agoBlocked revisions 76333 via svnmerge
Mark Dickinson [Mon, 16 Nov 2009 19:18:32 +0000 (19:18 +0000)]
Blocked revisions 76333 via svnmerge

........
  r76333 | mark.dickinson | 2009-11-16 19:17:16 +0000 (Mon, 16 Nov 2009) | 1 line

  Silence another MSVC warning about unary minus.
........

15 years agoBlocked revisions 76330 via svnmerge
Mark Dickinson [Mon, 16 Nov 2009 17:36:10 +0000 (17:36 +0000)]
Blocked revisions 76330 via svnmerge

........
  r76330 | mark.dickinson | 2009-11-16 17:33:25 +0000 (Mon, 16 Nov 2009) | 1 line

  Silence MSVC warning about unary minus applied to unsigned type.
........

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

........
  r76308 | mark.dickinson | 2009-11-15 16:18:58 +0000 (Sun, 15 Nov 2009) | 3 lines

  Issue #7228:  Add '%lld' and '%llu' support to PyFormat_FromString,
  PyFormat_FromStringV and PyErr_Format.
........

15 years agoMerged revisions 76286-76287,76289-76294,76296-76299,76301-76305,76307,76310-76311...
Nick Coghlan [Mon, 16 Nov 2009 06:49:25 +0000 (06:49 +0000)]
Merged revisions 76286-76287,76289-76294,76296-76299,76301-76305,76307,76310-76311,76313-76322 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76286 | nick.coghlan | 2009-11-15 17:30:34 +1000 (Sun, 15 Nov 2009) | 1 line

  Issue #6816: expose the zipfile and directory execution mechanism to Python code via the runpy module. Also consolidated some script execution functionality in the test harness into a helper module and removed some implementation details from the runpy module documentation.
........
  r76321 | nick.coghlan | 2009-11-16 13:55:51 +1000 (Mon, 16 Nov 2009) | 1 line

  Account for another cache when hunting ref leaks
........
  r76322 | nick.coghlan | 2009-11-16 13:57:32 +1000 (Mon, 16 Nov 2009) | 1 line

  Allow for backslashes in file paths passed to the regex engine
........

15 years agofix one visible and several possible refleaks in rangeobject.c
Benjamin Peterson [Mon, 16 Nov 2009 00:34:25 +0000 (00:34 +0000)]
fix one visible and several possible refleaks in rangeobject.c

In some cases, the code was just reordered to allow for less decrefing.

15 years agoremove 2.x specific warnings
Benjamin Peterson [Mon, 16 Nov 2009 00:25:02 +0000 (00:25 +0000)]
remove 2.x specific warnings

15 years agoMerged revisions 76312 via svnmerge from
Nick Coghlan [Sun, 15 Nov 2009 23:04:33 +0000 (23:04 +0000)]
Merged revisions 76312 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76312 | nick.coghlan | 2009-11-16 08:36:47 +1000 (Mon, 16 Nov 2009) | 1 line

  Issue #7328: don't corrupt sys.path when running pydoc with the -m switch
........

15 years agoRegenerate pyconfig.h.in using autoconf 2.61
Mark Dickinson [Sun, 15 Nov 2009 18:23:13 +0000 (18:23 +0000)]
Regenerate pyconfig.h.in using autoconf 2.61

15 years agoMerged revisions 76306 via svnmerge from
Antoine Pitrou [Sun, 15 Nov 2009 14:25:16 +0000 (14:25 +0000)]
Merged revisions 76306 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76306 | antoine.pitrou | 2009-11-15 15:10:48 +0100 (dim., 15 nov. 2009) | 4 lines

  Issue #4969: The mimetypes module now reads the MIME database from
  the registry under Windows.  Patch by Gabriel Genellina.
........

15 years agoIssue #6970: Remove redundant calls made when comparing objects.
Mark Dickinson [Sun, 15 Nov 2009 13:58:49 +0000 (13:58 +0000)]
Issue #6970: Remove redundant calls made when comparing objects.

15 years agoMerged revisions 76300 via svnmerge from
Mark Dickinson [Sun, 15 Nov 2009 13:47:27 +0000 (13:47 +0000)]
Merged revisions 76300 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76300 | mark.dickinson | 2009-11-15 13:12:43 +0000 (Sun, 15 Nov 2009) | 3 lines

  Issue #5792:  Extend short float repr support to x86 platforms using suncc or icc.
  Many thanks Stefan Krah for help and OpenSolaris testing.
........

15 years agoFix another case of potential signed overflow.
Mark Dickinson [Sun, 15 Nov 2009 12:56:08 +0000 (12:56 +0000)]
Fix another case of potential signed overflow.

15 years agoBlocked revisions 76295 via svnmerge
Mark Dickinson [Sun, 15 Nov 2009 12:34:44 +0000 (12:34 +0000)]
Blocked revisions 76295 via svnmerge

........
  r76295 | mark.dickinson | 2009-11-15 12:31:13 +0000 (Sun, 15 Nov 2009) | 5 lines

  Avoid signed overflow in some xrange calculations, and extend
  xrange tests to cover some special cases that caused problems
  in py3k.  This is a partial backport of r76292-76293 (see
  issue #7298.)
........

15 years agor76292 commit accidentally committed some extra code; remove it
Mark Dickinson [Sun, 15 Nov 2009 10:04:50 +0000 (10:04 +0000)]
r76292 commit accidentally committed some extra code; remove it

15 years agoIssue #7298: Fix a variety of problems leading to wrong results with
Mark Dickinson [Sun, 15 Nov 2009 09:57:26 +0000 (09:57 +0000)]
Issue #7298: Fix a variety of problems leading to wrong results with
the fast versions of range.__reversed__ and range iteration.  Also
fix wrong results and a refleak for PyLong version of range.__reversed__.

Thanks Eric Smith for reviewing, and for suggesting improved tests.

15 years agoMerged revisions 76288 via svnmerge from
Senthil Kumaran [Sun, 15 Nov 2009 08:43:45 +0000 (08:43 +0000)]
Merged revisions 76288 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76288 | senthil.kumaran | 2009-11-15 14:06:20 +0530 (Sun, 15 Nov 2009) | 3 lines

  Fix for Issue4683 - urllib2.HTTPDigestAuthHandler fails on third hostname?.
  Resolution: Reset the nonce value for each unique nonce (as per RFC 2617)
........

15 years agoMerged revisions 76282 via svnmerge from
Senthil Kumaran [Sun, 15 Nov 2009 06:20:55 +0000 (06:20 +0000)]
Merged revisions 76282 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76282 | senthil.kumaran | 2009-11-15 11:40:30 +0530 (Sun, 15 Nov 2009) | 3 lines

  Addition of some details in the code comments.
........

15 years agoBlocked revisions 76277 via svnmerge
R. David Murray [Sun, 15 Nov 2009 00:25:11 +0000 (00:25 +0000)]
Blocked revisions 76277 via svnmerge

........
  r76277 | r.david.murray | 2009-11-14 19:07:00 -0500 (Sat, 14 Nov 2009) | 3 lines

  Remove 'g' from regrtest getopt argument string, since there's no
  handler for it.
........

15 years agoMerged revisions 76276 via svnmerge from
R. David Murray [Sun, 15 Nov 2009 00:23:21 +0000 (00:23 +0000)]
Merged revisions 76276 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76276 | r.david.murray | 2009-11-14 19:04:32 -0500 (Sat, 14 Nov 2009) | 3 lines

  Issue 7324: add a sanity check to regrtest argument parsing to
  catch the case of an option with no handler.
........

15 years agoFix print function conversion missed in merge of faq/programming update.
R. David Murray [Sat, 14 Nov 2009 22:27:22 +0000 (22:27 +0000)]
Fix print function conversion missed in merge of faq/programming update.

15 years agoMerged revisions 76190 via svnmerge from
R. David Murray [Sat, 14 Nov 2009 22:21:32 +0000 (22:21 +0000)]
Merged revisions 76190 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76190 | r.david.murray | 2009-11-10 13:58:02 -0500 (Tue, 10 Nov 2009) | 3 lines

  Update the FAQ entry that explains that assignments in the local scope
  shadow variables in the outer scope (issue 7290).
........

15 years agoBlocked revisions 76214,76265 via svnmerge
R. David Murray [Sat, 14 Nov 2009 18:26:33 +0000 (18:26 +0000)]
Blocked revisions 76214,76265 via svnmerge

........
  r76214 | r.david.murray | 2009-11-11 13:07:27 -0500 (Wed, 11 Nov 2009) | 5 lines

  I got the relative magnitudes of the timeout increases reversed, so
  I'm bumping up the longer test to the 60 seconds I intended to make it.
  If this doesn't cure the intermittent buildbot timeouts, I'm going to
  turn that test into a warning rather than a failure.
........
  r76265 | r.david.murray | 2009-11-14 12:43:16 -0500 (Sat, 14 Nov 2009) | 3 lines

  Turn the bsddb replication startup timeout test into a
  warning, to improve buildbot stability.
........

15 years agouse some more itertools magic to make '' be yielded after readline is done
Benjamin Peterson [Sat, 14 Nov 2009 18:09:17 +0000 (18:09 +0000)]
use some more itertools magic to make '' be yielded after readline is done

15 years agosimply by using itertools.chain()
Benjamin Peterson [Sat, 14 Nov 2009 16:27:26 +0000 (16:27 +0000)]
simply by using itertools.chain()

15 years agoMerged revisions 76260 via svnmerge from
R. David Murray [Sat, 14 Nov 2009 16:13:02 +0000 (16:13 +0000)]
Merged revisions 76260 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76260 | r.david.murray | 2009-11-14 10:18:22 -0500 (Sat, 14 Nov 2009) | 5 lines

  Issue #7312 (new feature): Add a -F flag to run the selected tests in
  a loop until a test fails.  Can be combined with -j.  Patch by Antoine
  Pitrou.
........

15 years agoMerged revisions 76255 via svnmerge from
Benjamin Peterson [Fri, 13 Nov 2009 23:14:24 +0000 (23:14 +0000)]
Merged revisions 76255 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76255 | benjamin.peterson | 2009-11-13 17:11:54 -0600 (Fri, 13 Nov 2009) | 1 line

  use Sphinx 0.6.3
........

15 years agoAdd a note about the RLock acceleration
Antoine Pitrou [Fri, 13 Nov 2009 22:58:45 +0000 (22:58 +0000)]
Add a note about the RLock acceleration

15 years agoBlocked revisions 76243,76249 via svnmerge
Benjamin Peterson [Fri, 13 Nov 2009 22:57:33 +0000 (22:57 +0000)]
Blocked revisions 76243,76249 via svnmerge

........
  r76243 | benjamin.peterson | 2009-11-13 16:17:17 -0600 (Fri, 13 Nov 2009) | 1 line

  never mind about eval mode in this case
........
  r76249 | benjamin.peterson | 2009-11-13 16:56:00 -0600 (Fri, 13 Nov 2009) | 1 line

  revert r76243; I was right, actually :)
........

15 years agoMerged revisions 76245 via svnmerge from
Antoine Pitrou [Fri, 13 Nov 2009 22:35:18 +0000 (22:35 +0000)]
Merged revisions 76245 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76245 | antoine.pitrou | 2009-11-13 23:31:18 +0100 (ven., 13 nov. 2009) | 6 lines

  Issue #7318: multiprocessing now uses a timeout when it fails to establish
  a connection with another process, rather than looping endlessly. The
  default timeout is 20 seconds, which should be amply sufficient for
  local connections.
........

15 years agoSilence getcheckinterval()-related warnings in the test suite
Antoine Pitrou [Fri, 13 Nov 2009 22:19:19 +0000 (22:19 +0000)]
Silence getcheckinterval()-related warnings in the test suite

15 years agouse with_traceback correctly
Benjamin Peterson [Fri, 13 Nov 2009 22:09:10 +0000 (22:09 +0000)]
use with_traceback correctly

15 years agoIssue #6551: test_zipimport could import and then destroy some modules of
Antoine Pitrou [Fri, 13 Nov 2009 16:29:04 +0000 (16:29 +0000)]
Issue #6551: test_zipimport could import and then destroy some modules of
the encodings package, which would make other tests fail further down
the road because the internally cached encoders and decoders would point
to empty global variables.

15 years agoFix incorrect "versionchanged" version number from revision 76238
Kristján Valur Jónsson [Fri, 13 Nov 2009 16:15:57 +0000 (16:15 +0000)]
Fix incorrect "versionchanged" version number from revision 76238

15 years agoMerged revisions 74556 via svnmerge from
Kristján Valur Jónsson [Fri, 13 Nov 2009 16:10:13 +0000 (16:10 +0000)]
Merged revisions 74556 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74556 | kristjan.jonsson | 2009-08-27 22:20:21 +0000 (fim., 27 ßg·. 2009) | 2 lines

  issue 6275
  Add an "exc_value" attribute to the _AssertRaisesContext context manager in the unittest package.  This allows further tests on the exception that was raised after the context manager exits.
........

15 years agoBlocked revisions 75407-75413,75415,75417,75419-75421 via svnmerge
Benjamin Peterson [Fri, 13 Nov 2009 02:43:40 +0000 (02:43 +0000)]
Blocked revisions 75407-75413,75415,75417,75419-75421 via svnmerge

........
  r75407 | antoine.pitrou | 2009-10-14 12:30:52 -0500 (Wed, 14 Oct 2009) | 3 lines

  Fix py3k warnings in the aifc module
........
  r75408 | antoine.pitrou | 2009-10-14 12:34:31 -0500 (Wed, 14 Oct 2009) | 3 lines

  Fix a test_atexit failure when run with -3
........
  r75409 | antoine.pitrou | 2009-10-14 13:01:33 -0500 (Wed, 14 Oct 2009) | 3 lines

  Fix py3k warnings in bsddb
........
  r75410 | antoine.pitrou | 2009-10-14 13:09:45 -0500 (Wed, 14 Oct 2009) | 3 lines

  Silence a py3k warning claiming to affect Lib/calendar.py
........
  r75411 | antoine.pitrou | 2009-10-14 13:12:54 -0500 (Wed, 14 Oct 2009) | 3 lines

  Fix a py3k warning in the StringIO module (exhibited in test_codecencodings_cn)
........
  r75412 | antoine.pitrou | 2009-10-14 13:27:32 -0500 (Wed, 14 Oct 2009) | 3 lines

  Fix py3k warnings in the socket module
........
  r75413 | antoine.pitrou | 2009-10-14 13:31:05 -0500 (Wed, 14 Oct 2009) | 3 lines

  Fix a py3k warning in the sndhdr module (found with test_email)
........
  r75415 | antoine.pitrou | 2009-10-14 13:39:46 -0500 (Wed, 14 Oct 2009) | 3 lines

  Silence some py3k warnings claiming to affect _pyio
........
  r75417 | antoine.pitrou | 2009-10-14 13:47:13 -0500 (Wed, 14 Oct 2009) | 3 lines

  Fix failures in test_profilehooks when run with -3
........
  r75419 | antoine.pitrou | 2009-10-14 13:56:11 -0500 (Wed, 14 Oct 2009) | 3 lines

  Silence py3k warning claiming to affect the random module
........
  r75420 | antoine.pitrou | 2009-10-14 14:04:48 -0500 (Wed, 14 Oct 2009) | 3 lines

  Fix py3k warnings in httplib
........
  r75421 | antoine.pitrou | 2009-10-14 14:09:48 -0500 (Wed, 14 Oct 2009) | 3 lines

  Fix py3k warnings in the uuid module
........

15 years agoMerged revisions 75149,75260-75263,75265-75267,75292,75300,75376,75405,75429-75433...
Benjamin Peterson [Fri, 13 Nov 2009 02:25:08 +0000 (02:25 +0000)]
Merged revisions 75149,75260-75263,75265-75267,75292,75300,75376,75405,75429-75433,75437,75445,75501,75551,75572,75589-75591,75657,75742,75868,75952-75957,76057,76105,76139,76143,76162,76223 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75149 | gregory.p.smith | 2009-09-29 16:56:31 -0500 (Tue, 29 Sep 2009) | 3 lines

  Mention issue6972 in extractall docs about overwriting things outside of
  the supplied path.
........
  r75260 | andrew.kuchling | 2009-10-05 16:24:20 -0500 (Mon, 05 Oct 2009) | 1 line

  Wording fix
........
  r75261 | andrew.kuchling | 2009-10-05 16:24:35 -0500 (Mon, 05 Oct 2009) | 1 line

  Fix narkup
........
  r75262 | andrew.kuchling | 2009-10-05 16:25:03 -0500 (Mon, 05 Oct 2009) | 1 line

  Document 'skip' parameter to constructor
........
  r75263 | andrew.kuchling | 2009-10-05 16:25:35 -0500 (Mon, 05 Oct 2009) | 1 line

  Note side benefit of socket.create_connection()
........
  r75265 | andrew.kuchling | 2009-10-05 17:31:11 -0500 (Mon, 05 Oct 2009) | 1 line

  Reword sentence
........
  r75266 | andrew.kuchling | 2009-10-05 17:32:48 -0500 (Mon, 05 Oct 2009) | 1 line

  Use standard comma punctuation; reword some sentences in the docs
........
  r75267 | andrew.kuchling | 2009-10-05 17:42:56 -0500 (Mon, 05 Oct 2009) | 1 line

  Backport r73983: Document the thousands separator.
........
  r75292 | benjamin.peterson | 2009-10-08 22:11:36 -0500 (Thu, 08 Oct 2009) | 1 line

  death to old CVS keyword
........
  r75300 | benjamin.peterson | 2009-10-09 16:48:14 -0500 (Fri, 09 Oct 2009) | 1 line

  fix some coding style
........
  r75376 | benjamin.peterson | 2009-10-11 20:26:07 -0500 (Sun, 11 Oct 2009) | 1 line

  platform we don't care about
........
  r75405 | neil.schemenauer | 2009-10-14 12:17:14 -0500 (Wed, 14 Oct 2009) | 4 lines

  Issue #1754094: Improve the stack depth calculation in the compiler.
  There should be no other effect than a small decrease in memory use.
  Patch by Christopher Tur Lesniewski-Laas.
........
  r75429 | benjamin.peterson | 2009-10-14 20:47:28 -0500 (Wed, 14 Oct 2009) | 1 line

  pep8ify if blocks
........
  r75430 | benjamin.peterson | 2009-10-14 20:49:37 -0500 (Wed, 14 Oct 2009) | 1 line

  use floor division and add a test that exercises the tabsize codepath
........
  r75431 | benjamin.peterson | 2009-10-14 20:56:25 -0500 (Wed, 14 Oct 2009) | 1 line

  change test to what I intended
........
  r75432 | benjamin.peterson | 2009-10-14 22:05:39 -0500 (Wed, 14 Oct 2009) | 1 line

  some cleanups
........
  r75433 | benjamin.peterson | 2009-10-14 22:06:55 -0500 (Wed, 14 Oct 2009) | 1 line

  make inspect.isabstract() always return a boolean; add a test for it, too #7069
........
  r75437 | benjamin.peterson | 2009-10-15 10:44:46 -0500 (Thu, 15 Oct 2009) | 1 line

  only clear a module's __dict__ if the module is the only one with a reference to it #7140
........
  r75445 | vinay.sajip | 2009-10-16 09:06:44 -0500 (Fri, 16 Oct 2009) | 1 line

  Issue #7120: logging: Removed import of multiprocessing which is causing crash in GAE.
........
  r75501 | antoine.pitrou | 2009-10-18 13:37:11 -0500 (Sun, 18 Oct 2009) | 3 lines

  Add a comment about unreachable code, and fix a typo
........
  r75551 | benjamin.peterson | 2009-10-19 22:14:10 -0500 (Mon, 19 Oct 2009) | 1 line

  use property api
........
  r75572 | benjamin.peterson | 2009-10-20 16:55:17 -0500 (Tue, 20 Oct 2009) | 1 line

  clarify buffer arg #7178
........
  r75589 | benjamin.peterson | 2009-10-21 21:26:47 -0500 (Wed, 21 Oct 2009) | 1 line

  whitespace
........
  r75590 | benjamin.peterson | 2009-10-21 21:36:47 -0500 (Wed, 21 Oct 2009) | 1 line

  rewrite to be nice to other implementations
........
  r75591 | benjamin.peterson | 2009-10-21 21:50:38 -0500 (Wed, 21 Oct 2009) | 4 lines

  rewrite for style, clarify, and comments

  Also, use the hasattr() like scheme of allowing BaseException exceptions through.
........
  r75657 | antoine.pitrou | 2009-10-24 07:41:27 -0500 (Sat, 24 Oct 2009) | 3 lines

  Fix compilation error in debug mode.
........
  r75742 | benjamin.peterson | 2009-10-26 17:51:16 -0500 (Mon, 26 Oct 2009) | 1 line

  use 'is' instead of id()
........
  r75868 | benjamin.peterson | 2009-10-27 15:59:18 -0500 (Tue, 27 Oct 2009) | 1 line

  test expect base classes
........
  r75952 | georg.brandl | 2009-10-29 15:38:32 -0500 (Thu, 29 Oct 2009) | 1 line

  Use the correct function name in docstring.
........
  r75953 | georg.brandl | 2009-10-29 15:39:50 -0500 (Thu, 29 Oct 2009) | 1 line

  Remove mention of the old -X command line switch.
........
  r75954 | georg.brandl | 2009-10-29 15:53:00 -0500 (Thu, 29 Oct 2009) | 1 line

  Use constants instead of magic integers for test result.  Do not re-run with --verbose3 for environment changing tests.
........
  r75955 | georg.brandl | 2009-10-29 15:54:03 -0500 (Thu, 29 Oct 2009) | 1 line

  Use a single style for all the docstrings in the math module.
........
  r75956 | georg.brandl | 2009-10-29 16:16:34 -0500 (Thu, 29 Oct 2009) | 1 line

  I do not think the "railroad" program mentioned is still available.
........
  r75957 | georg.brandl | 2009-10-29 16:44:56 -0500 (Thu, 29 Oct 2009) | 1 line

  Fix constant name.
........
  r76057 | benjamin.peterson | 2009-11-02 09:06:45 -0600 (Mon, 02 Nov 2009) | 1 line

  prevent a rather unlikely segfault
........
  r76105 | georg.brandl | 2009-11-04 01:38:12 -0600 (Wed, 04 Nov 2009) | 1 line

  #7259: show correct equivalent for operator.i* operations in docstring; fix minor issues in operator docs.
........
  r76139 | benjamin.peterson | 2009-11-06 19:04:38 -0600 (Fri, 06 Nov 2009) | 1 line

  spelling
........
  r76143 | georg.brandl | 2009-11-07 02:26:07 -0600 (Sat, 07 Nov 2009) | 1 line

  #7271: fix typo.
........
  r76162 | benjamin.peterson | 2009-11-08 22:10:53 -0600 (Sun, 08 Nov 2009) | 1 line

  discuss how to use -p
........
  r76223 | georg.brandl | 2009-11-12 02:29:46 -0600 (Thu, 12 Nov 2009) | 1 line

  Give the profile module a module directive.
........

15 years agoupdate to reality
Benjamin Peterson [Fri, 13 Nov 2009 00:52:43 +0000 (00:52 +0000)]
update to reality

15 years agono need to translate newlines in python code anymore
Benjamin Peterson [Fri, 13 Nov 2009 00:45:32 +0000 (00:45 +0000)]
no need to translate newlines in python code anymore

15 years agoMerged revisions 76230 via svnmerge from
Benjamin Peterson [Fri, 13 Nov 2009 00:17:59 +0000 (00:17 +0000)]
Merged revisions 76230 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76230 | benjamin.peterson | 2009-11-12 17:39:44 -0600 (Thu, 12 Nov 2009) | 2 lines

  fix several compile() issues by translating newlines in the tokenizer
........

15 years agoTry to strengthen condition-waiting under Windows.
Antoine Pitrou [Thu, 12 Nov 2009 22:56:02 +0000 (22:56 +0000)]
Try to strengthen condition-waiting under Windows.
If it doesn't work (doesn't solve erratic freezes) we'll have to resort
to tougher (Windows-only) measures.

15 years agofix highlight in the datetime example
Ezio Melotti [Thu, 12 Nov 2009 10:38:55 +0000 (10:38 +0000)]
fix highlight in the datetime example

15 years agoAdd version tags to sys.{get,set}switchinterval
Antoine Pitrou [Wed, 11 Nov 2009 22:03:32 +0000 (22:03 +0000)]
Add version tags to sys.{get,set}switchinterval