]>
granicus.if.org Git - python/log
Charles-François Natali [Sun, 13 Jan 2013 13:13:25 +0000 (14:13 +0100)]
Fix test_posix failure on NetBSD buildbots: sched_setparam() and
sched_setscheduler() can fail with EINVAL if the process scheduling policy is
neither SCHED_FIFO nor SCHED_RR.
Charles-François Natali [Sun, 13 Jan 2013 13:12:35 +0000 (14:12 +0100)]
test_asyncore: wait explicitly for a thread termination (this dangling thread
could be the cause of a random failure).
Charles-François Natali [Sun, 13 Jan 2013 13:10:37 +0000 (14:10 +0100)]
Fix test_posix failure on NetBSD buildbots: sched_setparam() and
sched_setscheduler() can fail with EINVAL if the process scheduling policy is
neither SCHED_FIFO nor SCHED_RR.
Charles-François Natali [Sun, 13 Jan 2013 13:08:01 +0000 (14:08 +0100)]
test_asyncore: wait explicitly for a thread termination (this dangling thread
could be the cause of a random failure).
Charles-François Natali [Sun, 13 Jan 2013 12:56:52 +0000 (13:56 +0100)]
test_asyncore: wait explicitly for a thread termination (this dangling thread
could be the cause of a random failure).
Benjamin Peterson [Sun, 13 Jan 2013 02:22:33 +0000 (21:22 -0500)]
merge 3.3
Benjamin Peterson [Sun, 13 Jan 2013 02:22:18 +0000 (21:22 -0500)]
make deque_clear void, since it's infallible
Eli Bendersky [Sat, 12 Jan 2013 22:02:29 +0000 (14:02 -0800)]
fix versionadded to 3.4
Antoine Pitrou [Sat, 12 Jan 2013 21:00:54 +0000 (22:00 +0100)]
In test_ssl, threaded tests shouldn't need the network resource to be enabled
Antoine Pitrou [Sat, 12 Jan 2013 21:00:09 +0000 (22:00 +0100)]
In test_ssl, threaded tests shouldn't need the "network" resource to be enabled
Antoine Pitrou [Sat, 12 Jan 2013 20:56:56 +0000 (21:56 +0100)]
Issue #16923: Fix ResourceWarnings in test_ssl.
Antoine Pitrou [Sat, 12 Jan 2013 20:54:44 +0000 (21:54 +0100)]
Issue #16923: Fix ResourceWarnings in test_ssl.
Antoine Pitrou [Sat, 12 Jan 2013 20:44:33 +0000 (21:44 +0100)]
SSLContext.load_dh_params() now properly closes the input file.
Antoine Pitrou [Sat, 12 Jan 2013 20:43:45 +0000 (21:43 +0100)]
SSLContext.load_dh_params() now properly closes the input file.
R David Murray [Sat, 12 Jan 2013 16:34:38 +0000 (11:34 -0500)]
#16259: delete some no-longer-used code from regrtest.
dash_R is only called from one location, and from that location
an indirect_test is passed.
Serhiy Storchaka [Sat, 12 Jan 2013 16:17:24 +0000 (18:17 +0200)]
Issue #16829: IDLE printing no longer fails if there are spaces or other
special characters in the file path.
Serhiy Storchaka [Sat, 12 Jan 2013 16:16:18 +0000 (18:16 +0200)]
Issue #16829: IDLE printing no longer fails if there are spaces or other
special characters in the file path.
Serhiy Storchaka [Sat, 12 Jan 2013 16:13:24 +0000 (18:13 +0200)]
Issue #16829: IDLE printing no longer fails if there are spaces or other
special characters in the file path.
Charles-François Natali [Sat, 12 Jan 2013 15:55:31 +0000 (16:55 +0100)]
Issue #16762: Fix some test_subprocess failures on NetBSD and OpenBSD: kill()
returns ESRCH for a zombie process, which is not POSIX-compliant.
Charles-François Natali [Sat, 12 Jan 2013 15:54:45 +0000 (16:54 +0100)]
Issue #16762: Fix some test_subprocess failures on NetBSD and OpenBSD: kill()
returns ESRCH for a zombie process, which is not POSIX-compliant.
Charles-François Natali [Sat, 12 Jan 2013 15:52:20 +0000 (16:52 +0100)]
Issue #16762: Fix some test_subprocess failures on NetBSD and OpenBSD: kill()
returns ESRCH for a zombie process, which is not POSIX-compliant.
Eli Bendersky [Sat, 12 Jan 2013 15:44:47 +0000 (07:44 -0800)]
clean trailing whitespace
Eli Bendersky [Sat, 12 Jan 2013 15:44:32 +0000 (07:44 -0800)]
clean trailing whitespace
Eli Bendersky [Sat, 12 Jan 2013 15:43:35 +0000 (07:43 -0800)]
Issues #15083 and #16992: port find.* method tests to unittest
Eli Bendersky [Sat, 12 Jan 2013 15:42:46 +0000 (07:42 -0800)]
Issues #15083 and #16992: port find.* method tests to unittest
Eli Bendersky [Sat, 12 Jan 2013 14:13:32 +0000 (06:13 -0800)]
Close #15442: Expand the list of default directories ignored by filecmp.dircmp and expose it as a module attribute
Eli Bendersky [Sat, 12 Jan 2013 13:43:08 +0000 (05:43 -0800)]
Issue #16076: check for return value of PyTuple_New for args (following
Coverity report) and cleanup code.
Eli Bendersky [Sat, 12 Jan 2013 13:42:38 +0000 (05:42 -0800)]
Issue #16076: check for return value of PyTuple_New for args (following
Coverity report) and cleanup code.
Eli Bendersky [Sat, 12 Jan 2013 13:21:06 +0000 (05:21 -0800)]
Close #16076: fix refleak in pickling of Element.
Thanks to Ezio Melotti and Daniel Shahaf for the patch.
Eli Bendersky [Sat, 12 Jan 2013 13:20:16 +0000 (05:20 -0800)]
Issue #16076: fix refleak in pickling of Element.
Thanks to Ezio Melotti and Daniel Shahaf for the patch.
Charles-François Natali [Sat, 12 Jan 2013 11:31:00 +0000 (12:31 +0100)]
Issue #16876: Revert
be8e6b81284e , which wasn't thread-safe: wait until a
solution is found for poll().
Ezio Melotti [Sat, 12 Jan 2013 08:40:49 +0000 (10:40 +0200)]
#16940: merge with 3.3.
Ezio Melotti [Sat, 12 Jan 2013 08:40:24 +0000 (10:40 +0200)]
#16940: merge with 3.2.
Ezio Melotti [Sat, 12 Jan 2013 08:39:45 +0000 (10:39 +0200)]
#16940: fix indentation in example.
Raymond Hettinger [Sat, 12 Jan 2013 06:29:50 +0000 (22:29 -0800)]
Issue #16398: Optimize deque.rotate()
Chris Jerdonek [Sat, 12 Jan 2013 03:29:43 +0000 (19:29 -0800)]
Issue #16933 (merge from 3.3): Improve choices examples in argparse docs.
Chris Jerdonek [Sat, 12 Jan 2013 03:28:05 +0000 (19:28 -0800)]
Issue #16933 (merge from 3.2): Improve choices examples in argparse docs.
Chris Jerdonek [Sat, 12 Jan 2013 03:26:44 +0000 (19:26 -0800)]
Issue #16933 (2.7 forward-port): Improve choices examples in argparse docs.
Vinay Sajip [Fri, 11 Jan 2013 23:39:53 +0000 (23:39 +0000)]
Closes #16613: Added optional mapping argument to ChainMap.new_child.
Brett Cannon [Fri, 11 Jan 2013 23:09:25 +0000 (18:09 -0500)]
Issue #15031: Refactor some code in importlib pertaining to validating
and compiling bytecode.
Thanks to Ronan Lamy for pointing the redundancy and taking an initial
stab at the refactor (as did Nick Coghlan).
Brett Cannon [Fri, 11 Jan 2013 20:44:57 +0000 (15:44 -0500)]
merge
Brett Cannon [Fri, 11 Jan 2013 20:44:00 +0000 (15:44 -0500)]
merge
Brett Cannon [Fri, 11 Jan 2013 20:43:34 +0000 (15:43 -0500)]
merge
Brett Cannon [Fri, 11 Jan 2013 20:42:30 +0000 (15:42 -0500)]
Merge from 3.3 for fix for issue #16730
Brett Cannon [Fri, 11 Jan 2013 20:40:12 +0000 (15:40 -0500)]
Issue #16730: Don't raise an exception in
importlib.machinery.FileFinder when the directory has become
unreadable or a file. This brings semantics in line with Python 3.2
import.
Reported and diagnosed by David Pritchard.
Serhiy Storchaka [Fri, 11 Jan 2013 20:21:45 +0000 (22:21 +0200)]
Issue #15539: Fix a backup file creation in pindent.py on Windows.
Serhiy Storchaka [Fri, 11 Jan 2013 20:19:07 +0000 (22:19 +0200)]
Issue #15539: Fix a backup file creation in pindent.py on Windows.
Serhiy Storchaka [Fri, 11 Jan 2013 20:18:17 +0000 (22:18 +0200)]
Issue #15539: Fix a backup file creation in pindent.py on Windows.
Georg Brandl [Fri, 11 Jan 2013 19:26:54 +0000 (20:26 +0100)]
merge with 3.3
Georg Brandl [Fri, 11 Jan 2013 19:25:54 +0000 (20:25 +0100)]
Closes #16936: fix duplicate/ambiguous description of stat.S_IFMT in the docs.
Brett Cannon [Fri, 11 Jan 2013 16:17:53 +0000 (11:17 -0500)]
Issue #3583: mention that testing whether a bad address not triggering
an OSError can mean a bad DNS server and not an actual bug.
Tim Golden [Fri, 11 Jan 2013 13:28:31 +0000 (13:28 +0000)]
#16921 Since Win9x is no longer supported, CREATE_NEW_CONSOLE is
no longer implied by shell=True
Ezio Melotti [Fri, 11 Jan 2013 12:12:42 +0000 (14:12 +0200)]
Merge patchcheck changes with 3.3
Ezio Melotti [Fri, 11 Jan 2013 12:12:20 +0000 (14:12 +0200)]
Merge patchcheck changes with 3.2
Ezio Melotti [Fri, 11 Jan 2013 12:07:47 +0000 (14:07 +0200)]
Add a note about checking refleaks to patchcheck.
Serhiy Storchaka [Fri, 11 Jan 2013 10:34:48 +0000 (12:34 +0200)]
Null merge
Serhiy Storchaka [Fri, 11 Jan 2013 10:34:21 +0000 (12:34 +0200)]
Null merge
Serhiy Storchaka [Fri, 11 Jan 2013 10:33:10 +0000 (12:33 +0200)]
Merge heads
Serhiy Storchaka [Fri, 11 Jan 2013 10:32:37 +0000 (12:32 +0200)]
Merge heads
Serhiy Storchaka [Fri, 11 Jan 2013 10:28:53 +0000 (12:28 +0200)]
Merge heads
Serhiy Storchaka [Fri, 11 Jan 2013 10:12:32 +0000 (12:12 +0200)]
Issue #15539: Fix a number of bugs in Tools/scripts/pindent.py.
Now pindent.py works with a "with" statement. pindent.py no longer produces
improper indentation. pindent.py now works with continued lines broken after
"class" or "def" keywords and with continuations at the start of line. Added
regression tests for pindent.py. Modernized pindent.py.
Serhiy Storchaka [Fri, 11 Jan 2013 10:10:57 +0000 (12:10 +0200)]
Issue #15539: Fix a number of bugs in Tools/scripts/pindent.py.
Now pindent.py works with a "with" statement. pindent.py no longer produces
improper indentation. pindent.py now works with continued lines broken after
"class" or "def" keywords and with continuations at the start of line. Added
regression tests for pindent.py. Modernized pindent.py.
Serhiy Storchaka [Fri, 11 Jan 2013 10:04:23 +0000 (12:04 +0200)]
Issue #15539: Fix a number of bugs in Tools/scripts/pindent.py.
Now pindent.py works with a "with" statement. pindent.py no longer produces
improper indentation. pindent.py now works with continued lines broken after
"class" or "def" keywords and with continuations at the start of line. Added
regression tests for pindent.py. Modernized pindent.py.
Sandro Tosi [Fri, 11 Jan 2013 09:49:43 +0000 (10:49 +0100)]
merge with 3.3
Sandro Tosi [Fri, 11 Jan 2013 09:49:28 +0000 (10:49 +0100)]
merge with 3.2
Sandro Tosi [Fri, 11 Jan 2013 09:49:00 +0000 (10:49 +0100)]
grammatical fix; thanks to Alex Rudnick from docs@
Ezio Melotti [Fri, 11 Jan 2013 07:12:49 +0000 (09:12 +0200)]
#16154: merge with 3.3.
Ezio Melotti [Fri, 11 Jan 2013 07:12:28 +0000 (09:12 +0200)]
#16154: merge with 3.2.
Ezio Melotti [Fri, 11 Jan 2013 07:09:07 +0000 (09:09 +0200)]
#16154: fix some doctests in Doc/library. Patch by Ravi Sinha.
Chris Jerdonek [Fri, 11 Jan 2013 07:04:44 +0000 (23:04 -0800)]
Issue #16874 (merge from 3.3): fix some documentation formatting.
Chris Jerdonek [Fri, 11 Jan 2013 07:03:42 +0000 (23:03 -0800)]
Issue #16874 (merge from 3.2): fix some documentation formatting.
Chris Jerdonek [Fri, 11 Jan 2013 07:01:27 +0000 (23:01 -0800)]
Issue #16874 (forward-port from 2.7): fix some documentation formatting.
Ezio Melotti [Fri, 11 Jan 2013 06:44:25 +0000 (08:44 +0200)]
#13899: merge with 3.3.
Ezio Melotti [Fri, 11 Jan 2013 06:43:53 +0000 (08:43 +0200)]
#13899: merge with 3.2.
Ezio Melotti [Fri, 11 Jan 2013 06:32:01 +0000 (08:32 +0200)]
#13899: \A, \Z, and \B now correctly match the A, Z, and B literals when used inside character classes (e.g. [A]). Patch by Matthew Barnett.
Ezio Melotti [Fri, 11 Jan 2013 04:32:06 +0000 (06:32 +0200)]
#16925: merge with 3.3.
Ezio Melotti [Fri, 11 Jan 2013 04:30:57 +0000 (06:30 +0200)]
#16925: test_configparser now works with unittest test discovery. Patch by Zachary Ware.
Ezio Melotti [Fri, 11 Jan 2013 04:05:51 +0000 (06:05 +0200)]
#16918: merge with 3.3.
Ezio Melotti [Fri, 11 Jan 2013 04:02:07 +0000 (06:02 +0200)]
#16918: test_codecs now works with unittest test discovery. Patch by Zachary Ware.
Ezio Melotti [Fri, 11 Jan 2013 03:57:58 +0000 (05:57 +0200)]
Merge fix for broken/disabled test.
Ezio Melotti [Fri, 11 Jan 2013 03:54:57 +0000 (05:54 +0200)]
Enable a broken test and fix it.
Ezio Melotti [Fri, 11 Jan 2013 03:20:01 +0000 (05:20 +0200)]
#16919: merge with 3.3.
Ezio Melotti [Fri, 11 Jan 2013 03:18:45 +0000 (05:18 +0200)]
#16919: test_crypt now works with unittest test discovery. Patch by Zachary Ware.
R David Murray [Fri, 11 Jan 2013 01:20:19 +0000 (20:20 -0500)]
merge #13934: document sqlite version strings, use correct one in test.
R David Murray [Fri, 11 Jan 2013 01:19:35 +0000 (20:19 -0500)]
merge #13934: document sqlite version strings, use correct one in test.
R David Murray [Fri, 11 Jan 2013 01:18:21 +0000 (20:18 -0500)]
#13934: document sqlite version strings, use correct one in test.
Benjamin Peterson [Thu, 10 Jan 2013 20:16:42 +0000 (14:16 -0600)]
merge 3.3 (#16900)
Benjamin Peterson [Thu, 10 Jan 2013 20:16:20 +0000 (14:16 -0600)]
remove __del__ because it's evil and also prevents the ResourceWarning on the socket from happening (closes #16900)
R David Murray [Thu, 10 Jan 2013 16:15:57 +0000 (11:15 -0500)]
merge #15545: fix sqlite3.iterdump regression on unsortable row_factory objects.
The fix for issue 9750 introduced a regression by sorting the row objects
returned by fetchall. But if a row_factory such as sqlite3.Row is used, the
rows may not be sortable (in Python3), which leads to an exception. The
sorting is still a nice idea, so the patch moves the sort into the sql.
Fix and test by Peter Otten.
R David Murray [Thu, 10 Jan 2013 16:13:34 +0000 (11:13 -0500)]
merge #15545: fix sqlite3.iterdump regression on unsortable row_factory objects.
The fix for issue 9750 introduced a regression by sorting the row objects
returned by fetchall. But if a row_factory such as sqlite3.Row is used, the
rows may not be sortable (in Python3), which leads to an exception. The
sorting is still a nice idea, so the patch moves the sort into the sql.
Fix and test by Peter Otten.
R David Murray [Thu, 10 Jan 2013 16:04:09 +0000 (11:04 -0500)]
#15545: fix sqlite3.iterdump regression on unsortable row_factory objects.
The fix for issue 9750 introduced a regression by sorting the row objects
returned by fetchall. But if a row_factory such as sqlite3.Row is used, the
rows may not be sortable (in Python3), which leads to an exception. The
sorting is still a nice idea, so the patch moves the sort into the sql.
Fix and test by Peter Otten.
Eli Bendersky [Thu, 10 Jan 2013 14:36:07 +0000 (06:36 -0800)]
Merge 3.3
Eli Bendersky [Thu, 10 Jan 2013 14:35:18 +0000 (06:35 -0800)]
Update Misc/NEWS for issue #16076
Eli Bendersky [Thu, 10 Jan 2013 14:31:05 +0000 (06:31 -0800)]
Issue #16913: Fix Element.itertext()'s handling of text with XML entities.
Patch by Serhiy Storchaka
Eli Bendersky [Thu, 10 Jan 2013 14:27:53 +0000 (06:27 -0800)]
Issue #16913: Fix Element.itertext()'s handling of text with XML entities.
Patch by Serhiy Storchaka
Eli Bendersky [Thu, 10 Jan 2013 14:07:14 +0000 (06:07 -0800)]
normalize whitespace
Eli Bendersky [Thu, 10 Jan 2013 14:07:00 +0000 (06:07 -0800)]
normalize whitespace
Eli Bendersky [Thu, 10 Jan 2013 14:06:01 +0000 (06:06 -0800)]
Issue #16076: make _elementtree.Element pickle-able in a way that is compatible
with the Python version of the class.
Patch by Daniel Shahaf.
Eli Bendersky [Thu, 10 Jan 2013 14:01:06 +0000 (06:01 -0800)]
Issue #16076: make _elementtree.Element pickle-able in a way that is compatible
with the Python version of the class.
Patch by Daniel Shahaf.
Ezio Melotti [Thu, 10 Jan 2013 05:46:29 +0000 (07:46 +0200)]
#16910: merge with 3.3.