Commit Graph

44638 Commits

Author SHA1 Message Date
Antoine Pitrou b558f17b18 Issue #5238: Calling makefile() on an SSL object would prevent the
underlying socket from being closed until all objects get truely destroyed.
2010-04-23 23:25:45 +00:00
Antoine Pitrou dfb299bb95 Issue #7943: Fix circular reference created when instantiating an SSL
socket.  Initial patch by Péter Szabó.
2010-04-23 22:54:59 +00:00
Florent Xicluna 1273566cb7 Fix the "regrtest -s" switch. 2010-04-23 18:10:12 +00:00
Florent Xicluna 64f6c2fcab Remove ImportWarnings filters. They become obsolete after r79310, issue #8205. 2010-04-23 17:59:10 +00:00
Sean Reifscheider 04f4347de0 Small comment documentation change to clarify "ident" selection. 2010-04-23 08:38:24 +00:00
Sean Reifscheider f6ce3cb84e issue8451: Making syslog module use sys.argv[0] for "ident". 2010-04-23 08:31:55 +00:00
Antoine Pitrou a5c4b5515f 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.
2010-04-22 23:33:02 +00:00
Georg Brandl e11d85c717 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. 2010-04-22 22:15:33 +00:00
Antoine Pitrou 9aed604fb2 Skip test on old versions of OpenSSL 2010-04-22 18:00:41 +00:00
Antoine Pitrou 60b1ee375c Temporarily display OpenSSL version in verbose run -- trying to diagnose failure on Neal's buildbot. 2010-04-22 17:44:41 +00:00
Senthil Kumaran 398246169c Changed tests to only urlparse one, which was enough, addressed Ezio's comment
on Invalid url check statement and versionchanged string in docs.
2010-04-22 12:10:13 +00:00
Ezio Melotti 19c06739c5 Rephrase comment. 2010-04-22 11:53:21 +00:00
Martin v. Löwis 896c4777c6 Issue #8475: Pass absolute interpreter path to
"make html".
2010-04-22 11:34:36 +00:00
Ezio Melotti 23196a564b #8474: fix duplicate test in test_email. 2010-04-22 11:23:31 +00:00
Senthil Kumaran 0a36181953 Updated the RFCs list in the See Also section of urlparse.rst 2010-04-22 05:48:35 +00:00
Antoine Pitrou 18e63fbe64 Issue #7332: Remove the 16KB stack-based buffer in
PyMarshal_ReadLastObjectFromFile, which doesn't bring any noticeable
benefit compared to the dynamic memory allocation fallback.  Patch by
Charles-François Natali.
2010-04-21 22:53:29 +00:00
Matthias Klose 8a96d209f0 - Build the ossaudio extension on GNU/kFreeBSD. 2010-04-21 22:18:52 +00:00
Matthias Klose ca6d9e9225 setup.py: search ffi.h in include dirs, if LIBFFI_INCLUDEDIR is empty. 2010-04-21 21:45:30 +00:00
Antoine Pitrou 1a9e9f282e Forgot to add the sample certificate (followup to r80314) 2010-04-21 19:36:23 +00:00
Antoine Pitrou c715a9ed08 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".
2010-04-21 19:28:03 +00:00
Tarek Ziadé 62e17ad234 shutil: removed unused import and fixed attributes names in _call_external_zip 2010-04-21 13:32:26 +00:00
Martin v. Löwis f0a4cceba6 Add Tim Golden. 2010-04-21 06:37:48 +00:00
Ronald Oussoren 78118992ad Sync test_plistlib.py with plistlib.py 2010-04-21 06:00:35 +00:00
Victor Stinner a92e81bf48 Issue #8437: Fix test_gdb failures, patch written by Dave Malcolm 2010-04-20 22:28:31 +00:00
Tarek Ziadé e593fad81b removed ztar support in shutil.make_archive 2010-04-20 21:09:06 +00:00
Ronald Oussoren 8e6ca8fb19 Fix for issue 7852: the DTD for OSX Plists has changed due
to a change in the company name for Apple.
2010-04-20 20:59:37 +00:00
Senthil Kumaran 241a04371b Issue2987 - Added additional Invalid URL and changed the Invalid URL checking code for better. 2010-04-20 20:37:59 +00:00
Matthias Klose c166b4021f fix typo in r79533, introduced by the fix for issue #8233 2010-04-20 19:45:34 +00:00
Ezio Melotti 8c09ebcf0c #8472: fix wrong function name in functions.rst: itertools.filterfalse -> itertools.ifilterfalse 2010-04-20 16:49:48 +00:00
Brian Curtin 1f8dd363b7 Add version info for os.kill and signal changes from #1220212. 2010-04-20 15:23:18 +00:00
Ronald Oussoren 1c3d193960 This patch fixes the handling of a weak-linked
variable and should fix issue #8095.
2010-04-20 08:54:48 +00:00
Ronald Oussoren 1bf02022fe The PythonLauncher change is needed due
to changes in how the BASECFLAGS and CFLAGS
variables get filled by configure.

The Mac/Makefile.in change ensures that
pythonw gets build with the rigth deployment
targets.
2010-04-20 08:53:12 +00:00
Stefan Krah 68b4e01c48 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.
2010-04-20 07:59:10 +00:00
Senthil Kumaran 281b551a2e Fix Issue8460: Victor's patch to add timeout in test_urllib2net test_urls. 2010-04-20 06:54:59 +00:00
Ronald Oussoren ac4b7adadf Explicitly set system default for $PATH to
ensure we have a clean build environment (OSX installer)
2010-04-20 05:50:44 +00:00
Giampaolo Rodolà 607f7c056e Fix Issue #4841: timeout is now applied for connections resulting from PORT/EPRT commands 2010-04-19 21:46:28 +00:00
Tarek Ziadé 8a12f940fe Fixed #8463: added missing reference to bztar in shutil's documentation. 2010-04-19 21:28:21 +00:00
Tarek Ziadé f1c28b75e0 few pep8 fixes 2010-04-19 21:13:03 +00:00
Antoine Pitrou 7c587bf53d Issue #8438: Remove reference to the missing "surrogateescape" encoding
error handler from the new IO library.
2010-04-19 18:52:43 +00:00
Raymond Hettinger 35b76027f9 Issue 8436: set.__init__ accepts keyword args 2010-04-18 22:57:57 +00:00
Antoine Pitrou 9958c56eb0 Fix catastrophic file opening and closing logic in test_linecache 2010-04-18 19:14:38 +00:00
Victor Stinner 814b6c222d Revert r80166 (and r80171), restore Lib/platform.py. subprocess cannot be used in platform.py 2010-04-18 18:22:25 +00:00
Ronald Oussoren 974eb5eace 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.
2010-04-18 17:59:37 +00:00
Ronald Oussoren 287128aadc Add check to build-installer.py to ensure that
the right version of Tcl/Tk is available (on OSX)

Fixes issue #5651
2010-04-18 14:01:05 +00:00
Ronald Oussoren 37805e5c1f Fix for issue #7072 2010-04-18 13:47:49 +00:00
Giampaolo Rodolà cf445fced4 Fix Issue #3817: 225 is now considered a valid response code for ABOR 2010-04-18 12:55:03 +00:00
Antoine Pitrou 5ac74168b9 Fix bootstrap after r80166 2010-04-18 11:16:24 +00:00
Victor Stinner b2a0a434a8 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
2010-04-18 09:07:49 +00:00
Martin v. Löwis 24f09fdb23 Issue #8279: Fix test_gdb failures. 2010-04-17 22:40:40 +00:00
R. David Murray fb4812fb59 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.
2010-04-17 21:59:26 +00:00