]> granicus.if.org Git - python/log
python
14 years agoMerged revisions 80534 via svnmerge from
Antoine Pitrou [Tue, 27 Apr 2010 13:14:50 +0000 (13:14 +0000)]
Merged revisions 80534 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r80534 | antoine.pitrou | 2010-04-27 15:13:26 +0200 (mar., 27 avril 2010) | 3 lines

  socket.error can really happen here, and fix a possible NameError
........

14 years agoMerged revisions 80529 via svnmerge from
Antoine Pitrou [Tue, 27 Apr 2010 10:41:42 +0000 (10:41 +0000)]
Merged revisions 80529 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r80529 | antoine.pitrou | 2010-04-27 12:32:58 +0200 (mar., 27 avril 2010) | 4 lines

  Qualify or remove or bare excepts.  Simplify exception handling in places.
  Remove uses of test_support.TestFailed.
........

14 years agoMerged revisions 80526 via svnmerge from
Antoine Pitrou [Tue, 27 Apr 2010 09:54:14 +0000 (09:54 +0000)]
Merged revisions 80526 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r80526 | antoine.pitrou | 2010-04-27 11:51:18 +0200 (mar., 27 avril 2010) | 5 lines

  replace custom code with standard library functionality (HTTPServer.shutdown())
  + enable test that was never run (!)
  + make tests faster by lowering polling timeout
........

14 years agoMerged revisions 80522 via svnmerge from
Antoine Pitrou [Tue, 27 Apr 2010 08:43:11 +0000 (08:43 +0000)]
Merged revisions 80522 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r80522 | antoine.pitrou | 2010-04-27 10:40:51 +0200 (mar., 27 avril 2010) | 3 lines

  Remove uses of find_unused_port() in test_ssl, and small cleanups
........

14 years agoMerged revisions 80507 via svnmerge from
Antoine Pitrou [Mon, 26 Apr 2010 17:28:35 +0000 (17:28 +0000)]
Merged revisions 80507 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r80507 | antoine.pitrou | 2010-04-26 19:23:33 +0200 (lun., 26 avril 2010) | 4 lines

  When calling getpeername() in SSLSocket.__init__, only silence exceptions
  caused by the "socket not connected" condition.
........

14 years agoBlocked revisions 80503 via svnmerge
R. David Murray [Mon, 26 Apr 2010 17:01:55 +0000 (17:01 +0000)]
Blocked revisions 80503 via svnmerge

........
  r80503 | r.david.murray | 2010-04-26 12:54:57 -0400 (Mon, 26 Apr 2010) | 2 lines

  Issue 8325: Improve regrtest --help text.
........

14 years agoMerged revisions 80480 via svnmerge from
Antoine Pitrou [Sun, 25 Apr 2010 22:09:32 +0000 (22:09 +0000)]
Merged revisions 80480 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r80480 | antoine.pitrou | 2010-04-25 23:15:50 +0200 (dim., 25 avril 2010) | 3 lines

  Replace a Lock with a better suited Event.
........

14 years agoMerged revisions 80484 via svnmerge from
Antoine Pitrou [Sun, 25 Apr 2010 21:55:45 +0000 (21:55 +0000)]
Merged revisions 80484 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r80484 | antoine.pitrou | 2010-04-25 23:40:32 +0200 (dim., 25 avril 2010) | 6 lines

  Issue #2302: Fix a race condition in SocketServer.BaseServer.shutdown,
  where the method could block indefinitely if called just before the
  event loop started running.  This also fixes the occasional freezes
  witnessed in test_httpservers.
........

14 years agoBlocked revisions 80166,80189,80288 via svnmerge
Victor Stinner [Sun, 25 Apr 2010 21:23:29 +0000 (21:23 +0000)]
Blocked revisions 80166,80189,80288 via svnmerge

........
  r80166 | victor.stinner | 2010-04-18 11:07:49 +0200 (dim., 18 avril 2010) | 7 lines

  platform: use subprocess.Popen() instead of os.popen() in _syscmd_file()

   * Popen() avoids ugly shell escape: target.replace('"', '\\"')
   * Use proc.communicate() instead of f.stdout.read()
   * Get output from stdout by splitting with ": " instead of splitting by spaces
     to support filename with spaces
........
  r80189 | victor.stinner | 2010-04-18 20:22:25 +0200 (dim., 18 avril 2010) | 1 line

  Revert r80166 (and r80171), restore Lib/platform.py. subprocess cannot be used in platform.py
........
  r80288 | victor.stinner | 2010-04-21 00:28:31 +0200 (mer., 21 avril 2010) | 2 lines

  Issue #8437: Fix test_gdb failures, patch written by Dave Malcolm
........

14 years agoMerged revisions 80465-80470 via svnmerge from
Georg Brandl [Sun, 25 Apr 2010 17:15:51 +0000 (17:15 +0000)]
Merged revisions 80465-80470 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r80465 | georg.brandl | 2010-04-25 12:29:17 +0200 (So, 25 Apr 2010) | 1 line

  Remove LaTeXy index entry syntax.
........
  r80466 | georg.brandl | 2010-04-25 12:54:42 +0200 (So, 25 Apr 2010) | 1 line

  Patch from Tim Hatch: Better cross-referencing in socket and winreg docs.
........
  r80467 | georg.brandl | 2010-04-25 12:55:16 +0200 (So, 25 Apr 2010) | 1 line

  Patch from Tim Hatch: Remove reference to winreg being the fabled high-level registry interface.
