]>
granicus.if.org Git - python/log
Antoine Pitrou [Sat, 7 May 2011 17:48:40 +0000 (19:48 +0200)]
Merge
Antoine Pitrou [Sat, 7 May 2011 17:48:18 +0000 (19:48 +0200)]
Merge
Antoine Pitrou [Sat, 7 May 2011 17:47:47 +0000 (19:47 +0200)]
Merge
Antoine Pitrou [Sat, 7 May 2011 17:47:24 +0000 (19:47 +0200)]
Merge
Antoine Pitrou [Sat, 7 May 2011 17:45:34 +0000 (19:45 +0200)]
Merge
Antoine Pitrou [Sat, 7 May 2011 17:42:39 +0000 (19:42 +0200)]
Merge: Issue #11927: SMTP_SSL now uses port 465 by default as documented.
Antoine Pitrou [Sat, 7 May 2011 17:41:33 +0000 (19:41 +0200)]
Merge: Issue #11927: SMTP_SSL now uses port 465 by default as documented.
Antoine Pitrou [Sat, 7 May 2011 17:39:37 +0000 (19:39 +0200)]
Issue #11927: SMTP_SSL now uses port 465 by default as documented. Patch by Kasun Herath.
Giampaolo Rodola' [Sat, 7 May 2011 17:35:36 +0000 (19:35 +0200)]
merge
Giampaolo Rodola' [Sat, 7 May 2011 17:11:06 +0000 (19:11 +0200)]
merge with 3.2
Giampaolo Rodola' [Sat, 7 May 2011 17:09:34 +0000 (19:09 +0200)]
merge with 3.1
Giampaolo Rodola' [Sat, 7 May 2011 17:03:47 +0000 (19:03 +0200)]
#12002 - ftplib's abort() method raises TypeError
Ezio Melotti [Sat, 7 May 2011 16:51:47 +0000 (19:51 +0300)]
#5421: merge with 3.2.
Ezio Melotti [Sat, 7 May 2011 16:50:28 +0000 (19:50 +0300)]
#5421: merge with 3.1.
Ezio Melotti [Sat, 7 May 2011 16:47:48 +0000 (19:47 +0300)]
#5421: add tests.
Giampaolo Rodola' [Sat, 7 May 2011 16:47:31 +0000 (18:47 +0200)]
reverting
9688977ef567 committed by accident
Vinay Sajip [Sat, 7 May 2011 16:01:22 +0000 (17:01 +0100)]
Closed resource leak in SysLogHandler.
Ezio Melotti [Sat, 7 May 2011 15:29:14 +0000 (18:29 +0300)]
#12017: merge with 3.2.
Ezio Melotti [Sat, 7 May 2011 15:15:34 +0000 (18:15 +0300)]
#12017: merge with 3.1.
Giampaolo Rodola' [Sat, 7 May 2011 15:08:34 +0000 (17:08 +0200)]
test_ftplib.py: change client default timeout from 10 to 2. Hanging for 10 seconds is way too much when we expect a server response which never comes in.
Giampaolo Rodola' [Sat, 7 May 2011 15:08:04 +0000 (17:08 +0200)]
merge heads
Giampaolo Rodola' [Sat, 7 May 2011 15:02:21 +0000 (17:02 +0200)]
test_ftplib.py: change client default timeout from 10 to 2. Hanging for 10 seconds is way too much when we expect a server response which never comes in.
Ezio Melotti [Sat, 7 May 2011 14:58:09 +0000 (17:58 +0300)]
#12017: Fix segfault in json.loads() while decoding highly-nested objects using the C accelerations.
Vinay Sajip [Sat, 7 May 2011 14:55:47 +0000 (15:55 +0100)]
Changed where socket close is called on connection failure.
Giampaolo Rodola' [Sat, 7 May 2011 14:06:59 +0000 (16:06 +0200)]
#11072- applying http://bugs.python.org/review/11072/show suggestions
Vinay Sajip [Sat, 7 May 2011 12:44:50 +0000 (13:44 +0100)]
Merge.
Vinay Sajip [Sat, 7 May 2011 12:44:11 +0000 (13:44 +0100)]
Close socket on connection failure.
Nadeem Vawda [Sat, 7 May 2011 12:36:14 +0000 (14:36 +0200)]
Merge: Fix potential resource leak in test_mmap.
Nadeem Vawda [Sat, 7 May 2011 12:35:36 +0000 (14:35 +0200)]
Merge: Fix potential resource leak in test_mmap.
Nadeem Vawda [Sat, 7 May 2011 12:35:05 +0000 (14:35 +0200)]
Fix potential resource leak in test_mmap.
Nadeem Vawda [Sat, 7 May 2011 12:17:27 +0000 (14:17 +0200)]
Merge: #11277: Fix tests - crash will not trigger if the file is closed and reopened.
Nadeem Vawda [Sat, 7 May 2011 12:16:50 +0000 (14:16 +0200)]
Merge: #11277: Fix tests - crash will not trigger if the file is closed and reopened.
Nadeem Vawda [Sat, 7 May 2011 12:14:53 +0000 (14:14 +0200)]
Issue #11277: Fix tests - crash will not trigger if the file is closed and reopened.
Nadeem Vawda [Sat, 7 May 2011 11:11:59 +0000 (13:11 +0200)]
Merge: #11277: Add tests for mmap crash when using large sparse files on OS X.
Also, reduce code duplication in LargeMmapTests.
Original patch by Steffen Daode Nurpmeso.
Nadeem Vawda [Sat, 7 May 2011 11:08:54 +0000 (13:08 +0200)]
Merge: #11277: Add tests for mmap crash when using large sparse files on OS X.
Also, reduce code duplication in LargeMmapTests.
Original patch by Steffen Daode Nurpmeso.
Nadeem Vawda [Sat, 7 May 2011 11:01:50 +0000 (13:01 +0200)]
Issue #11277: Add tests for mmap crash when using large sparse files on OS X.
Also, reduce code duplication in LargeMmapTests.
Original patch by Steffen Daode Nurpmeso.
Victor Stinner [Sat, 7 May 2011 10:46:05 +0000 (12:46 +0200)]
_PyImport_LoadDynamicModule() encodes the module name explicitly to ASCII
The name must be encodable to ASCII because dynamic module must have a function
called "PyInit_NAME", they are written in C, and the C language doesn't accept
non-ASCII identifiers.
Victor Stinner [Sat, 7 May 2011 10:43:00 +0000 (12:43 +0200)]
faulthandler: dump all threads by default
* Set the default value of all_threads arguments to True
* Py_FatalError() dumps all threads, instead of only the current thread
Dump only the current thread is not reliable. In some cases, Python is unable
to retrieve the state of the current thread and so is unable to dump the
traceback. faulthandler keeps a reference to the interpreter and so is always
able to dump the traceback of all threads.
Victor Stinner [Sat, 7 May 2011 10:20:11 +0000 (12:20 +0200)]
faulthandler: save/restore errno in the two signal handlers
Ronald Oussoren [Sat, 7 May 2011 07:59:03 +0000 (09:59 +0200)]
Closes Issue 11916: Add a number of MacOSX specific definitions to the errno module.
Patch by Pierre Carrier.
R David Murray [Sat, 7 May 2011 02:26:27 +0000 (22:26 -0400)]
#11999: sync based on comparing mtimes, not mtime to system clock
R David Murray [Sat, 7 May 2011 02:20:34 +0000 (22:20 -0400)]
#11999: sync based on comparing mtimes, not mtime to system clock
R David Murray [Sat, 7 May 2011 02:07:19 +0000 (22:07 -0400)]
#11999: sync based on comparing mtimes, not mtime to system clock
Vinay Sajip [Fri, 6 May 2011 18:06:00 +0000 (19:06 +0100)]
Refined rollover test for slow test machines.
Giampaolo Rodola' [Fri, 6 May 2011 17:49:08 +0000 (19:49 +0200)]
Issue #11072: added MLSD command (RFC-3659) support to ftplib.
Antoine Pitrou [Fri, 6 May 2011 16:49:52 +0000 (18:49 +0200)]
Issue #8808: The IMAP4_SSL constructor now allows passing an SSLContext
parameter to control parameters of the secure channel. Patch by Sijin
Joseph.
Ronald Oussoren [Fri, 6 May 2011 15:11:44 +0000 (17:11 +0200)]
merge from 3.2
Ronald Oussoren [Fri, 6 May 2011 15:11:07 +0000 (17:11 +0200)]
ntpath.samefile fails to detect that "A.TXT" and "a.txt" refer to the same file on Windows XP.
Noticed while researching a buildbot failure due to a patch for issue #10684.
Antoine Pitrou [Fri, 6 May 2011 13:20:55 +0000 (15:20 +0200)]
Issue #12000: When a SSL certificate has a subjectAltName without any
dNSName entry, ssl.match_hostname() should use the subject's commonName.
Patch by Nicolas Bareil.
Antoine Pitrou [Fri, 6 May 2011 13:19:49 +0000 (15:19 +0200)]
Issue #12000: When a SSL certificate has a subjectAltName without any
dNSName entry, ssl.match_hostname() should use the subject's commonName.
Patch by Nicolas Bareil.
Ezio Melotti [Fri, 6 May 2011 12:01:41 +0000 (15:01 +0300)]
Issue #10775: assertRaises, assertRaisesRegex, assertWarns, and assertWarnsRegex now accept a keyword argument 'msg' when used as context managers. Initial patch by Winston Ewert.
Ronald Oussoren [Fri, 6 May 2011 09:17:40 +0000 (11:17 +0200)]
merge from 3.2
Ronald Oussoren [Fri, 6 May 2011 08:57:22 +0000 (10:57 +0200)]
merge from 3.1
Ronald Oussoren [Fri, 6 May 2011 08:23:04 +0000 (10:23 +0200)]
Fix for issue 10684: Folders get deleted when trying to change case with shutil.move (case insensitive file systems only)
Eli Bendersky [Fri, 6 May 2011 06:31:02 +0000 (09:31 +0300)]
merge
Eli Bendersky [Fri, 6 May 2011 06:29:27 +0000 (09:29 +0300)]
Issue #11015: bring test.support docs up to date
Vinay Sajip [Fri, 6 May 2011 06:19:41 +0000 (07:19 +0100)]
Close handler opened in test.
Raymond Hettinger [Thu, 5 May 2011 21:34:35 +0000 (14:34 -0700)]
Userlist.copy() wasn't returning a UserList.
Raymond Hettinger [Thu, 5 May 2011 21:16:16 +0000 (14:16 -0700)]
merge
Raymond Hettinger [Thu, 5 May 2011 21:15:44 +0000 (14:15 -0700)]
null merge
Raymond Hettinger [Thu, 5 May 2011 21:15:12 +0000 (14:15 -0700)]
Sync-up minor code edits with the default branch.
Vinay Sajip [Thu, 5 May 2011 20:23:42 +0000 (21:23 +0100)]
Added additional output to help diagnose buildbot failures.
Raymond Hettinger [Thu, 5 May 2011 18:50:36 +0000 (11:50 -0700)]
null merge
Raymond Hettinger [Thu, 5 May 2011 18:49:12 +0000 (11:49 -0700)]
Sync-up minor code edits with the default branch.
Raymond Hettinger [Thu, 5 May 2011 18:38:06 +0000 (11:38 -0700)]
Avoid codec spelling issues by just using the utf-8 default.
Raymond Hettinger [Thu, 5 May 2011 18:35:50 +0000 (11:35 -0700)]
Avoid codec spelling issues by just using the utf-8 default.
Antoine Pitrou [Thu, 5 May 2011 18:18:19 +0000 (20:18 +0200)]
Merge: Use shared testing facilities in test_threading
Antoine Pitrou [Thu, 5 May 2011 18:17:32 +0000 (20:17 +0200)]
Use shared testing facilities in test_threading
R David Murray [Thu, 5 May 2011 16:17:50 +0000 (12:17 -0400)]
Merge: #11873: Improve test regex so random directory names don't cause test to fail
R David Murray [Thu, 5 May 2011 15:52:44 +0000 (11:52 -0400)]
#11873: Improve test regex so random directory names don't cause test to fail
Nick Coghlan [Thu, 5 May 2011 14:03:49 +0000 (00:03 +1000)]
Merge from 3.2
Nick Coghlan [Thu, 5 May 2011 14:02:12 +0000 (00:02 +1000)]
Remove trailing whitespace
Nick Coghlan [Thu, 5 May 2011 13:58:57 +0000 (23:58 +1000)]
Merge #11647 update from 3.2
Nick Coghlan [Thu, 5 May 2011 13:49:25 +0000 (23:49 +1000)]
Issue #11647: allow contextmanager objects to be used as decorators as described in the docs. Initial patch by Ysj Ray.
Vinay Sajip [Thu, 5 May 2011 13:18:33 +0000 (14:18 +0100)]
Tweaked timed rollover test to allow for test-time delays.
Vinay Sajip [Thu, 5 May 2011 11:59:59 +0000 (12:59 +0100)]
Merged changes.
Vinay Sajip [Thu, 5 May 2011 11:59:14 +0000 (12:59 +0100)]
Improved coverage and fixed bug in HTTPHandler with POST requests.
Ezio Melotti [Thu, 5 May 2011 11:21:55 +0000 (14:21 +0300)]
#11997: merge with 3.2.
Ezio Melotti [Thu, 5 May 2011 11:21:18 +0000 (14:21 +0300)]
#11997: merge with 3.1.
Ezio Melotti [Thu, 5 May 2011 11:19:48 +0000 (14:19 +0300)]
#11997: fix typo in init.rst.
R David Murray [Thu, 5 May 2011 01:08:07 +0000 (21:08 -0400)]
Merge #8158: add missing 'description' description to optparse docstring.
R David Murray [Thu, 5 May 2011 01:07:33 +0000 (21:07 -0400)]
Merge #8158: add missing 'description' description to optparse docstring.
R David Murray [Thu, 5 May 2011 01:06:57 +0000 (21:06 -0400)]
#8158: add missing 'description' description to optparse docstring.
Daniel Stutzbach [Wed, 4 May 2011 19:47:14 +0000 (12:47 -0700)]
#11335: Merge from 3.2: Fix memory leak after key function failure in sort
Daniel Stutzbach [Wed, 4 May 2011 19:46:28 +0000 (12:46 -0700)]
#11335: Fix memory leak after key function failure in sort
Antoine Pitrou [Wed, 4 May 2011 18:04:29 +0000 (20:04 +0200)]
Issue #1856: Avoid crashes and lockups when daemon threads run while the
interpreter is shutting down; instead, these threads are now killed when
they try to take the GIL.
Antoine Pitrou [Wed, 4 May 2011 18:02:30 +0000 (20:02 +0200)]
Issue #1856: Avoid crashes and lockups when daemon threads run while the
interpreter is shutting down; instead, these threads are now killed when
they try to take the GIL.
Alexis Metaireau [Wed, 4 May 2011 16:58:00 +0000 (17:58 +0100)]
Add a reference to the PEP 398 for python 3.3 release schedule
Ezio Melotti [Wed, 4 May 2011 15:39:59 +0000 (18:39 +0300)]
#11985: merge with 3.2.
Ezio Melotti [Wed, 4 May 2011 15:39:29 +0000 (18:39 +0300)]
#11985: merge with 3.1.
Ezio Melotti [Wed, 4 May 2011 15:37:50 +0000 (18:37 +0300)]
#11985: update docstring of platform.python_implementation.
Alexander Belopolsky [Wed, 4 May 2011 14:28:26 +0000 (10:28 -0400)]
Mention that timezone is a subclass of tzinfo.
Victor Stinner [Wed, 4 May 2011 11:55:36 +0000 (13:55 +0200)]
Replace open(filename, 'rU') by open(filename, 'r')
The U flag is no more used (but still accepted for backward compatibility).
Victor Stinner [Wed, 4 May 2011 11:20:35 +0000 (13:20 +0200)]
Issue #8407: signal.pthread_sigmask() returns a set instead of a list
Update the doc. Refactor also related tests.
Victor Stinner [Wed, 4 May 2011 10:38:03 +0000 (12:38 +0200)]
Issue #11998, issue #8407: workaround _tkinter issue in test_signal
The _tkinter module loads the Tcl library which creates a thread waiting events
in select(). This thread receives signals blocked by all other threads. We
cannot test blocked signals if the _tkinter module is loaded.
Victor Stinner [Wed, 4 May 2011 09:02:12 +0000 (11:02 +0200)]
regrtest: dump all threads on a crash, not only the current thread
Brian Curtin [Wed, 4 May 2011 02:58:32 +0000 (21:58 -0500)]
Fix #11834. Correct site-packages paths.
Patch by Bryce Verdier.
Brian Curtin [Wed, 4 May 2011 02:57:56 +0000 (21:57 -0500)]
Fix #11834. Correct site-packages paths.
Patch by Bryce Verdier.
Brian Curtin [Wed, 4 May 2011 02:57:00 +0000 (21:57 -0500)]
Fix #11834. Correct site-packages paths.
Patch by Bryce Verdier.
Mark Dickinson [Tue, 3 May 2011 20:13:40 +0000 (21:13 +0100)]
test_math.py: Use correct signs on zeros for expected fmod results.