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

15 years agoBlocked revisions 75901 via svnmerge
Tarek Ziadé [Wed, 28 Oct 2009 06:46:01 +0000 (06:46 +0000)]
Blocked revisions 75901 via svnmerge

........
  r75901 | tarek.ziade | 2009-10-28 07:45:18 +0100 (Wed, 28 Oct 2009) | 1 line

  removed spurious spaces
........

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

........
  r75528 | r.david.murray | 2009-10-19 13:53:58 -0400 (Mon, 19 Oct 2009) | 4 lines

  Clarify error report message, and don't recommend running in verbose
  mode for more information if we are already running in verbose mode.
........

15 years agoBlocked revisions 70936 via svnmerge
R. David Murray [Wed, 28 Oct 2009 02:09:26 +0000 (02:09 +0000)]
Blocked revisions 70936 via svnmerge

........
  r70936 | r.david.murray | 2009-03-31 23:21:43 -0400 (Tue, 31 Mar 2009) | 4 lines

  Fix issue 2522.  locale.format now checks that it is passed
  exactly one pattern, which avoids mysterious errors where it
  had seemed to fail to do localization.
........

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

........
  r75524 | r.david.murray | 2009-10-19 12:28:24 -0400 (Mon, 19 Oct 2009) | 6 lines

  Eliminate warning message that looks like an error message.  When it was
  added not finding Lib/test in the path indicated something was wrong,
  but when running regtest using "python -m" Lib/test isn't typically in
  the path, so this message is now more disturbing than it is helpful.
........

15 years agoMerged revisions 75301 via svnmerge from
R. David Murray [Tue, 27 Oct 2009 23:39:06 +0000 (23:39 +0000)]
Merged revisions 75301 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75301 | r.david.murray | 2009-10-09 17:50:54 -0400 (Fri, 09 Oct 2009) | 5 lines

  Issue #7082: When falling back to the MIME 'name' parameter, the
  correct place to look for it is the Content-Type header.

  Patch by Darren Worrall.
........

15 years agoBlocked revisions 75893 via svnmerge
Tarek Ziadé [Tue, 27 Oct 2009 23:07:08 +0000 (23:07 +0000)]
Blocked revisions 75893 via svnmerge

........
  r75893 | tarek.ziade | 2009-10-28 00:06:10 +0100 (Wed, 28 Oct 2009) | 1 line

  Fixed #1180: Option to ignore ~/.pydistutils.cfg in Distutils
........

15 years agoMerged revisions 75887 via svnmerge from
Georg Brandl [Tue, 27 Oct 2009 22:57:25 +0000 (22:57 +0000)]
Merged revisions 75887 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75887 | georg.brandl | 2009-10-27 23:56:09 +0100 (Di, 27 Okt 2009) | 1 line

  Make sure every run of test_intern() interns a new string, otherwise that test fails e.g. when some other test in test_builtin fails and it is rerun in verbose mode.
........

15 years agoBlocked revisions 75883 via svnmerge
Mark Dickinson [Tue, 27 Oct 2009 22:09:55 +0000 (22:09 +0000)]
Blocked revisions 75883 via svnmerge

........
  r75883 | mark.dickinson | 2009-10-27 22:09:33 +0000 (Tue, 27 Oct 2009) | 1 line

  Test long inputs to float
........

15 years agoBlocked revisions 75879 via svnmerge
Mark Dickinson [Tue, 27 Oct 2009 21:48:54 +0000 (21:48 +0000)]
Blocked revisions 75879 via svnmerge

........
  r75879 | mark.dickinson | 2009-10-27 21:48:20 +0000 (Tue, 27 Oct 2009) | 3 lines

  Silence gcc warnings when trying to print an off_t using "lld", on platforms
  where off_t has type long (e.g., 64-bit Linux).
........

15 years agoBlocked revisions 75871 via svnmerge
Tarek Ziadé [Tue, 27 Oct 2009 21:22:06 +0000 (21:22 +0000)]
Blocked revisions 75871 via svnmerge

........
  r75871 | tarek.ziade | 2009-10-27 22:20:27 +0100 (Tue, 27 Oct 2009) | 1 line

  Issue #7218: Fix test_site for win32
........

15 years agoCreate the function before using it.
Georg Brandl [Tue, 27 Oct 2009 20:13:06 +0000 (20:13 +0000)]
Create the function before using it.

15 years agoBlocked revisions 75846 via svnmerge
Eric Smith [Tue, 27 Oct 2009 19:44:40 +0000 (19:44 +0000)]
Blocked revisions 75846 via svnmerge

........
  r75846 | eric.smith | 2009-10-27 15:42:57 -0400 (Tue, 27 Oct 2009) | 1 line

  Removed PyOS_ascii_atof from marshal.c, as mentioned in issue 7117. Also brings it more in line with py3k.
........

15 years agoBlocked revisions 75824 via svnmerge
Eric Smith [Tue, 27 Oct 2009 19:08:30 +0000 (19:08 +0000)]
Blocked revisions 75824 via svnmerge