........
  r80468 | georg.brandl | 2010-04-25 12:55:58 +0200 (So, 25 Apr 2010) | 1 line

  Patch from Tim Hatch: Minor spelling changes to _winreg docs.
........
  r80469 | georg.brandl | 2010-04-25 12:56:41 +0200 (So, 25 Apr 2010) | 1 line

  Fix code example to have valid syntax so that it can be highlighted.
........
  r80470 | georg.brandl | 2010-04-25 12:57:15 +0200 (So, 25 Apr 2010) | 1 line

  Patch from Tim Hatch: Make socket setblocking <-> settimeout examples symmetric.
........

14 years agoMerged revisions 80461 via svnmerge from
Georg Brandl [Sun, 25 Apr 2010 10:18:59 +0000 (10:18 +0000)]
Merged revisions 80461 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r80461 | georg.brandl | 2010-04-25 12:17:27 +0200 (So, 25 Apr 2010) | 1 line

  #8522: use with statement instead of try-finally for file handling.
........

14 years agoMerged revisions 80451-80452 via svnmerge from
Antoine Pitrou [Sat, 24 Apr 2010 20:13:37 +0000 (20:13 +0000)]
Merged revisions 80451-80452 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r80451 | antoine.pitrou | 2010-04-24 21:57:01 +0200 (sam., 24 avril 2010) | 4 lines

  The do_handshake() method of SSL objects now adjusts the blocking mode of
  the SSL structure if necessary (as other methods already do).
........
  r80452 | antoine.pitrou | 2010-04-24 22:04:58 +0200 (sam., 24 avril 2010) | 4 lines

  Issue #5103: SSL handshake would ignore the socket timeout and block
  indefinitely if the other end didn't respond.
........

14 years agoBackport fix of #5774 (only OpenKey applies here).
Brian Curtin [Sat, 24 Apr 2010 17:14:35 +0000 (17:14 +0000)]
Backport fix of #5774 (only OpenKey applies here).

14 years agoMerged revisions 80439 via svnmerge from
Brian Curtin [Sat, 24 Apr 2010 15:59:50 +0000 (15:59 +0000)]
Merged revisions 80439 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r80439 | brian.curtin | 2010-04-24 10:40:11 -0500 (Sat, 24 Apr 2010) | 6 lines

  Fix #7838. Add docstrings and privatize _subprocess implementation details.

  Since CREATE_NEW_* are used for the creation flags of a subprocess, they
  were added to __all__. The rest of the previously exposed attributes are
  now qualified by _subprocess.ATTR rather than importing *.
........

14 years agoMerged revisions 80150 via svnmerge from
Georg Brandl [Sat, 24 Apr 2010 13:04:12 +0000 (13:04 +0000)]
Merged revisions 80150 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r80150 | r.david.murray | 2010-04-17 17:45:38 +0200 (Sa, 17 Apr 2010) | 2 lines

  Update link to Apple Publication Style guide.
........

14 years agoMerged revisions 80434 via svnmerge from
Antoine Pitrou [Sat, 24 Apr 2010 11:09:52 +0000 (11:09 +0000)]
Merged revisions 80434 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r80434 | antoine.pitrou | 2010-04-24 12:43:57 +0200 (sam., 24 avril 2010) | 5 lines

  Make test_makefile_close a networked test (can't read() from a non-connected
  socket under OS X), and skip it under Windows (where sockets can't be read()
  from using their fds).
........

14 years agoMerged revisions 80428 via svnmerge from
Antoine Pitrou [Fri, 23 Apr 2010 23:35:01 +0000 (23:35 +0000)]
Merged revisions 80428 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r80428 | antoine.pitrou | 2010-04-24 01:25:45 +0200 (sam., 24 avril 2010) | 4 lines

  Issue #5238: Calling makefile() on an SSL object would prevent the
  underlying socket from being closed until all objects get truely destroyed.
........

14 years agoMerged revisions 80423 via svnmerge from
Antoine Pitrou [Fri, 23 Apr 2010 23:07:37 +0000 (23:07 +0000)]
Merged revisions 80423 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r80423 | antoine.pitrou | 2010-04-24 00:54:59 +0200 (sam., 24 avril 2010) | 4 lines

  Issue #7943: Fix circular reference created when instantiating an SSL
  socket.  Initial patch by Péter Szabó.
........

14 years agoMerged revisions 80392 via svnmerge from
Antoine Pitrou [Fri, 23 Apr 2010 21:07:58 +0000 (21:07 +0000)]
Merged revisions 80392 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r80392 | antoine.pitrou | 2010-04-23 01:33:02 +0200 (ven., 23 avril 2010) | 9 lines

  Issue #8108: Fix the unwrap() method of SSL objects when the socket has
  a non-infinite timeout.  Also make that method friendlier with applications
  wanting to continue using the socket in clear-text mode, by disabling
  OpenSSL's internal readahead.  Thanks to Darryl Miles for guidance.

  Issue #8108: test_ftplib's non-blocking SSL server now has proper handling
  of SSL shutdowns.
........

14 years agoMerged revisions 80388 via svnmerge from
Georg Brandl [Thu, 22 Apr 2010 23:19:41 +0000 (23:19 +0000)]
Merged revisions 80388 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r80388 | georg.brandl | 2010-04-23 00:15:33 +0200 (Fr, 23 Apr 2010) | 1 line

  Add "report a bug" links in some prominent places.  Make it clear that doc bugs can be mailed to docs@python.org.  Clarify tracker usage.
........

