summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merged revisions 80507 via svnmerge fromAntoine Pitrou2010-04-261-1/+5
| | | | | | | | | | | 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. ........
* Blocked revisions 80503 via svnmergeR. David Murray2010-04-260-0/+0
| | | | | | | | ........ r80503 | r.david.murray | 2010-04-26 12:54:57 -0400 (Mon, 26 Apr 2010) | 2 lines Issue 8325: Improve regrtest --help text. ........
* Merged revisions 80480 via svnmerge fromAntoine Pitrou2010-04-251-6/+5
| | | | | | | | | | 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. ........
* Merged revisions 80484 via svnmerge fromAntoine Pitrou2010-04-253-12/+43
| | | | | | | | | | | | | 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. ........
* Blocked revisions 80166,80189,80288 via svnmergeVictor Stinner2010-04-250-0/+0
| | | | | | | | | | | | | | | | | | | | | ........ 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 ........
* Merged revisions 80465-80470 via svnmerge fromGeorg Brandl2010-04-253-54/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. ........
* Merged revisions 80461 via svnmerge fromGeorg Brandl2010-04-251-4/+1
| | | | | | | | | | 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. ........
* Merged revisions 80451-80452 via svnmerge fromAntoine Pitrou2010-04-244-10/+91
| | | | | | | | | | | | | | | | 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. ........
* Backport fix of #5774 (only OpenKey applies here).Brian Curtin2010-04-241-1/+1
|
* Merged revisions 80439 via svnmerge fromBrian Curtin2010-04-242-57/+132
| | | | | | | | | | | | | | 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 *. ........
* Merged revisions 80150 via svnmerge fromGeorg Brandl2010-04-241-1/+1
| | | | | | | | | | 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. ........
* Merged revisions 80434 via svnmerge fromAntoine Pitrou2010-04-241-19/+24
| | | | | | | | | | | | 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). ........
* Merged revisions 80428 via svnmerge fromAntoine Pitrou2010-04-233-1/+28
| | | | | | | | | | | 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. ........
* Merged revisions 80423 via svnmerge fromAntoine Pitrou2010-04-234-8/+23
| | | | | | | | | | | 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ó. ........
* Merged revisions 80392 via svnmerge fromAntoine Pitrou2010-04-232-6/+68
| | | | | | | | | | | | | | | | 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. ........
* Merged revisions 80388 via svnmerge fromGeorg Brandl2010-04-225-13/+48
| | | | | | | | | | 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. ........
* Merged revisions 80375 via svnmerge fromAntoine Pitrou2010-04-221-0/+5
| | | | | | | | | | 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 ........
* Merged revisions 80355 via svnmerge fromMartin v. Löwis2010-04-221-1/+1
| | | | | | | | | | | 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". ........
* Merged revisions 80357 via svnmerge fromEzio Melotti2010-04-221-2/+2
| | | | | | | | | | 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. ........
* Merged revisions 80350 via svnmerge fromEzio Melotti2010-04-221-5/+0
| | | | | | | | | | 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. ........
* IPv6 parsing is not present in this branch. Removing the reference from the ↵Senthil Kumaran2010-04-221-3/+0
| | | | module docstring.
* Merged revisions 80336 via svnmerge fromSenthil Kumaran2010-04-221-5/+14
| | | | | | | | | | 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 ........
* Blocked revisions 80155 via svnmergeR. David Murray2010-04-220-0/+0
| | | | | | | | | | | ........ 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. ........
* Merged revisions 80314-80315 via svnmerge fromAntoine Pitrou2010-04-214-1/+59
| | | | | | | | | | | | | | | | 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) ........
* Blocked revisions 80306 via svnmergeTarek Ziadé2010-04-210-0/+0
| | | | | | | | ........ 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 ........
* Blocked revisions 80282 via svnmergeTarek Ziadé2010-04-210-0/+0
| | | | | | | | ........ r80282 | tarek.ziade | 2010-04-20 23:09:06 +0200 (Tue, 20 Apr 2010) | 1 line removed ztar support in shutil.make_archive ........
* Merged revisions 80144 via svnmerge fromR. David Murray2010-04-212-0/+18
| | | | | | | | | | | | | | | 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. ........
* skip this test on windows, too #8459Benjamin Peterson2010-04-201-0/+4
|
* Merged revisions 80270 via svnmerge fromEzio Melotti2010-04-201-1/+1
| | | | | | | | | | 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 ........
* Ensure framework actually installs after earlierRonald Oussoren2010-04-202-1/+3
| | | | changes to CFLAGS and BASECFLAGS handling
* Merged revisions 80082 via svnmerge fromEzio Melotti2010-04-201-2/+2
| | | | | | | | | | 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. ........
* Merged revisions 80243 via svnmerge fromRonald Oussoren2010-04-201-5/+10
| | | | | | | | | | | 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. ........
* Merged revisions 80238 via svnmerge fromStefan Krah2010-04-201-8/+10
| | | | | | | | | | | | | | | | 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. ........
* Merged revisions 80236 via svnmerge fromSenthil Kumaran2010-04-201-5/+16
| | | | | | | | | | 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. ........
* Merged revisions 80232 via svnmerge fromRonald Oussoren2010-04-201-0/+3
| | | | | | | | | | | 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) ........
* Merged revisions 80226 via svnmerge fromGiampaolo Rodolà2010-04-192-0/+7
| | | | | | | | | | 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 ........
* Blocked revisions 80221 via svnmergeTarek Ziadé2010-04-190-0/+0
| | | | | | | | ........ 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. ........
* Blocked revisions 80218 via svnmergeTarek Ziadé2010-04-190-0/+0
| | | | | | | | ........ r80218 | tarek.ziade | 2010-04-19 23:13:03 +0200 (Mon, 19 Apr 2010) | 1 line few pep8 fixes ........
* Blocked revisions 80215 via svnmergeAntoine Pitrou2010-04-190-0/+0
| | | | | | | | | ........ 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. ........
* (I hope) last try to fix test_winsound (skip tests)Victor Stinner2010-04-191-5/+0
| | | | Remove print, it produces "unexpected output" and the test fails :-/
* test_winsound: new try to skip the tests. In Python 2.6, TestSkipped is used toVictor Stinner2010-04-191-5/+10
| | | | skip the whole file, not a particular function.
* Oops, unittest has no SkipTest exception. I understood the original change:Victor Stinner2010-04-191-1/+1
| | | | replace unittest.SkipTest by TestSkipped.
* Fix r80029 (backport of r80026), test_winsound: Python 2.6 has noVictor Stinner2010-04-191-5/+10
| | | | unittest.skipUnless(). Use raise test_support.TestSkipped() instead.
* Fix r80180 (backport of r80178): SkipTest => unittest.SkipTest in test_localeVictor Stinner2010-04-191-1/+1
| | | | | The original commit (r80178) was correct. The bug was introduced during the backport, funny :-)
* Issue 8436: set.__init__ accepts keyword argsRaymond Hettinger2010-04-182-0/+4
|
* Fix for issue #8175: ensure that configure --with-universal-archs=allRonald Oussoren2010-04-184-28/+12
| | | | works on osx 10.5
* Merged revisions 80187 via svnmerge fromRonald Oussoren2010-04-182-24/+60
| | | | | | | | | | | | | | | | | | 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)
* Merged revisions 80179 via svnmerge fromRonald Oussoren2010-04-181-0/+51
| | | | | | | | | | | | | 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 ........
* Merged revisions 80178 via svnmerge fromRonald Oussoren2010-04-183-2/+19
| | | | | | | | | | 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 ........
* Moved entry in Misc/NEWS which was inserted in the wrong place.Giampaolo Rodolà2010-04-181-3/+3
|