]>
granicus.if.org Git - python/log
Stefan Krah [Wed, 16 Jan 2013 12:00:11 +0000 (13:00 +0100)]
Merge 3.3.
Stefan Krah [Wed, 16 Jan 2013 11:58:59 +0000 (12:58 +0100)]
Issue #16422: Use strings for rounding mode constants for better readability
and pickling compatibility.
Benjamin Peterson [Tue, 15 Jan 2013 21:49:35 +0000 (16:49 -0500)]
merge 3.3 (#7340)
Benjamin Peterson [Tue, 15 Jan 2013 21:49:22 +0000 (16:49 -0500)]
remove warning about tb circular reference (closes #7340)
Philip Jenvey [Tue, 15 Jan 2013 21:24:12 +0000 (13:24 -0800)]
thinko
Vinay Sajip [Tue, 15 Jan 2013 17:57:18 +0000 (17:57 +0000)]
Issue #9501: Merged fix from 3.3.
Vinay Sajip [Tue, 15 Jan 2013 17:56:43 +0000 (17:56 +0000)]
Issue #9501: Merged fix from 3.2.
Vinay Sajip [Tue, 15 Jan 2013 17:55:57 +0000 (17:55 +0000)]
Issue #9501: Improved shutdown handling to deal with module attributes correctly.
Serhiy Storchaka [Tue, 15 Jan 2013 15:59:53 +0000 (17:59 +0200)]
Issue #15861: tkinter now correctly works with lists and tuples containing
strings with whitespaces, backslashes or unbalanced braces.
Serhiy Storchaka [Tue, 15 Jan 2013 15:58:14 +0000 (17:58 +0200)]
Issue #15861: tkinter now correctly works with lists and tuples containing
strings with whitespaces, backslashes or unbalanced braces.
Serhiy Storchaka [Tue, 15 Jan 2013 15:56:08 +0000 (17:56 +0200)]
Issue #15861: tkinter now correctly works with lists and tuples containing
strings with whitespaces, backslashes or unbalanced braces.
Serhiy Storchaka [Tue, 15 Jan 2013 13:34:08 +0000 (15:34 +0200)]
Null merge
Serhiy Storchaka [Tue, 15 Jan 2013 13:33:52 +0000 (15:33 +0200)]
Null merge
Serhiy Storchaka [Tue, 15 Jan 2013 13:33:18 +0000 (15:33 +0200)]
Merge heads
Serhiy Storchaka [Tue, 15 Jan 2013 13:33:09 +0000 (15:33 +0200)]
Merge heads
Serhiy Storchaka [Tue, 15 Jan 2013 13:32:59 +0000 (15:32 +0200)]
Merge heads
Serhiy Storchaka [Tue, 15 Jan 2013 13:30:04 +0000 (15:30 +0200)]
Issue #14850: Now a chamap decoder treates U+FFFE as "undefined mapping"
in any mapping, not only in an unicode string.
Richard Oudkerk [Tue, 15 Jan 2013 13:23:32 +0000 (13:23 +0000)]
Merge
Richard Oudkerk [Tue, 15 Jan 2013 13:22:34 +0000 (13:22 +0000)]
Merge
Richard Oudkerk [Tue, 15 Jan 2013 13:19:24 +0000 (13:19 +0000)]
Issue #10527: Remove dead code
Serhiy Storchaka [Tue, 15 Jan 2013 13:01:20 +0000 (15:01 +0200)]
Issue #14850: Now a chamap decoder treates U+FFFE as "undefined mapping"
in any mapping, not only in an unicode string.
Serhiy Storchaka [Tue, 15 Jan 2013 12:43:21 +0000 (14:43 +0200)]
Issue #14850: Now a chamap decoder treates U+FFFE as "undefined mapping"
in any mapping, not only in an unicode string.
Serhiy Storchaka [Tue, 15 Jan 2013 11:32:41 +0000 (13:32 +0200)]
Check for NULL before the pointer aligning in fastsearch_memchr_1char.
There is no guarantee that NULL is aligned.
Serhiy Storchaka [Tue, 15 Jan 2013 11:27:28 +0000 (13:27 +0200)]
Check for NULL before the pointer aligning in fastsearch_memchr_1char.
There is no guarantee that NULL is aligned.
Serhiy Storchaka [Tue, 15 Jan 2013 09:08:30 +0000 (11:08 +0200)]
Fix test_socket broken in previous commit (changeset
13e2e44db99d ).
Added new checks for socket.setblocking().
Richard Oudkerk [Tue, 15 Jan 2013 01:06:53 +0000 (01:06 +0000)]
Merge
Richard Oudkerk [Tue, 15 Jan 2013 01:04:03 +0000 (01:04 +0000)]
Dummy merge
Richard Oudkerk [Tue, 15 Jan 2013 01:01:01 +0000 (01:01 +0000)]
Issue #10527: Use poll() instead of select() for multiprocessing pipes
Serhiy Storchaka [Mon, 14 Jan 2013 23:12:17 +0000 (01:12 +0200)]
Issue #15989: Fix several occurrences of integer overflow
when result of PyLong_AsLong() narrowed to int without checks.
Serhiy Storchaka [Mon, 14 Jan 2013 22:41:43 +0000 (00:41 +0200)]
Issue #9720: zipfile now writes correct local headers for files larger than 4 GiB.
Serhiy Storchaka [Mon, 14 Jan 2013 22:38:17 +0000 (00:38 +0200)]
Issue #9720: zipfile now writes correct local headers for files larger than 4 GiB.
Serhiy Storchaka [Mon, 14 Jan 2013 22:31:39 +0000 (00:31 +0200)]
Issue #9720: zipfile now writes correct local headers for files larger than 4 GiB.
Serhiy Storchaka [Mon, 14 Jan 2013 22:11:19 +0000 (00:11 +0200)]
Null merge
Andrew Svetlov [Mon, 14 Jan 2013 17:27:36 +0000 (19:27 +0200)]
Issue #5066: Update IDLE docs
Patch by Todd Rovito
Giampaolo Rodola' [Mon, 14 Jan 2013 01:24:25 +0000 (02:24 +0100)]
fix for previous commit related to issue 10527 which didn't have the intended effect as per http://bugs.python.org/issue10527#msg179895
Giampaolo Rodola' [Mon, 14 Jan 2013 01:24:05 +0000 (02:24 +0100)]
fix for previous commit related to issue 10527 which didn't have the intended effect as per http://bugs.python.org/issue10527#msg179895
Richard Oudkerk [Sun, 13 Jan 2013 22:52:13 +0000 (22:52 +0000)]
Issue #16955: Fix the poll() method for multiprocessing's socket
connections on Windows.
Richard Oudkerk [Sun, 13 Jan 2013 22:46:48 +0000 (22:46 +0000)]
Issue #16955: Fix the poll() method for multiprocessing's socket
connections on Windows.
Serhiy Storchaka [Sun, 13 Jan 2013 20:24:27 +0000 (22:24 +0200)]
Cleanup the docs ElementTree a bit.
Serhiy Storchaka [Sun, 13 Jan 2013 20:04:43 +0000 (22:04 +0200)]
Describe the default_namespace parameter of ElemetTree.write.
Serhiy Storchaka [Sun, 13 Jan 2013 19:58:04 +0000 (21:58 +0200)]
Describe the default_namespace parameter of ElemetTree.write.
Eli Bendersky [Sun, 13 Jan 2013 14:27:51 +0000 (06:27 -0800)]
Cleanup the docs ElementTree a bit and describe the default_namespace parameter. In the code, replace the old outdated Doxygen-ish comment above ElementTree.write by a proper docstring.
Eli Bendersky [Sun, 13 Jan 2013 14:05:34 +0000 (06:05 -0800)]
Add Ariel to Misc/ACKS
Eli Bendersky [Sun, 13 Jan 2013 14:04:43 +0000 (06:04 -0800)]
Close #14377: Add a new parameter to ElementTree.write and some module-level
serialization functions - short_empty_elements. It controls how elements
without contents are emitted.
Patch by Serhiy Storchaka. Feature initially proposed by Ariel Poliak.
Eli Bendersky [Sun, 13 Jan 2013 13:26:31 +0000 (05:26 -0800)]
Issue #16922: fixed findtext() to return empty Unicode string instead of empty bytes object when there's no text.
Patch by Serhiy Storchaka.
Eli Bendersky [Sun, 13 Jan 2013 13:26:07 +0000 (05:26 -0800)]
Issue #16922: fixed findtext() to return empty Unicode string instead of empty bytes object when there's no text.
Patch by Serhiy Storchaka.
Eli Bendersky [Sun, 13 Jan 2013 13:25:17 +0000 (05:25 -0800)]
Merge 3.2 and revert changes since the changes in 3.3 are a bit different
Eli Bendersky [Sun, 13 Jan 2013 13:22:05 +0000 (05:22 -0800)]
Issue #16922: fixed findtext() to return empty Unicode string instead of empty bytes object when there's no text.
Patch by Serhiy Storchaka.
Eli Bendersky [Sun, 13 Jan 2013 13:17:52 +0000 (05:17 -0800)]
null merge
Eli Bendersky [Sun, 13 Jan 2013 13:17:19 +0000 (05:17 -0800)]
merge heads
Eli Bendersky [Sun, 13 Jan 2013 13:16:36 +0000 (05:16 -0800)]
merge heads
Eli Bendersky [Sun, 13 Jan 2013 13:15:52 +0000 (05:15 -0800)]
Clean trailing whitespace in _elementtree.c
Eli Bendersky [Sun, 13 Jan 2013 13:14:47 +0000 (05:14 -0800)]
Clean trailing whitespace in _elementtree.c
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.