14 years agoMerged revisions 80375 via svnmerge from
Antoine Pitrou [Thu, 22 Apr 2010 18:42:58 +0000 (18:42 +0000)]
Merged revisions 80375 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r80375 | antoine.pitrou | 2010-04-22 20:00:41 +0200 (jeu., 22 avril 2010) | 3 lines

  Skip test on old versions of OpenSSL
........

14 years agoMerged revisions 80355 via svnmerge from
Martin v. Löwis [Thu, 22 Apr 2010 13:15:47 +0000 (13:15 +0000)]
Merged revisions 80355 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r80355 | martin.v.loewis | 2010-04-22 13:34:36 +0200 (Do, 22 Apr 2010) | 3 lines

  Issue #8475: Pass absolute interpreter path to
  "make html".
........

14 years agoMerged revisions 80357 via svnmerge from
Ezio Melotti [Thu, 22 Apr 2010 11:55:07 +0000 (11:55 +0000)]
Merged revisions 80357 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r80357 | ezio.melotti | 2010-04-22 14:53:21 +0300 (Thu, 22 Apr 2010) | 1 line

  Rephrase comment.
........

14 years agoMerged revisions 80350 via svnmerge from
Ezio Melotti [Thu, 22 Apr 2010 11:26:43 +0000 (11:26 +0000)]
Merged revisions 80350 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r80350 | ezio.melotti | 2010-04-22 14:23:31 +0300 (Thu, 22 Apr 2010) | 1 line

  #8474: fix duplicated test in test_email.
........

14 years agoIPv6 parsing is not present in this branch. Removing the reference from the module...
Senthil Kumaran [Thu, 22 Apr 2010 06:07:30 +0000 (06:07 +0000)]
IPv6 parsing is not present in this branch. Removing the reference from the module docstring.

14 years agoMerged revisions 80336 via svnmerge from
Senthil Kumaran [Thu, 22 Apr 2010 05:56:45 +0000 (05:56 +0000)]
Merged revisions 80336 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r80336 | senthil.kumaran | 2010-04-22 11:18:35 +0530 (Thu, 22 Apr 2010) | 3 lines

  Updated the RFCs list in the See Also section of urlparse.rst
........

14 years agoBlocked revisions 80155 via svnmerge
R. David Murray [Thu, 22 Apr 2010 00:49:17 +0000 (00:49 +0000)]
Blocked revisions 80155 via svnmerge

........
  r80155 | r.david.murray | 2010-04-17 17:59:26 -0400 (Sat, 17 Apr 2010) | 5 lines

  Issue #8263: On freebsd6 the unittest 'break' test stops regrtest; skip it.

  This is presumably related to issue 3864, and appears to be due
  to a platform bug on freebsd6.
........

14 years agoMerged revisions 80314-80315 via svnmerge from
Antoine Pitrou [Wed, 21 Apr 2010 19:41:28 +0000 (19:41 +0000)]
Merged revisions 80314-80315 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r80314 | antoine.pitrou | 2010-04-21 21:28:03 +0200 (mer., 21 avril 2010) | 5 lines

  Issue #8484: Load all ciphers and digest algorithms when initializing
  the _ssl extension, such that verification of some SSL certificates
  doesn't fail because of an "unknown algorithm".
........
  r80315 | antoine.pitrou | 2010-04-21 21:36:23 +0200 (mer., 21 avril 2010) | 3 lines

  Forgot to add the sample certificate (followup to r80314)
........

14 years agoBlocked revisions 80306 via svnmerge
Tarek Ziadé [Wed, 21 Apr 2010 13:34:12 +0000 (13:34 +0000)]
Blocked revisions 80306 via svnmerge

........
  r80306 | tarek.ziade | 2010-04-21 15:32:26 +0200 (Wed, 21 Apr 2010) | 1 line

  shutil: removed unused import and fixed attributes names in _call_external_zip
........

14 years agoBlocked revisions 80282 via svnmerge
Tarek Ziadé [Wed, 21 Apr 2010 13:33:37 +0000 (13:33 +0000)]
Blocked revisions 80282 via svnmerge

........
  r80282 | tarek.ziade | 2010-04-20 23:09:06 +0200 (Tue, 20 Apr 2010) | 1 line

  removed ztar support in shutil.make_archive
........

14 years agoMerged revisions 80144 via svnmerge from
R. David Murray [Wed, 21 Apr 2010 01:41:41 +0000 (01:41 +0000)]
Merged revisions 80144 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r80144 | r.david.murray | 2010-04-17 01:26:26 -0400 (Sat, 17 Apr 2010) | 8 lines

  Issue #3864: Skip three test_signal tests on freebsd6 due to platform bug.

  Two itimer tests and an interprocess signal test fail on FreeBSD 6 if
  any test that starts a thread runs before test_signal.  Since FreeBSD7
  does not show this behavior, the bug is most likely a platform bug,
  so this patch just skips the failing tests on freebsd6.
........

14 years agoskip this test on windows, too #8459
Benjamin Peterson [Tue, 20 Apr 2010 21:02:36 +0000 (21:02 +0000)]
skip this test on windows, too #8459

14 years agoMerged revisions 80270 via svnmerge from
Ezio Melotti [Tue, 20 Apr 2010 16:56:44 +0000 (16:56 +0000)]
Merged revisions 80270 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r80270 | ezio.melotti | 2010-04-20 19:49:48 +0300 (Tue, 20 Apr 2010) | 1 line

  #8472: fix wrong function name in functions.rst: itertools.filterfalse -> itertools.ifilterfalse
........

14 years agoEnsure framework actually installs after earlier
Ronald Oussoren [Tue, 20 Apr 2010 15:34:43 +0000 (15:34 +0000)]
Ensure framework actually installs after earlier
changes to CFLAGS and BASECFLAGS handling