........
  r75824 | eric.smith | 2009-10-27 14:33:14 -0400 (Tue, 27 Oct 2009) | 1 line

  Removed PyOS_ascii_atof from ast.c, as mentioned in issue 7117.
........

15 years agoBlocked revisions 75651,75653,75658,75660,75664,75666,75672,75720,75730-75731,75739...
Mark Dickinson [Tue, 27 Oct 2009 18:50:50 +0000 (18:50 +0000)]
Blocked revisions 75651,75653,75658,75660,75664,75666,75672,75720,75730-75731,75739 via svnmerge

........
  r75651 | mark.dickinson | 2009-10-24 13:13:30 +0100 (Sat, 24 Oct 2009) | 7 lines

  Issue #7117: Prepare for backport of py3k float repr.
  Add the Python/dtoa.c file containing the main algorithms;
  add corresponding include file and include in Python.h;
  include license information for Python/dtoa.c;
  add dtoa.c and dtoa.h to Makefile.
........
  r75653 | mark.dickinson | 2009-10-24 13:17:24 +0100 (Sat, 24 Oct 2009) | 1 line

  Temporary define to avoid build failure
........
  r75658 | mark.dickinson | 2009-10-24 14:28:38 +0100 (Sat, 24 Oct 2009) | 8 lines

  Issue #7117 (backport py3k float repr) continued:
   - add double endianness detection to configure script
   - add configure-time check to see whether we can use inline
     assembly to get and set x87 control word in configure script
   - add functions to get and set x87 control word in Python/pymath.c
   - add pyport.h logic to determine whether it's safe to use the
     short float repr or not
........
  r75660 | mark.dickinson | 2009-10-24 14:31:41 +0100 (Sat, 24 Oct 2009) | 1 line

  Remove temporary define from r75653
........
  r75664 | mark.dickinson | 2009-10-24 14:44:16 +0100 (Sat, 24 Oct 2009) | 1 line

  Configure check for double rounding should take BASECFLAGS into account
........
  r75666 | mark.dickinson | 2009-10-24 15:01:08 +0100 (Sat, 24 Oct 2009) | 4 lines

  Issue #7117 (backport py3k float repr) continued:
  Add sys.float_repr_style attribute ('short' if short float
  repr is in used;  'legacy' otherwise).
........
  r75672 | mark.dickinson | 2009-10-24 16:54:35 +0100 (Sat, 24 Oct 2009) | 4 lines

  Issue #7117:  temporarily disable the short float repr while the
  pieces are being assembled.  To re-enable, define the preprocessor
  symbol PY_SHORT_FLOAT_REPR
........
  r75720 | mark.dickinson | 2009-10-26 15:39:50 +0000 (Mon, 26 Oct 2009) | 3 lines

  Issue #7117 (backport py3k float repr) continued:
  Backport pystrtod.c from py3k.
........
  r75730 | mark.dickinson | 2009-10-26 21:09:09 +0000 (Mon, 26 Oct 2009) | 2 lines

  Issue #7117:  Backport missing pystrtod.h declarations from py3k.
........
  r75731 | mark.dickinson | 2009-10-26 21:11:20 +0000 (Mon, 26 Oct 2009) | 4 lines

  Issue #7117: Use PyOS_string_to_double instead of PyOS_ascii_strtod in
  floatobject.c.  Also, remove limitation on length of unicode inputs to
  float().
........
  r75739 | mark.dickinson | 2009-10-26 22:28:14 +0000 (Mon, 26 Oct 2009) | 5 lines

  Issue #7117: Use PyOS_string_to_double instead of PyOS_ascii_strtod in
  complexobject.c.  Also remove length restriction on unicode inputs to
  the complex constructor.
........

15 years agoBlocked revisions 75728 via svnmerge
Mark Dickinson [Tue, 27 Oct 2009 18:42:04 +0000 (18:42 +0000)]
Blocked revisions 75728 via svnmerge

........
  r75728 | mark.dickinson | 2009-10-26 19:59:23 +0000 (Mon, 26 Oct 2009) | 3 lines

  Use correct conversion specifier and length modifier when printing an
  integer of type off_t.  Also, don't assume that long long is available.
........

15 years agoBlocked revisions 75714 via svnmerge
Mark Dickinson [Tue, 27 Oct 2009 18:39:14 +0000 (18:39 +0000)]
Blocked revisions 75714 via svnmerge

........
  r75714 | mark.dickinson | 2009-10-26 14:18:44 +0000 (Mon, 26 Oct 2009) | 1 line

  Warn against replacing PyNumber_Add with PyNumber_InPlaceAdd in sum
........

15 years agoBlocked revisions 75711 via svnmerge
Mark Dickinson [Tue, 27 Oct 2009 18:38:17 +0000 (18:38 +0000)]
Blocked revisions 75711 via svnmerge

........
  r75711 | mark.dickinson | 2009-10-26 11:59:30 +0000 (Mon, 26 Oct 2009) | 1 line

  Skip readline tests if readline module is not available.
........