]> granicus.if.org Git - python/log
python
15 years agoBlocked revisions 76502 via svnmerge
Mark Dickinson [Tue, 24 Nov 2009 20:55:17 +0000 (20:55 +0000)]
Blocked revisions 76502 via svnmerge

........
  r76502 | mark.dickinson | 2009-11-24 20:51:48 +0000 (Tue, 24 Nov 2009) | 3 lines

  Issue #7228:  Fix format mismatch when printing something of type off_t.
  (Should silence some compiler warnings.)
........

15 years agoMerged revisions 76499 via svnmerge from
Alexandre Vassalotti [Tue, 24 Nov 2009 18:06:51 +0000 (18:06 +0000)]
Merged revisions 76499 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

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

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

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

  Based on a patch by Amaury Forgeot d'Arc.
........

15 years agoBlocked revisions 76495 via svnmerge
Mark Dickinson [Tue, 24 Nov 2009 15:12:55 +0000 (15:12 +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 agoBlocked revisions 76489 via svnmerge
Mark Dickinson [Tue, 24 Nov 2009 14:27:30 +0000 (14:27 +0000)]
Blocked revisions 76489 via svnmerge

........
  r76489 | mark.dickinson | 2009-11-24 14:27:02 +0000 (Tue, 24 Nov 2009) | 1 line

  Fix some documentation examples involving the repr of a float.
........

15 years agoBlocked revisions 76483 via svnmerge
Mark Dickinson [Tue, 24 Nov 2009 10:55:38 +0000 (10:55 +0000)]
Blocked revisions 76483 via svnmerge

........
  r76483 | mark.dickinson | 2009-11-24 10:54:58 +0000 (Tue, 24 Nov 2009) | 2 lines

  round(0, "ermintrude") succeeded instead of producing a TypeError.  Fix this.
........

15 years agoBlocked revisions 76472 via svnmerge
Mark Dickinson [Mon, 23 Nov 2009 20:54:56 +0000 (20:54 +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 18:54:33 +0000 (18:54 +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:49:28 +0000 (18:49 +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:39:46 +0000 (16:39 +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:25:51 +0000 (16:25 +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 16:01:56 +0000 (16:01 +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 agoBlocked revisions 76443 via svnmerge
Lars Gustäbel [Sun, 22 Nov 2009 18:56:32 +0000 (18:56 +0000)]
Blocked revisions 76443 via svnmerge

........
  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 agoMerged revisions 76433 via svnmerge from
Jesse Noller [Sat, 21 Nov 2009 14:23:46 +0000 (14:23 +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:48 +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 agoMerged revisions 76420 via svnmerge from
Benjamin Peterson [Thu, 19 Nov 2009 23:25:14 +0000 (23:25 +0000)]
Merged revisions 76420 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

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

  spelling
........

15 years agoMerged revisions 76416-76417 via svnmerge from
Benjamin Peterson [Thu, 19 Nov 2009 23:01:36 +0000 (23:01 +0000)]
Merged revisions 76416-76417 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  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 agoBlocked revisions 76411 via svnmerge
Mark Dickinson [Thu, 19 Nov 2009 18:42:18 +0000 (18:42 +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:43:53 +0000 (17:43 +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 16:37:33 +0000 (16:37 +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 agoBlocked revisions 76399 via svnmerge
Tarek Ziadé [Thu, 19 Nov 2009 05:34:14 +0000 (05:34 +0000)]
Blocked revisions 76399 via svnmerge

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

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

15 years agoMerged revisions 76395 via svnmerge from
Benjamin Peterson [Thu, 19 Nov 2009 03:11:09 +0000 (03:11 +0000)]
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:26:23 +0000 (01:26 +0000)]
Fix docstrings for itertools combinatoric functions.

15 years agoMerged revisions 76381 via svnmerge from
Lars Gustäbel [Wed, 18 Nov 2009 21:09:35 +0000 (21:09 +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 76379 via svnmerge
Mark Dickinson [Wed, 18 Nov 2009 20:31:07 +0000 (20:31 +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 agoIssue 7263: Fix set.intersection() docstring.
Raymond Hettinger [Wed, 18 Nov 2009 20:13:27 +0000 (20:13 +0000)]
Issue 7263: Fix set.intersection() docstring.

15 years agoBlocked revisions 76373 via svnmerge
Mark Dickinson [Wed, 18 Nov 2009 19:34:33 +0000 (19:34 +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:54:21 +0000 (18:54 +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 agoBlocked revisions 76367 via svnmerge
Georg Brandl [Wed, 18 Nov 2009 18:53:59 +0000 (18:53 +0000)]
Blocked revisions 76367 via svnmerge

........
  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 agoBlocked revisions 76362 via svnmerge
Nick Coghlan [Wed, 18 Nov 2009 11:29:42 +0000 (11:29 +0000)]
Blocked revisions 76362 via svnmerge

........
  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 agoBlocked revisions 76358 via svnmerge
Tarek Ziadé [Wed, 18 Nov 2009 08:52:10 +0000 (08:52 +0000)]
Blocked revisions 76358 via svnmerge

........
  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 agoMerged revisions 76350 via svnmerge from
Benjamin Peterson [Tue, 17 Nov 2009 21:33:08 +0000 (21:33 +0000)]
Merged revisions 76350 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

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

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

15 years agoBlocked revisions 76333 via svnmerge
Mark Dickinson [Mon, 16 Nov 2009 19:17:54 +0000 (19:17 +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 agoMerged revisions 76330 via svnmerge from
Mark Dickinson [Mon, 16 Nov 2009 17:34:11 +0000 (17:34 +0000)]
Merged revisions 76330 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  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 agoBlocked revisions 76308 via svnmerge
Mark Dickinson [Mon, 16 Nov 2009 16:57:52 +0000 (16:57 +0000)]
Blocked revisions 76308 via svnmerge

........
  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 agoBlocked revisions 76321-76322 via svnmerge
Nick Coghlan [Mon, 16 Nov 2009 04:01:51 +0000 (04:01 +0000)]
Blocked revisions 76321-76322 via svnmerge

........
  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 agoMerged revisions 76312 via svnmerge from
Nick Coghlan [Sun, 15 Nov 2009 22:58:27 +0000 (22:58 +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 agoBlocked revisions 76300 via svnmerge
Mark Dickinson [Sun, 15 Nov 2009 13:48:02 +0000 (13:48 +0000)]
Blocked revisions 76300 via svnmerge

........
  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 agoMerged revisions 76295 via svnmerge from
Mark Dickinson [Sun, 15 Nov 2009 12:34:12 +0000 (12:34 +0000)]
Merged revisions 76295 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  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 agoMerged revisions 76288 via svnmerge from
Senthil Kumaran [Sun, 15 Nov 2009 08:39:10 +0000 (08:39 +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 agoBlocked revisions 76286 via svnmerge
Nick Coghlan [Sun, 15 Nov 2009 07:35:20 +0000 (07:35 +0000)]
Blocked revisions 76286 via svnmerge

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

15 years agoMerged revisions 76282 via svnmerge from
Senthil Kumaran [Sun, 15 Nov 2009 06:14:36 +0000 (06:14 +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 agoMerged revisions 76276-76277 via svnmerge from
R. David Murray [Sun, 15 Nov 2009 00:17:17 +0000 (00:17 +0000)]
Merged revisions 76276-76277 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.
........
  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 76190 via svnmerge from
R. David Murray [Sat, 14 Nov 2009 22:08:02 +0000 (22:08 +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 agoMerged revisions 76265 via svnmerge from
R. David Murray [Sat, 14 Nov 2009 18:20:57 +0000 (18:20 +0000)]
Merged revisions 76265 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  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 agoBlocked revisions 76260 via svnmerge
R. David Murray [Sat, 14 Nov 2009 16:21:12 +0000 (16:21 +0000)]
Blocked revisions 76260 via svnmerge

........
  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:55 +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 agoMerged revisions 76245 via svnmerge from
Antoine Pitrou [Fri, 13 Nov 2009 22:33:27 +0000 (22:33 +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 agofix highlight in the datetime example
Ezio Melotti [Thu, 12 Nov 2009 10:35:52 +0000 (10:35 +0000)]
fix highlight in the datetime example

15 years agoMerged revisions 76217 via svnmerge from
Antoine Pitrou [Wed, 11 Nov 2009 20:57:55 +0000 (20:57 +0000)]
Merged revisions 76217 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76217 | antoine.pitrou | 2009-11-11 21:55:07 +0100 (mer., 11 nov. 2009) | 3 lines

  Issue #7295: Do not use a hardcoded file name in test_tarfile.
........

15 years agoMerged revisions 76214 via svnmerge from
R. David Murray [Wed, 11 Nov 2009 18:09:13 +0000 (18:09 +0000)]
Merged revisions 76214 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

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

15 years agoMerged revisions 76212 via svnmerge from
Senthil Kumaran [Wed, 11 Nov 2009 17:24:53 +0000 (17:24 +0000)]
Merged revisions 76212 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76212 | senthil.kumaran | 2009-11-11 22:52:35 +0530 (Wed, 11 Nov 2009) | 3 lines

  Fixing the NameError on Windows - issue1235
........

15 years agoMerged revisions 76208 via svnmerge from
Senthil Kumaran [Wed, 11 Nov 2009 04:07:09 +0000 (04:07 +0000)]
Merged revisions 76208 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76208 | senthil.kumaran | 2009-11-11 07:04:44 +0530 (Wed, 11 Nov 2009) | 3 lines

  CGIHTTPRequestHandler.run_cgi() to use subprocess for Non Unix platforms. Fix
  based on Issue1235.
........

15 years agoBlocked revisions 76176 via svnmerge
Mark Dickinson [Mon, 9 Nov 2009 20:00:39 +0000 (20:00 +0000)]
Blocked revisions 76176 via svnmerge

........
  r76176 | mark.dickinson | 2009-11-09 17:03:34 +0000 (Mon, 09 Nov 2009) | 7 lines

  Issue #7251: Break out round tests for large values into a separate
  test function, and skip that test on Linux/alpha systems with a broken
  system round function.

  This should turn the Debian/alpha buildbot green.
........

15 years agoMerged revisions 76182 via svnmerge from
Mark Dickinson [Mon, 9 Nov 2009 19:59:08 +0000 (19:59 +0000)]
Merged revisions 76182 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76182 | mark.dickinson | 2009-11-09 19:54:51 +0000 (Mon, 09 Nov 2009) | 1 line

  Add extra information to a test_signal failure message to aid diagnosis of buildbot failure.
........

15 years agoIssue #7070: Fix problem with builtin round function for large odd
Mark Dickinson [Mon, 9 Nov 2009 17:45:40 +0000 (17:45 +0000)]
Issue #7070: Fix problem with builtin round function for large odd
integer arguments.  Also fixes the sign of round(-0.0).

15 years agoMerged revisions 76137,76172 via svnmerge from
Antoine Pitrou [Mon, 9 Nov 2009 16:47:50 +0000 (16:47 +0000)]
Merged revisions 76137,76172 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76137 | antoine.pitrou | 2009-11-06 23:34:35 +0100 (ven., 06 nov. 2009) | 4 lines

  Issue #7270: Add some dedicated unit tests for multi-thread synchronization
  primitives such as Lock, RLock, Condition, Event and Semaphore.
........
  r76172 | antoine.pitrou | 2009-11-09 17:00:11 +0100 (lun., 09 nov. 2009) | 5 lines

  Issue #7282: Fix a memory leak when an RLock was used in a thread other
  than those started through `threading.Thread` (for example, using
  `thread.start_new_thread()`.
........

15 years agoMerged revisions 76168 via svnmerge from
Eric Smith [Mon, 9 Nov 2009 15:20:16 +0000 (15:20 +0000)]
Merged revisions 76168 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76168 | eric.smith | 2009-11-09 10:16:23 -0500 (Mon, 09 Nov 2009) | 1 line

  Issue 7294: Fixed URL in a comment.
........

15 years agoMerged revisions 76163 via svnmerge from
R. David Murray [Mon, 9 Nov 2009 14:20:12 +0000 (14:20 +0000)]
Merged revisions 76163 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76163 | r.david.murray | 2009-11-09 09:18:14 -0500 (Mon, 09 Nov 2009) | 2 lines

  Remove redundant sentence.
........

15 years agoMerged revisions 76148 via svnmerge from
Antoine Pitrou [Sun, 8 Nov 2009 00:36:33 +0000 (00:36 +0000)]
Merged revisions 76148 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76148 | antoine.pitrou | 2009-11-08 01:24:12 +0100 (dim., 08 nov. 2009) | 4 lines

  Kill a small potential leak in test_threading.
  The leak may not manifest itself if the OS re-uses the same thread ids
  (I suppose Neal's machine doesn't :-))
........

15 years agoMerged revisions 76116 via svnmerge from
R. David Murray [Thu, 5 Nov 2009 14:08:06 +0000 (14:08 +0000)]
Merged revisions 76116 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76116 | r.david.murray | 2009-11-04 20:50:56 -0500 (Wed, 04 Nov 2009) | 3 lines

  Increase the timeout in the bsddb3 replication test to allow
  the test time to complete on slow buildbots.  See issue 6462.
........

15 years agoMerged revisions 76117 via svnmerge from
Antoine Pitrou [Thu, 5 Nov 2009 13:44:28 +0000 (13:44 +0000)]
Merged revisions 76117 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76117 | antoine.pitrou | 2009-11-05 14:42:29 +0100 (jeu., 05 nov. 2009) | 5 lines

  Issue #7264: Fix a possible deadlock when deallocating thread-local objects
  which are part of a reference cycle.
........

15 years agoMerged revisions 76101 via svnmerge from
Antoine Pitrou [Wed, 4 Nov 2009 00:55:26 +0000 (00:55 +0000)]
Merged revisions 76101 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76101 | antoine.pitrou | 2009-11-04 01:50:26 +0100 (mer., 04 nov. 2009) | 3 lines

  Make test_shutil clean up after itself
........

15 years agoFix backport of test_curses test skip.
R. David Murray [Tue, 3 Nov 2009 22:47:06 +0000 (22:47 +0000)]
Fix backport of test_curses test skip.

15 years agoMerged revisions 76095 via svnmerge from
Georg Brandl [Tue, 3 Nov 2009 18:35:03 +0000 (18:35 +0000)]
Merged revisions 76095 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76095 | georg.brandl | 2009-11-03 18:34:27 +0000 (Di, 03 Nov 2009) | 1 line

  #7256: add versionadded tags for functions copied from cgi.
........

15 years agoRecorded merge of revisions 76075 via svnmerge from
Georg Brandl [Tue, 3 Nov 2009 18:23:04 +0000 (18:23 +0000)]
Recorded merge of revisions 76075 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76075 | skip.montanaro | 2009-11-03 02:43:59 +0000 (Di, 03 Nov 2009) | 1 line

  typo (space-o?)
........

15 years agoMerged revisions 76086 via svnmerge from
Antoine Pitrou [Tue, 3 Nov 2009 16:43:03 +0000 (16:43 +0000)]
Merged revisions 76086 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76086 | antoine.pitrou | 2009-11-03 17:41:20 +0100 (mar., 03 nov. 2009) | 3 lines

  Try to make test_wsgiref less fragile against environment changes by other tests
........

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

........
  r76082 | mark.dickinson | 2009-11-03 16:26:14 +0000 (Tue, 03 Nov 2009) | 1 line

  Fix doc typo reported by Arfrever.
........

15 years agoIt turns out test_curses can fail in a 2.6 buildbot because stdout is not
R. David Murray [Tue, 3 Nov 2009 14:31:53 +0000 (14:31 +0000)]
It turns out test_curses can fail in a 2.6 buildbot because stdout is not
a tty in certain cases.

Merged revisions 75518 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75518 | r.david.murray | 2009-10-19 12:01:28 -0400 (Mon, 19 Oct 2009) | 3 lines

  Only run test_curses when sys.__stdout__ is a tty.  This eliminates the
  last false positive when running regrtest with -j.
........

15 years agoUnblocked revisions 75518 via svnmerge
R. David Murray [Tue, 3 Nov 2009 14:28:03 +0000 (14:28 +0000)]
Unblocked revisions 75518 via svnmerge

........
  r75518 | r.david.murray | 2009-10-19 12:01:28 -0400 (Mon, 19 Oct 2009) | 3 lines

  Only run test_curses when sys.__stdout__ is a tty.  This eliminates the
  last false positive when running regrtest with -j.
........

15 years agotypo (space-o?)
Skip Montanaro [Tue, 3 Nov 2009 02:44:50 +0000 (02:44 +0000)]
typo (space-o?)

15 years agoTry to fix test_wsgiref failures due to test_httpservers modifying the environment
Antoine Pitrou [Mon, 2 Nov 2009 22:04:54 +0000 (22:04 +0000)]
Try to fix test_wsgiref failures due to test_httpservers modifying the environment

15 years agoIssue #7249: Methods of io.BytesIO now allow `long` as well as `int` arguments.
Antoine Pitrou [Mon, 2 Nov 2009 21:03:53 +0000 (21:03 +0000)]
Issue #7249: Methods of io.BytesIO now allow `long` as well as `int` arguments.

Merged revisions 76071 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76071 | antoine.pitrou | 2009-11-02 21:47:33 +0100 (lun., 02 nov. 2009) | 4 lines

  Add acceptance of long ints to test_memoryio.py
  (in preparation for fix of #7249 in 2.6)
........

15 years agoFix broken test in test_hotshot. Treating the current directory as an
Neil Schemenauer [Mon, 2 Nov 2009 00:59:52 +0000 (00:59 +0000)]
Fix broken test in test_hotshot.  Treating the current directory as an
empty file is sloppy and non-portable.  Use NamedTemporaryFile to make
an empty file.

15 years agoMerged revisions 76042 via svnmerge from
Tarek Ziadé [Sun, 1 Nov 2009 23:17:51 +0000 (23:17 +0000)]
Merged revisions 76042 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76042 | tarek.ziade | 2009-11-01 23:33:45 +0100 (Sun, 01 Nov 2009) | 1 line

  fixed stdout alteration in test_distutils
........

15 years agoreapplied r74493 (after #6665 fix has been backported)
Tarek Ziadé [Sun, 1 Nov 2009 23:04:26 +0000 (23:04 +0000)]
reapplied r74493 (after #6665 fix has been backported)

15 years agoMerged revisions 76037 via svnmerge from
Antoine Pitrou [Sun, 1 Nov 2009 22:06:59 +0000 (22:06 +0000)]
Merged revisions 76037 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76037 | antoine.pitrou | 2009-11-01 23:02:03 +0100 (dim., 01 nov. 2009) | 3 lines

  Use a custom timeout in test_support.open_urlresource.
........

15 years agoMerged revisions 76033 via svnmerge from
Antoine Pitrou [Sun, 1 Nov 2009 21:34:42 +0000 (21:34 +0000)]
Merged revisions 76033 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76033 | antoine.pitrou | 2009-11-01 22:26:14 +0100 (dim., 01 nov. 2009) | 3 lines

  test_normalization should skip and not crash when the resource isn't available
........

15 years agoMerged revisions 74475 via svnmerge from
Gregory P. Smith [Sun, 1 Nov 2009 20:33:31 +0000 (20:33 +0000)]
Merged revisions 74475 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74475 | gregory.p.smith | 2009-08-16 11:52:58 -0700 (Sun, 16 Aug 2009) | 2 lines

  Issue 6665: Fix fnmatch to properly match filenames with newlines in them.
........

15 years agoMerged revisions 69519 via svnmerge from
Gregory P. Smith [Sun, 1 Nov 2009 20:28:48 +0000 (20:28 +0000)]
Merged revisions 69519 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r69519 | gregory.p.smith | 2009-02-11 15:45:25 -0800 (Wed, 11 Feb 2009) | 3 lines

  Issue #1008086: Fixes socket.inet_aton() to always return 4 bytes even
  on LP64 platforms (most 64-bit Linux, bsd, unix systems).
........

15 years agoFix space/tabs issue.
Raymond Hettinger [Sun, 1 Nov 2009 20:05:41 +0000 (20:05 +0000)]
Fix space/tabs issue.

15 years agoIssue 7244: Fix indentation in C code. Fix test to not sent output to stdout.
Raymond Hettinger [Sun, 1 Nov 2009 18:43:31 +0000 (18:43 +0000)]
Issue 7244:  Fix indentation in C code.  Fix test to not sent output to stdout.

15 years agoMerged revisions 76000 via svnmerge from
Gregory P. Smith [Sun, 1 Nov 2009 18:31:13 +0000 (18:31 +0000)]
Merged revisions 76000 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76000 | gregory.p.smith | 2009-10-31 14:26:08 -0700 (Sat, 31 Oct 2009) | 7 lines

  Fixes issue7208 - getpass would still allow the password to be echoed on
  Solaris due to not flushing the input buffer.

  This change also incorporates some additional getpass implementation
  suggestions for security based on an analysis of getpass.c linked to from the
  issue.
........

15 years ago(neither to 2.6)
Antoine Pitrou [Sun, 1 Nov 2009 16:17:06 +0000 (16:17 +0000)]
(neither to 2.6)

Merged revisions 76012 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76012 | antoine.pitrou | 2009-11-01 17:10:47 +0100 (dim., 01 nov. 2009) | 3 lines

  Hum, test skipping when the URL isn't reachable hadn't been applied to trunk.
........

15 years agoIssue 7244: fix exception handling in itertools.izip_longest().
Raymond Hettinger [Sun, 1 Nov 2009 08:53:21 +0000 (08:53 +0000)]
Issue 7244: fix exception handling in itertools.izip_longest().

15 years agoBlocked revisions 75995 via svnmerge
Eric Smith [Sat, 31 Oct 2009 17:07:52 +0000 (17:07 +0000)]
Blocked revisions 75995 via svnmerge

........
  r75995 | eric.smith | 2009-10-31 13:07:17 -0400 (Sat, 31 Oct 2009) | 1 line

  Improved test for a deprecation warning.
........

15 years agoBlocked revisions 75991 via svnmerge
Mark Dickinson [Sat, 31 Oct 2009 12:48:51 +0000 (12:48 +0000)]
Blocked revisions 75991 via svnmerge

........
  r75991 | mark.dickinson | 2009-10-31 12:47:47 +0000 (Sat, 31 Oct 2009) | 1 line

  Set retval on PyOS_string_to_double failure.
........

15 years agoMerged revisions 75986 via svnmerge from
Mark Dickinson [Sat, 31 Oct 2009 10:37:15 +0000 (10:37 +0000)]
Merged revisions 75986 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75986 | mark.dickinson | 2009-10-31 10:36:06 +0000 (Sat, 31 Oct 2009) | 2 lines

  Issue #7042:  Use a better mechanism for testing timers in test_signal.
........

15 years agoMerged revisions 75982 via svnmerge from
Mark Dickinson [Sat, 31 Oct 2009 10:14:33 +0000 (10:14 +0000)]
Merged revisions 75982 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75982 | mark.dickinson | 2009-10-31 10:11:28 +0000 (Sat, 31 Oct 2009) | 5 lines

  Issue #6603: Fix --with-tsc build failures on x86-64 that resulted
  from a gcc inline assembler peculiarity. (gcc's "A" constraint
  apparently means 'rax or rdx' in 64-bit mode, not edx:eax
  or rdx:rax as one might expect.)
........

15 years agoBlocked revisions 75979 via svnmerge
Mark Dickinson [Sat, 31 Oct 2009 09:43:04 +0000 (09:43 +0000)]
Blocked revisions 75979 via svnmerge

........
  r75979 | mark.dickinson | 2009-10-31 09:42:39 +0000 (Sat, 31 Oct 2009) | 1 line

  Deprecate PyOS_ascii_strtod and PyOS_ascii_atof, and document the replacement function PyOS_string_to_double.
........

15 years agoBlocked revisions 75974 via svnmerge
Mark Dickinson [Sat, 31 Oct 2009 09:28:55 +0000 (09:28 +0000)]
Blocked revisions 75974 via svnmerge

........
  r75974 | mark.dickinson | 2009-10-31 09:28:12 +0000 (Sat, 31 Oct 2009) | 1 line

  Move a Misc/NEWS entry to right section.
........

15 years agoMerged revisions 75943-75945 via svnmerge from
Mark Dickinson [Thu, 29 Oct 2009 12:16:15 +0000 (12:16 +0000)]
Merged revisions 75943-75945 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75943 | mark.dickinson | 2009-10-29 11:09:09 +0000 (Thu, 29 Oct 2009) | 1 line

  Fix duplicate test numbers in extra.decTest
........
  r75944 | mark.dickinson | 2009-10-29 12:04:00 +0000 (Thu, 29 Oct 2009) | 3 lines

  Issue #7233:  A number of two-argument Decimal methods were failing to
  accept ints and longs for the second argument.
........
  r75945 | mark.dickinson | 2009-10-29 12:11:18 +0000 (Thu, 29 Oct 2009) | 4 lines

  Issue #7233:  Fix Decimal.shift and Decimal.rotate methods for
  arguments with more digits than the current context precision.
  Bug reported by Stefan Krah.
........

15 years agoBlocked revisions 75939 via svnmerge
Mark Dickinson [Thu, 29 Oct 2009 09:55:14 +0000 (09:55 +0000)]
Blocked revisions 75939 via svnmerge

........
  r75939 | mark.dickinson | 2009-10-29 09:46:04 +0000 (Thu, 29 Oct 2009) | 5 lines

  Roll back ill-considered attempts to fix printf specifier mismatch for off_t.
  The sensible solution seems to be to implement %lld for PyString_FromFormat(V)
  and PyErr_Format.  See issue #7228.
........

15 years agoBlocked revisions 75935 via svnmerge
Lars Gustäbel [Thu, 29 Oct 2009 09:21:19 +0000 (09:21 +0000)]
Blocked revisions 75935 via svnmerge

........
  r75935 | lars.gustaebel | 2009-10-29 10:15:00 +0100 (Thu, 29 Oct 2009) | 3 lines

  Issue #4750: Store the basename of the original filename in
  the gzip FNAME header as required by RFC 1952.
........

15 years agoMerged revisions 75931 via svnmerge from
Benjamin Peterson [Thu, 29 Oct 2009 02:02:47 +0000 (02:02 +0000)]
Merged revisions 75931 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75931 | benjamin.peterson | 2009-10-28 20:49:07 -0500 (Wed, 28 Oct 2009) | 5 lines

  do a backport of r75928

  The added test does not fail without the patch, but we still fix the issue of
  surrogates being used in wide builds where they should not be.
........

15 years agoremove binary mimetype
Benjamin Peterson [Thu, 29 Oct 2009 01:57:08 +0000 (01:57 +0000)]
remove binary mimetype

15 years agoIssue 7199: Documentation made slightly more consistent w.r.t. logging level enumeration.
Vinay Sajip [Wed, 28 Oct 2009 23:28:16 +0000 (23:28 +0000)]
Issue 7199: Documentation made slightly more consistent w.r.t. logging level enumeration.

15 years agoMerged revisions 75920 via svnmerge from
R. David Murray [Wed, 28 Oct 2009 14:05:34 +0000 (14:05 +0000)]
Merged revisions 75920 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75920 | r.david.murray | 2009-10-28 10:03:43 -0400 (Wed, 28 Oct 2009) | 2 lines

  Remove variable that is no longer used.
........

15 years agoBlocked revisions 75913 via svnmerge
Eric Smith [Wed, 28 Oct 2009 08:47:31 +0000 (08:47 +0000)]
Blocked revisions 75913 via svnmerge

........
  r75913 | eric.smith | 2009-10-28 04:44:37 -0400 (Wed, 28 Oct 2009) | 1 line

  Issue 7117: Replace PyOS_ascii_strtod with PyOS_string_to_double in _json.c as part of short float repr. Change made after consulting with Bob Ippolito. This completes the removal of calls to PyOS_ascii_strtod.
........

15 years agoBlocked revisions 75909 via svnmerge
Mark Dickinson [Wed, 28 Oct 2009 07:48:08 +0000 (07:48 +0000)]
Blocked revisions 75909 via svnmerge

........
  r75909 | mark.dickinson | 2009-10-28 07:47:32 +0000 (Wed, 28 Oct 2009) | 1 line

  Fix format specifier for MSVC
........

15 years agoBlocked revisions 75905 via svnmerge
Mark Dickinson [Wed, 28 Oct 2009 07:24:20 +0000 (07:24 +0000)]
Blocked revisions 75905 via svnmerge

........
  r75905 | mark.dickinson | 2009-10-28 07:23:49 +0000 (Wed, 28 Oct 2009) | 1 line

  Replace long long with PY_LONG_LONG
........