14 years agoMerged revisions 80082 via svnmerge from
Ezio Melotti [Tue, 20 Apr 2010 10:43:38 +0000 (10:43 +0000)]
Merged revisions 80082 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r80082 | georg.brandl | 2010-04-15 00:36:49 +0300 (Thu, 15 Apr 2010) | 1 line

  #8370: fix module name in backported doc addition.
........

14 years agoMerged revisions 80243 via svnmerge from
Ronald Oussoren [Tue, 20 Apr 2010 09:57:18 +0000 (09:57 +0000)]
Merged revisions 80243 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r80243 | ronald.oussoren | 2010-04-20 10:54:48 +0200 (Tue, 20 Apr 2010) | 3 lines

  This patch fixes the handling of a weak-linked
  variable and should fix issue #8095.
........

14 years agoMerged revisions 80238 via svnmerge from
Stefan Krah [Tue, 20 Apr 2010 08:07:08 +0000 (08:07 +0000)]
Merged revisions 80238 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r80238 | stefan.krah | 2010-04-20 09:59:10 +0200 (Tue, 20 Apr 2010) | 9 lines

  1) The timeout in the itimer tests was too low for slow or heavily
     loaded machines.

  2) Even with the increased timeout, the OS does not guarantee that
     a process will get a certain amount of virtual time in 60s, so
     the failure is changed to a diagnostic.
........

14 years agoMerged revisions 80236 via svnmerge from
Senthil Kumaran [Tue, 20 Apr 2010 07:06:45 +0000 (07:06 +0000)]
Merged revisions 80236 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r80236 | senthil.kumaran | 2010-04-20 12:24:59 +0530 (Tue, 20 Apr 2010) | 3 lines

  Fix Issue8460: Victor's patch to add timeout in test_urllib2net test_urls.
........

14 years agoMerged revisions 80232 via svnmerge from
Ronald Oussoren [Tue, 20 Apr 2010 06:37:38 +0000 (06:37 +0000)]
Merged revisions 80232 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r80232 | ronald.oussoren | 2010-04-20 07:50:44 +0200 (Tue, 20 Apr 2010) | 3 lines

  Explicitly set system default for $PATH to
  ensure we have a clean build environment (OSX installer)
........

14 years agoMerged revisions 80226 via svnmerge from
Giampaolo Rodolà [Mon, 19 Apr 2010 21:56:45 +0000 (21:56 +0000)]
Merged revisions 80226 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r80226 | giampaolo.rodola | 2010-04-19 23:46:28 +0200 (lun, 19 apr 2010) | 1 line

  Fix Issue #4841: timeout is now applied for connections resulting from PORT/EPRT commands
........

14 years agoBlocked revisions 80221 via svnmerge
Tarek Ziadé [Mon, 19 Apr 2010 21:29:45 +0000 (21:29 +0000)]
Blocked revisions 80221 via svnmerge

........
  r80221 | tarek.ziade | 2010-04-19 23:28:21 +0200 (Mon, 19 Apr 2010) | 1 line

  Fixed #8463: added missing reference to bztar in shutil's documentation.
........

14 years agoBlocked revisions 80218 via svnmerge
Tarek Ziadé [Mon, 19 Apr 2010 21:29:12 +0000 (21:29 +0000)]
Blocked revisions 80218 via svnmerge

........
  r80218 | tarek.ziade | 2010-04-19 23:13:03 +0200 (Mon, 19 Apr 2010) | 1 line

  few pep8 fixes
........

14 years agoBlocked revisions 80215 via svnmerge
Antoine Pitrou [Mon, 19 Apr 2010 19:38:16 +0000 (19:38 +0000)]
Blocked revisions 80215 via svnmerge

........
  r80215 | antoine.pitrou | 2010-04-19 20:52:43 +0200 (lun., 19 avril 2010) | 4 lines

  Issue #8438: Remove reference to the missing "surrogateescape" encoding
  error handler from the new IO library.
........

14 years ago(I hope) last try to fix test_winsound (skip tests)
Victor Stinner [Mon, 19 Apr 2010 16:03:48 +0000 (16:03 +0000)]
(I hope) last try to fix test_winsound (skip tests)

Remove print, it produces "unexpected output" and the test fails :-/

14 years agotest_winsound: new try to skip the tests. In Python 2.6, TestSkipped is used to
Victor Stinner [Mon, 19 Apr 2010 15:18:07 +0000 (15:18 +0000)]
test_winsound: new try to skip the tests. In Python 2.6, TestSkipped is used to
skip the whole file, not a particular function.

14 years agoOops, unittest has no SkipTest exception. I understood the original change:
Victor Stinner [Mon, 19 Apr 2010 12:20:14 +0000 (12:20 +0000)]
Oops, unittest has no SkipTest exception. I understood the original change:
replace unittest.SkipTest by TestSkipped.

14 years agoFix r80029 (backport of r80026), test_winsound: Python 2.6 has no
Victor Stinner [Mon, 19 Apr 2010 12:14:14 +0000 (12:14 +0000)]
Fix r80029 (backport of r80026), test_winsound: Python 2.6 has no
unittest.skipUnless(). Use raise test_support.TestSkipped() instead.

14 years agoFix r80180 (backport of r80178): SkipTest => unittest.SkipTest in test_locale
Victor Stinner [Mon, 19 Apr 2010 11:50:08 +0000 (11:50 +0000)]
Fix r80180 (backport of r80178): SkipTest => unittest.SkipTest in test_locale

The original commit (r80178) was correct. The bug was introduced during the
backport, funny :-)

14 years agoIssue 8436: set.__init__ accepts keyword args
Raymond Hettinger [Sun, 18 Apr 2010 22:59:34 +0000 (22:59 +0000)]
Issue 8436: set.__init__ accepts keyword args

14 years agoFix for issue #8175: ensure that configure --with-universal-archs=all
Ronald Oussoren [Sun, 18 Apr 2010 19:14:06 +0000 (19:14 +0000)]
Fix for issue #8175: ensure that configure --with-universal-archs=all
works on osx 10.5

14 years agoMerged revisions 80187 via svnmerge from
Ronald Oussoren [Sun, 18 Apr 2010 18:21:03 +0000 (18:21 +0000)]
Merged revisions 80187 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r80187 | ronald.oussoren | 2010-04-18 19:59:37 +0200 (Sun, 18 Apr 2010) | 6 lines

  Add the OSX universal binary related options
  to CFLAGS instead of BASECFLAGS.

  This fixes issue 8366 and is needed due to
  changes introduced in the fix for issue 1628484.
........

Also: force usage of gcc-4.0 when building using the 10.4 SDK,
this is needed to avoid compile errors when building on OSX 10.6
(and is already in the trunk)

14 years agoMerged revisions 80179 via svnmerge from
Ronald Oussoren [Sun, 18 Apr 2010 15:23:23 +0000 (15:23 +0000)]
Merged revisions 80179 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r80179 | ronald.oussoren | 2010-04-18 16:01:05 +0200 (Sun, 18 Apr 2010) | 5 lines

  Add check to build-installer.py to ensure that
  the right version of Tcl/Tk is available (on OSX)

  Fixes issue #5651
........

14 years agoMerged revisions 80178 via svnmerge from
Ronald Oussoren [Sun, 18 Apr 2010 14:34:22 +0000 (14:34 +0000)]
Merged revisions 80178 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r80178 | ronald.oussoren | 2010-04-18 15:47:49 +0200 (Sun, 18 Apr 2010) | 2 lines

  Fix for issue #7072
........

14 years agoMoved entry in Misc/NEWS which was inserted in the wrong place.
Giampaolo Rodolà [Sun, 18 Apr 2010 13:19:16 +0000 (13:19 +0000)]
Moved entry in Misc/NEWS which was inserted in the wrong place.

14 years agoMerged revisions 80172 via svnmerge from
Giampaolo Rodolà [Sun, 18 Apr 2010 13:13:54 +0000 (13:13 +0000)]
Merged revisions 80172 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r80172 | giampaolo.rodola | 2010-04-18 14:55:03 +0200 (dom, 18 apr 2010) | 1 line

  Fix Issue #3817: 225 is now considered a valid response code for ABOR
........

14 years agoRemove link to nonexisting target.
Georg Brandl [Sun, 18 Apr 2010 09:46:52 +0000 (09:46 +0000)]
Remove link to nonexisting target.

14 years agoMerged revisions 80030 via svnmerge from
Georg Brandl [Sun, 18 Apr 2010 09:31:55 +0000 (09:31 +0000)]
Merged revisions 80030 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r80030 | georg.brandl | 2010-04-13 08:43:54 +0200 (Di, 13 Apr 2010) | 1 line

  Get rid of multi-row cells.
........

14 years agoMerged revisions 80146 via svnmerge from
Senthil Kumaran [Sat, 17 Apr 2010 14:33:55 +0000 (14:33 +0000)]
Merged revisions 80146 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r80146 | senthil.kumaran | 2010-04-17 20:00:53 +0530 (Sat, 17 Apr 2010) | 3 lines

  Fix Issue5650 - Update the RFC List in the urlparse module.
........

14 years agoMerged revisions 80129 via svnmerge from
Benjamin Peterson [Fri, 16 Apr 2010 23:00:54 +0000 (23:00 +0000)]
Merged revisions 80129 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r80129 | benjamin.peterson | 2010-04-16 17:52:44 -0500 (Fri, 16 Apr 2010) | 1 line

  tiny simplification
........

14 years agoMerged revisions 80123-80124,80126 via svnmerge from
Benjamin Peterson [Fri, 16 Apr 2010 22:43:53 +0000 (22:43 +0000)]
Merged revisions 80123-80124,80126 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r80123 | benjamin.peterson | 2010-04-16 17:24:16 -0500 (Fri, 16 Apr 2010) | 1 line

  bytearray -> type2test
........
  r80124 | benjamin.peterson | 2010-04-16 17:25:57 -0500 (Fri, 16 Apr 2010) | 1 line

  fix typo
........
  r80126 | benjamin.peterson | 2010-04-16 17:35:38 -0500 (Fri, 16 Apr 2010) | 1 line

  have a clear error when passing something > sys.maxsize to bytearray
........

14 years agoMerged revisions 80062 via svnmerge from
R. David Murray [Tue, 13 Apr 2010 21:05:24 +0000 (21:05 +0000)]
Merged revisions 80062 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r80062 | r.david.murray | 2010-04-13 16:57:40 -0400 (Tue, 13 Apr 2010) | 2 lines

  Issue #5277: Fix quote counting when parsing RFC 2231 encoded parameters.
........

14 years agoBlocked revisions 80035 via svnmerge
Mark Dickinson [Tue, 13 Apr 2010 11:50:59 +0000 (11:50 +0000)]
Blocked revisions 80035 via svnmerge

........
  r80035 | mark.dickinson | 2010-04-13 12:37:23 +0100 (Tue, 13 Apr 2010) | 1 line

  In test_winsound, don't try to import _winreg until after checking that winsound is supported.
........

14 years agoMerged revisions 80026 via svnmerge from
Brian Curtin [Tue, 13 Apr 2010 02:39:59 +0000 (02:39 +0000)]
Merged revisions 80026 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r80026 | brian.curtin | 2010-04-12 21:25:20 -0500 (Mon, 12 Apr 2010) | 4 lines

  Fix #7306. Add skips to test_winsound when no default sound is configured.

  These failures occur on a Windows Server 2003 machine I test on.
........

14 years agoMerged revisions 79875 via svnmerge from
Mark Dickinson [Mon, 12 Apr 2010 18:43:56 +0000 (18:43 +0000)]
Merged revisions 79875 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79875 | mark.dickinson | 2010-04-06 23:18:23 +0100 (Tue, 06 Apr 2010) | 1 line

  More NaN consistency doc fixes.
........

14 years agoBlocked revisions 80004 via svnmerge
R. David Murray [Mon, 12 Apr 2010 16:40:20 +0000 (16:40 +0000)]
Blocked revisions 80004 via svnmerge

........
  r80004 | r.david.murray | 2010-04-12 12:35:19 -0400 (Mon, 12 Apr 2010) | 13 lines

  Issue #7585: use tab between components in unified and context diff headers.

  Instead of spaces between the filename and date (or whatever the string
  is that follows the filename, if any) use tabs.  This is what the unix
  'diff' command does, for example, and difflib was intended to follow
  the 'standard' way of doing diffs.  This improves compatibility with
  patch tools.  The docs and examples are also changed to recommended that
  the date format used be the ISO 8601 format, which is what modern diff
  tools emit by default.

  Patch by Anatoly Techtonik.
........

14 years agoMerged revisions 80000 via svnmerge from
Stefan Krah [Mon, 12 Apr 2010 15:29:47 +0000 (15:29 +0000)]
Merged revisions 80000 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r80000 | stefan.krah | 2010-04-12 17:21:25 +0200 (Mon, 12 Apr 2010) | 3 lines

  Issue #8367: Fix spurious test failure on systems without a sound card.
........

14 years agoMerged revisions 79988 via svnmerge from
Senthil Kumaran [Mon, 12 Apr 2010 06:56:24 +0000 (06:56 +0000)]
Merged revisions 79988 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79988 | senthil.kumaran | 2010-04-12 12:20:24 +0530 (Mon, 12 Apr 2010) | 3 lines

  Adding additional examples of valid urls as per RFC 3986 (for issue8339)
........

14 years agoMerged revisions 79982 via svnmerge from
Antoine Pitrou [Mon, 12 Apr 2010 00:19:32 +0000 (00:19 +0000)]
Merged revisions 79982 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79982 | antoine.pitrou | 2010-04-12 02:10:46 +0200 (lun., 12 avril 2010) | 8 lines

  It is possible to add extra testing options using EXTRATESTOPTS.
  When such extra options include "-x testname", subsequent arguments
  are all taken as test names to ignore. Therefore, standard options
  must be passed before *TESTOPTS.

  (witnessed on the ARM buildbots)
........

14 years agoMerged revisions 79954 via svnmerge from
Stefan Krah [Sun, 11 Apr 2010 16:36:10 +0000 (16:36 +0000)]
Merged revisions 79954 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79954 | stefan.krah | 2010-04-11 17:15:54 +0200 (Sun, 11 Apr 2010) | 17 lines

  Fix for issues #3581, #1481 and #7650:

  1. The assumptions in check_node() were too restrictive:

       - Hardware addresses with universal_local_bit=1 are valid
         (locally administered).

       - Many of the tested functions (including uuid.getnode())
         may return valid RFC 4122 random node IDs. These are pretty
         much random 48-bit values with the multicast bit set to 1.

  2. _unixdll_getnode() calls _uuid_generate_time(), which may be None
     on some platforms. The resulting TypeError is now caught.
........

14 years agoAdd descriptor howto to main documentation
Raymond Hettinger [Sun, 11 Apr 2010 08:17:32 +0000 (08:17 +0000)]
Add descriptor howto to main documentation

14 years agoAdd the sorting HOWTO to the main docs.
Raymond Hettinger [Sun, 11 Apr 2010 00:03:33 +0000 (00:03 +0000)]
Add the sorting HOWTO to the main docs.

14 years agoFixup new itertools recipes.
Raymond Hettinger [Sat, 10 Apr 2010 06:51:41 +0000 (06:51 +0000)]
Fixup new itertools recipes.

14 years agoMerged revisions 79910 via svnmerge from
Antoine Pitrou [Fri, 9 Apr 2010 20:44:09 +0000 (20:44 +0000)]
Merged revisions 79910 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79910 | antoine.pitrou | 2010-04-09 22:38:39 +0200 (ven., 09 avril 2010) | 4 lines

  SSL_MODE_AUTO_RETRY has been added in OpenSSL 0.9.6.  Fix compilation
  with earlier versions.
........

14 years agoremove use of 2.7 unittest features
Benjamin Peterson [Wed, 7 Apr 2010 20:40:30 +0000 (20:40 +0000)]
remove use of 2.7 unittest features

14 years agoBlocked revisions 79885 via svnmerge
Stefan Krah [Wed, 7 Apr 2010 08:53:25 +0000 (08:53 +0000)]
Blocked revisions 79885 via svnmerge

........
  r79885 | stefan.krah | 2010-04-07 10:24:44 +0200 (Wed, 07 Apr 2010) | 1 line

  Issue #8328: Silence Visual Studio warnings.
........

14 years agoBlocked revisions 79314,79316,79320,79528 via svnmerge
Ezio Melotti [Wed, 7 Apr 2010 05:14:03 +0000 (05:14 +0000)]
Blocked revisions 79314,79316,79320,79528 via svnmerge

........
  r79314 | ezio.melotti | 2010-03-23 01:07:32 +0200 (Tue, 23 Mar 2010) | 1 line

  Update the version number of the Unicode Database in a few more places.
........
  r79316 | ezio.melotti | 2010-03-23 02:25:19 +0200 (Tue, 23 Mar 2010) | 1 line

  Remove link to objects.rst (gone in r79179).
........
  r79320 | ezio.melotti | 2010-03-23 02:38:12 +0200 (Tue, 23 Mar 2010) | 1 line

  Link specifically to the UCD version 5.2.0.
........
  r79528 | ezio.melotti | 2010-03-31 11:33:50 +0300 (Wed, 31 Mar 2010) | 1 line

  Silence a py3k warning.
........

14 years agoMerged revisions 79871 via svnmerge from
Mark Dickinson [Tue, 6 Apr 2010 22:11:54 +0000 (22:11 +0000)]
Merged revisions 79871 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79871 | mark.dickinson | 2010-04-06 23:10:55 +0100 (Tue, 06 Apr 2010) | 2 lines

  Use consistent spelling for nans (thanks Georg for noticing).
........

14 years agoMerged revisions 79866-79867 via svnmerge from
Benjamin Peterson [Tue, 6 Apr 2010 21:55:35 +0000 (21:55 +0000)]
Merged revisions 79866-79867 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79866 | benjamin.peterson | 2010-04-06 16:37:06 -0500 (Tue, 06 Apr 2010) | 1 line

  use skip decorator
........
  r79867 | benjamin.peterson | 2010-04-06 16:50:00 -0500 (Tue, 06 Apr 2010) | 1 line

  remove a optimization that resulted in unexpected behavior #8929
........

14 years agoMerged revisions 79858 via svnmerge from
Mark Dickinson [Tue, 6 Apr 2010 19:52:05 +0000 (19:52 +0000)]
Merged revisions 79858 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79858 | mark.dickinson | 2010-04-06 20:50:03 +0100 (Tue, 06 Apr 2010) | 3 lines

  Issue #7947:  Clarify math module behaviour for IEEE 754 special cases, along
  with a number of additional minor edits and typo corrections.
........

14 years agoBlocked revisions 79852 via svnmerge
Mark Dickinson [Tue, 6 Apr 2010 18:22:38 +0000 (18:22 +0000)]
Blocked revisions 79852 via svnmerge

........
  r79852 | mark.dickinson | 2010-04-06 19:20:11 +0100 (Tue, 06 Apr 2010) | 1 line

  Issue #8259: Clarify that there's an upper bound on the right-hand operand of a shift operator.
........

14 years agoMerged revisions 79848 via svnmerge from
Antoine Pitrou [Tue, 6 Apr 2010 17:24:02 +0000 (17:24 +0000)]
Merged revisions 79848 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79848 | antoine.pitrou | 2010-04-06 19:21:09 +0200 (mar., 06 avril 2010) | 3 lines

  Issue #8193: Fix test_zlib failure with zlib 1.2.4.
........

14 years agoBlocked revisions 79843-79844 via svnmerge
Mark Dickinson [Tue, 6 Apr 2010 16:55:43 +0000 (16:55 +0000)]
Blocked revisions 79843-79844 via svnmerge

........
  r79843 | mark.dickinson | 2010-04-06 17:46:09 +0100 (Tue, 06 Apr 2010) | 4 lines

  Issue #8259: Get rid of 'outrageous left shift count' error when
  left-shifting an integer by more than 2**31 on a 64-bit machine.  Also
  convert shift counts to a Py_ssize_t instead of a C long.
........
  r79844 | mark.dickinson | 2010-04-06 17:47:55 +0100 (Tue, 06 Apr 2010) | 1 line

  Misc/NEWS entry for r79843.
........

14 years agoFix incorrect stacklevel for struct warnings. (Partial backport of r78690).
Mark Dickinson [Tue, 6 Apr 2010 15:19:40 +0000 (15:19 +0000)]
Fix incorrect stacklevel for struct warnings.  (Partial backport of r78690).

14 years agoBlocked revisions 79818 via svnmerge
Ezio Melotti [Tue, 6 Apr 2010 14:43:22 +0000 (14:43 +0000)]
Blocked revisions 79818 via svnmerge

........
  r79818 | ezio.melotti | 2010-04-06 06:26:49 +0300 (Tue, 06 Apr 2010) | 1 line

  Fix several links and other mistakes.
........

14 years agoBlocked revisions 79826 via svnmerge
Eric Smith [Tue, 6 Apr 2010 14:32:21 +0000 (14:32 +0000)]
Blocked revisions 79826 via svnmerge

........
  r79826 | eric.smith | 2010-04-06 10:30:15 -0400 (Tue, 06 Apr 2010) | 1 line

  Fixed PEP 378 example.
........

14 years agoBlocked revisions 79809 via svnmerge
Mark Dickinson [Tue, 6 Apr 2010 13:35:54 +0000 (13:35 +0000)]
Blocked revisions 79809 via svnmerge

........
  r79809 | mark.dickinson | 2010-04-05 19:54:51 +0100 (Mon, 05 Apr 2010) | 1 line

  Use a better NaN test in _Py_HashDouble as well.
........

14 years agoBlocked revisions 79804 via svnmerge
Mark Dickinson [Mon, 5 Apr 2010 18:10:18 +0000 (18:10 +0000)]
Blocked revisions 79804 via svnmerge

........
  r79804 | mark.dickinson | 2010-04-05 19:07:51 +0100 (Mon, 05 Apr 2010) | 5 lines

  Use a more robust infinity check in _Py_HashDouble.

  This fixes a test_decimal failure on FreeBSD 8.0.  (modf apparently
  doesn't follow C99 Annex F on FreeBSD.)
........

14 years agoBlocked revisions 79801 via svnmerge
Tarek Ziadé [Mon, 5 Apr 2010 14:59:36 +0000 (14:59 +0000)]
Blocked revisions 79801 via svnmerge

........
  r79801 | tarek.ziade | 2010-04-05 16:58:14 +0200 (Mon, 05 Apr 2010) | 1 line

  added a note for Andrew, about distutils2
........

14 years agoMerged revisions 79797 via svnmerge from
Ezio Melotti [Mon, 5 Apr 2010 12:55:05 +0000 (12:55 +0000)]
Merged revisions 79797 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79797 | ezio.melotti | 2010-04-05 15:51:45 +0300 (Mon, 05 Apr 2010) | 1 line

  Fix some broken URLs.
........

14 years ago#7721: replace code that works only in 2.7+ with equivalent.
Georg Brandl [Mon, 5 Apr 2010 11:46:16 +0000 (11:46 +0000)]
#7721: replace code that works only in 2.7+ with equivalent.

14 years agoBlocked revisions 79788 via svnmerge
Ezio Melotti [Mon, 5 Apr 2010 08:19:19 +0000 (08:19 +0000)]
Blocked revisions 79788 via svnmerge

........
  r79788 | ezio.melotti | 2010-04-05 11:16:41 +0300 (Mon, 05 Apr 2010) | 1 line

  Fix markup errors.
........

14 years agoMerged revisions 79786 via svnmerge from
Ezio Melotti [Mon, 5 Apr 2010 08:08:36 +0000 (08:08 +0000)]
Merged revisions 79786 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79786 | ezio.melotti | 2010-04-05 11:02:54 +0300 (Mon, 05 Apr 2010) | 1 line

  Fix markup, punctuation and whitespaces in _winreg.rst.
........

14 years agoMerged revisions 79781 via svnmerge from
Ezio Melotti [Mon, 5 Apr 2010 04:00:14 +0000 (04:00 +0000)]
Merged revisions 79781 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79781 | ezio.melotti | 2010-04-05 06:51:38 +0300 (Mon, 05 Apr 2010) | 1 line

  #8212: rephrase the webservers howto and fix some mistakes.
........

14 years agoBlocked revisions 79768 via svnmerge
Ezio Melotti [Sun, 4 Apr 2010 23:29:59 +0000 (23:29 +0000)]
Blocked revisions 79768 via svnmerge

........
  r79768 | ezio.melotti | 2010-04-05 02:21:53 +0300 (Mon, 05 Apr 2010) | 1 line

  Fix markup in decimal.rst.
........

14 years agoMerged revisions 79769 via svnmerge from
Benjamin Peterson [Sun, 4 Apr 2010 23:27:35 +0000 (23:27 +0000)]
Merged revisions 79769 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79769 | benjamin.peterson | 2010-04-04 18:23:22 -0500 (Sun, 04 Apr 2010) | 1 line

  fix dis on new style classes #8310
........

14 years agoMerged revisions 79763 via svnmerge from
Benjamin Peterson [Sun, 4 Apr 2010 23:15:45 +0000 (23:15 +0000)]
Merged revisions 79763 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79763 | benjamin.peterson | 2010-04-04 18:03:22 -0500 (Sun, 04 Apr 2010) | 1 line

  fix tabs
........

14 years agoBlocked revisions 79756 via svnmerge
Mark Dickinson [Sun, 4 Apr 2010 22:13:45 +0000 (22:13 +0000)]
Blocked revisions 79756 via svnmerge

........
  r79756 | mark.dickinson | 2010-04-04 23:09:21 +0100 (Sun, 04 Apr 2010) | 6 lines

  Add versionchanged entry for Decimal(float) construction.

  Also add an example of constructing a Decimal directly from a float,
  update the quickstart tutorial, and tweak another couple of
  sentences.
........

14 years agoBlocked revisions 79751 via svnmerge
Mark Dickinson [Sun, 4 Apr 2010 21:28:02 +0000 (21:28 +0000)]
Blocked revisions 79751 via svnmerge

........
  r79751 | mark.dickinson | 2010-04-04 22:19:35 +0100 (Sun, 04 Apr 2010) | 1 line

  A handful of whitespace fixes in Modules/_struct.c.
........

14 years agoBlocked revisions 79740 via svnmerge
Ezio Melotti [Sun, 4 Apr 2010 07:00:48 +0000 (07:00 +0000)]
Blocked revisions 79740 via svnmerge

........
  r79740 | ezio.melotti | 2010-04-04 10:00:02 +0300 (Sun, 04 Apr 2010) | 1 line

  Use more specific assert* methods in test_struct.
........

14 years agoBlocked revisions 79735 via svnmerge
Ezio Melotti [Sun, 4 Apr 2010 06:51:32 +0000 (06:51 +0000)]
Blocked revisions 79735 via svnmerge

........
  r79735 | ezio.melotti | 2010-04-04 09:50:58 +0300 (Sun, 04 Apr 2010) | 1 line

  Revert 79733 - Counter is new in 2.7, the versionadded is not necessary - and fix a typo.
........