]> granicus.if.org Git - python/log
python
11 years agoIssue #10197: merge 3.3
Tim Golden [Sun, 3 Nov 2013 14:22:14 +0000 (14:22 +0000)]
Issue #10197: merge 3.3

11 years agoIssue #10197: merge heads
Tim Golden [Sun, 3 Nov 2013 14:21:29 +0000 (14:21 +0000)]
Issue #10197: merge heads

11 years agoIssue #10197: merge heads
Tim Golden [Sun, 3 Nov 2013 14:20:23 +0000 (14:20 +0000)]
Issue #10197: merge heads

11 years agoIssue #10197 Rework subprocess.get[status]output to use subprocess functionality...
Tim Golden [Sun, 3 Nov 2013 12:55:51 +0000 (12:55 +0000)]
Issue #10197 Rework subprocess.get[status]output to use subprocess functionality and thus to work on Windows. Patch by Nick Coghlan.

11 years agoIssue #10197 Rework subprocess.get[status]output to use subprocess functionality...
Tim Golden [Sun, 3 Nov 2013 12:53:17 +0000 (12:53 +0000)]
Issue #10197 Rework subprocess.get[status]output to use subprocess functionality and thus to work on Windows. Patch by Nick Coghlan.

11 years agoIssue #19424: Fix a compiler warning on comparing signed/unsigned size_t
Victor Stinner [Sun, 3 Nov 2013 12:53:12 +0000 (13:53 +0100)]
Issue #19424: Fix a compiler warning on comparing signed/unsigned size_t

Patch written by Zachary Ware.

11 years agoIssue #6157: Fixed tkinter.Text.debug(). tkinter.Text.bbox() now raises
Serhiy Storchaka [Sun, 3 Nov 2013 12:34:25 +0000 (14:34 +0200)]
Issue #6157: Fixed tkinter.Text.debug().  tkinter.Text.bbox() now raises
TypeError instead of TclError on wrong number of arguments.  Original patch
by Guilherme Polo.

11 years agoIssue #6157: Fixed tkinter.Text.debug(). Original patch by Guilherme Polo.
Serhiy Storchaka [Sun, 3 Nov 2013 12:29:35 +0000 (14:29 +0200)]
Issue #6157: Fixed tkinter.Text.debug().  Original patch by Guilherme Polo.

11 years agoIssue #6160: The bbox() method of tkinter.Spinbox now returns a tuple of
Serhiy Storchaka [Sun, 3 Nov 2013 12:15:00 +0000 (14:15 +0200)]
Issue #6160: The bbox() method of tkinter.Spinbox now returns a tuple of
integers instead of a string.  Based on patch by Guilherme Polo.

11 years agoIssue #6160: The bbox() method of tkinter.Spinbox now returns a tuple of
Serhiy Storchaka [Sun, 3 Nov 2013 12:13:34 +0000 (14:13 +0200)]
Issue #6160: The bbox() method of tkinter.Spinbox now returns a tuple of
integers instead of a string.  Based on patch by Guilherme Polo.

11 years agoIssue #19464 Null merge with 3.3
Tim Golden [Sun, 3 Nov 2013 11:59:28 +0000 (11:59 +0000)]
Issue #19464 Null merge with 3.3

11 years agoIssue #19464 Suppress compiler warnings during clean. Patch by Zachary Ware.
Tim Golden [Sun, 3 Nov 2013 11:58:02 +0000 (11:58 +0000)]
Issue #19464 Suppress compiler warnings during clean. Patch by Zachary Ware.

11 years agoClose #19403: make contextlib.redirect_stdout reentrant
Nick Coghlan [Sun, 3 Nov 2013 07:00:51 +0000 (17:00 +1000)]
Close #19403: make contextlib.redirect_stdout reentrant

11 years agoClose #19439: execute embedding tests on Windows
Nick Coghlan [Sun, 3 Nov 2013 06:54:46 +0000 (16:54 +1000)]
Close #19439: execute embedding tests on Windows

Patch by Zachary Ware

11 years agoIssue #4331: Added functools.partialmethod
Nick Coghlan [Sun, 3 Nov 2013 06:41:46 +0000 (16:41 +1000)]
Issue #4331: Added functools.partialmethod

Initial patch by Alon Horev

11 years agoMercurial: ignore precompiled header files on Windows.
Tim Peters [Sat, 2 Nov 2013 18:21:28 +0000 (13:21 -0500)]
Mercurial:  ignore precompiled header files on Windows.

11 years agoMerge.
Richard Oudkerk [Sat, 2 Nov 2013 17:08:01 +0000 (17:08 +0000)]
Merge.

11 years agoIssue #19478: Make choice of semaphore prefix more flexible.
Richard Oudkerk [Sat, 2 Nov 2013 17:05:07 +0000 (17:05 +0000)]
Issue #19478: Make choice of semaphore prefix more flexible.

11 years agoMerge with 3.3 for Issue #19286.
Jason R. Coombs [Sat, 2 Nov 2013 17:04:51 +0000 (13:04 -0400)]
Merge with 3.3 for Issue #19286.

11 years agoMerge with 3.2 for Issue #19286.
Jason R. Coombs [Sat, 2 Nov 2013 17:01:46 +0000 (13:01 -0400)]
Merge with 3.2 for Issue #19286.

11 years agoUpdate NEWS for 265d369ad3b9.
Jason R. Coombs [Sat, 2 Nov 2013 17:00:01 +0000 (13:00 -0400)]
Update NEWS for 265d369ad3b9.

11 years agoNull merge
Serhiy Storchaka [Sat, 2 Nov 2013 16:53:39 +0000 (18:53 +0200)]
Null merge

11 years agoMerge heads
Serhiy Storchaka [Sat, 2 Nov 2013 16:53:19 +0000 (18:53 +0200)]
Merge heads

11 years agoMerge heads
Serhiy Storchaka [Sat, 2 Nov 2013 16:53:06 +0000 (18:53 +0200)]
Merge heads

11 years agoNull merge
Serhiy Storchaka [Sat, 2 Nov 2013 16:51:30 +0000 (18:51 +0200)]
Null merge

11 years agoIssue #19085: Fixed some Tkinter tests on Windows.
Serhiy Storchaka [Sat, 2 Nov 2013 16:50:42 +0000 (18:50 +0200)]
Issue #19085: Fixed some Tkinter tests on Windows.

11 years agoMerge.
Richard Oudkerk [Sat, 2 Nov 2013 16:47:08 +0000 (16:47 +0000)]
Merge.

11 years agoRelax timeout test.
Richard Oudkerk [Sat, 2 Nov 2013 16:46:32 +0000 (16:46 +0000)]
Relax timeout test.

11 years agoRelax test for process return code on Windows.
Richard Oudkerk [Sat, 2 Nov 2013 16:38:58 +0000 (16:38 +0000)]
Relax test for process return code on Windows.

11 years agoMerge test_htmlparser changes from 3.3.
Ezio Melotti [Sat, 2 Nov 2013 15:50:02 +0000 (17:50 +0200)]
Merge test_htmlparser changes from 3.3.

11 years agoUse unittest.main() in test_htmlparser.
Ezio Melotti [Sat, 2 Nov 2013 15:49:08 +0000 (17:49 +0200)]
Use unittest.main() in test_htmlparser.

11 years ago#15114: The html.parser module now raises a DeprecationWarning when the strict argume...
Ezio Melotti [Sat, 2 Nov 2013 15:08:24 +0000 (17:08 +0200)]
#15114: The html.parser module now raises a DeprecationWarning when the strict argument of HTMLParser or the HTMLParser.error method are used.

11 years agoIssue #19286: [distutils] Only match files in build_py.find_data_files.
Jason R. Coombs [Sat, 2 Nov 2013 15:07:35 +0000 (11:07 -0400)]
Issue #19286: [distutils] Only match files in build_py.find_data_files.

11 years agoIssue #19286: Adding test demonstrating the failure when a directory is found in...
Jason R. Coombs [Sat, 2 Nov 2013 15:29:33 +0000 (11:29 -0400)]
Issue #19286: Adding test demonstrating the failure when a directory is found in the package_data globs.

11 years agoIssue #19085. Try to fix tkinter tests on Windows.
Serhiy Storchaka [Sat, 2 Nov 2013 14:41:23 +0000 (16:41 +0200)]
Issue #19085. Try to fix tkinter tests on Windows.

11 years agoIssue #10734: Fix and re-enable test_ttk test_heading_callback.
Serhiy Storchaka [Sat, 2 Nov 2013 08:54:58 +0000 (10:54 +0200)]
Issue #10734: Fix and re-enable test_ttk test_heading_callback.

11 years agoIssue #10734: Fix and re-enable test_ttk test_heading_callback.
Serhiy Storchaka [Sat, 2 Nov 2013 08:54:31 +0000 (10:54 +0200)]
Issue #10734: Fix and re-enable test_ttk test_heading_callback.

11 years agoMerge heads
Serhiy Storchaka [Sat, 2 Nov 2013 08:47:57 +0000 (10:47 +0200)]
Merge heads

11 years agoIssue #19085: Added basic tests for all tkinter widget options.
Serhiy Storchaka [Sat, 2 Nov 2013 08:44:55 +0000 (10:44 +0200)]
Issue #19085: Added basic tests for all tkinter widget options.

11 years agoIssue #19085: Added basic tests for all tkinter widget options.
Serhiy Storchaka [Sat, 2 Nov 2013 08:41:48 +0000 (10:41 +0200)]
Issue #19085: Added basic tests for all tkinter widget options.

11 years agoasyncio: Slight rearrangement of tests for server_hostname=...
Guido van Rossum [Fri, 1 Nov 2013 21:24:28 +0000 (14:24 -0700)]
asyncio: Slight rearrangement of tests for server_hostname=...

11 years agoasyncio: Better-looking errors when ssl module cannot be imported. In part by Arnaud...
Guido van Rossum [Fri, 1 Nov 2013 21:22:30 +0000 (14:22 -0700)]
asyncio: Better-looking errors when ssl module cannot be imported. In part by Arnaud Faure.

11 years agoasyncio: Various style nits.
Guido van Rossum [Fri, 1 Nov 2013 21:20:55 +0000 (14:20 -0700)]
asyncio: Various style nits.

11 years agoasyncio: Log a warning when eof_received() returns true and using ssl.
Guido van Rossum [Fri, 1 Nov 2013 21:19:35 +0000 (14:19 -0700)]
asyncio: Log a warning when eof_received() returns true and using ssl.

11 years agoasyncio: Document EventLoop.close().
Guido van Rossum [Fri, 1 Nov 2013 21:19:04 +0000 (14:19 -0700)]
asyncio: Document EventLoop.close().

11 years agoasyncio: Refactor ssl transport ready loop (Nikolay Kim).
Guido van Rossum [Fri, 1 Nov 2013 21:18:02 +0000 (14:18 -0700)]
asyncio: Refactor ssl transport ready loop (Nikolay Kim).

11 years agoasyncio: Add server_hostname as create_connection() argument, with secure default.
Guido van Rossum [Fri, 1 Nov 2013 21:16:54 +0000 (14:16 -0700)]
asyncio: Add server_hostname as create_connection() argument, with secure default.

11 years agoasyncio: Fold some long lines.
Guido van Rossum [Fri, 1 Nov 2013 21:13:30 +0000 (14:13 -0700)]
asyncio: Fold some long lines.

11 years agoasyncio: Pause accepting whenever accept() returns certain errors. Fixes asyncio...
Guido van Rossum [Fri, 1 Nov 2013 21:12:50 +0000 (14:12 -0700)]
asyncio: Pause accepting whenever accept() returns certain errors. Fixes asyncio issue #78.

11 years agoAbstract out stat calls in importlib for easier experimentation.
Brett Cannon [Fri, 1 Nov 2013 18:04:24 +0000 (14:04 -0400)]
Abstract out stat calls in importlib for easier experimentation.

11 years agoIssue #19410: Put back in special-casing of '' for
Brett Cannon [Fri, 1 Nov 2013 14:37:57 +0000 (10:37 -0400)]
Issue #19410: Put back in special-casing of '' for
importlib.machinery.FileFinder.

While originally moved to stop special-casing '' as PathFinder farther
up the typical call chain now uses the cwd in the instance of '', it
was deemed an unnecessary risk to breaking subclasses of FileFinder to
take the special-casing out.

11 years agoSilence a compiler warning about an unused function
Brett Cannon [Fri, 1 Nov 2013 14:25:13 +0000 (10:25 -0400)]
Silence a compiler warning about an unused function

11 years agoIssue #19464 Suppress compiler warnings during clean. Patch by Zachary Ware.
Tim Golden [Fri, 1 Nov 2013 13:12:17 +0000 (13:12 +0000)]
Issue #19464 Suppress compiler warnings during clean. Patch by Zachary Ware.

11 years agoIssue #19413: Disregard duplicate namespace portions during reload tests.
Eric Snow [Fri, 1 Nov 2013 05:44:31 +0000 (23:44 -0600)]
Issue #19413: Disregard duplicate namespace portions during reload tests.

11 years agoIssue #19413: Restore pre-3.3 reload() semantics of re-finding modules.
Eric Snow [Fri, 1 Nov 2013 04:22:15 +0000 (22:22 -0600)]
Issue #19413: Restore pre-3.3 reload() semantics of re-finding modules.

11 years agoClose #19442: warn_explicit() does nothing when called late during Python shutdown
Victor Stinner [Thu, 31 Oct 2013 23:55:30 +0000 (00:55 +0100)]
Close #19442: warn_explicit() does nothing when called late during Python shutdown

After more tests, I now think that it is the safest option.

11 years agoCloses #19349: Merged fix from 3.3.
Vinay Sajip [Thu, 31 Oct 2013 18:44:48 +0000 (18:44 +0000)]
Closes #19349: Merged fix from 3.3.

11 years agoIssue #19349: Corrected error message.
Vinay Sajip [Thu, 31 Oct 2013 18:44:04 +0000 (18:44 +0000)]
Issue #19349: Corrected error message.

11 years agoClose resources owned by subclass before calling super().close().
Guido van Rossum [Thu, 31 Oct 2013 18:01:40 +0000 (11:01 -0700)]
Close resources owned by subclass before calling super().close().

11 years agoNull merge
Tim Golden [Thu, 31 Oct 2013 17:40:16 +0000 (17:40 +0000)]
Null merge

11 years agoIssue #19418 Fix some warnings on Win64
Tim Golden [Thu, 31 Oct 2013 17:38:24 +0000 (17:38 +0000)]
Issue #19418 Fix some warnings on Win64

11 years agoIssue #19437: Cleanup r_ref() of the marshal module
Victor Stinner [Thu, 31 Oct 2013 16:09:01 +0000 (17:09 +0100)]
Issue #19437: Cleanup r_ref() of the marshal module

11 years agoIssue #19437: Fix r_object() of marshal module, handle PyDict_SetItem() failure
Victor Stinner [Thu, 31 Oct 2013 16:14:52 +0000 (17:14 +0100)]
Issue #19437: Fix r_object() of marshal module, handle PyDict_SetItem() failure
for TYPE_DICT and stop immedialty on first r_object() failure

11 years agoIssue #19437: Fix r_object() of marshal module, handle r_byte() failure for
Victor Stinner [Thu, 31 Oct 2013 16:07:08 +0000 (17:07 +0100)]
Issue #19437: Fix r_object() of marshal module, handle r_byte() failure for
TYPE_SMALL_TUPLE

11 years agoIssue #19437: Fix r_PyLong() of marshal module, stop immediatly at first
Victor Stinner [Thu, 31 Oct 2013 15:56:38 +0000 (16:56 +0100)]
Issue #19437: Fix r_PyLong() of marshal module, stop immediatly at first
failure, don't read any more data

11 years agoIssue #19437: Fix newPySSLSocket(), handle PyWeakref_NewRef() failure
Victor Stinner [Thu, 31 Oct 2013 15:35:38 +0000 (16:35 +0100)]
Issue #19437: Fix newPySSLSocket(), handle PyWeakref_NewRef() failure

11 years agoIssue #19437: Fix PyCFuncPtrType constructor, handle
Victor Stinner [Thu, 31 Oct 2013 15:34:08 +0000 (16:34 +0100)]
Issue #19437: Fix PyCFuncPtrType constructor, handle
_ctypes_alloc_format_string() failure

11 years agoIssue #19437: Fix PyCArrayType constructor, raise MemoryError on PyMem_Malloc()
Victor Stinner [Thu, 31 Oct 2013 15:33:05 +0000 (16:33 +0100)]
Issue #19437: Fix PyCArrayType constructor, raise MemoryError on PyMem_Malloc()
failure

11 years agoIssue #19437: Fix fill_and_set_sslerror() of _ssl, handle Py_BuildValue()
Victor Stinner [Thu, 31 Oct 2013 14:00:24 +0000 (15:00 +0100)]
Issue #19437: Fix fill_and_set_sslerror() of _ssl, handle Py_BuildValue()
failure

Don't call PyObject_CallObject() with NULL parameters and an exception set.

11 years agoIssue #19437: Fix show_warning() of _warnings, stop at the first error to not
Victor Stinner [Thu, 31 Oct 2013 13:51:38 +0000 (14:51 +0100)]
Issue #19437: Fix show_warning() of _warnings, stop at the first error to not
call a Python function with an exception set

11 years agoIssue #19437: Fix get_filter() from _warnings, don't call PyObject_IsSubclass()
Victor Stinner [Thu, 31 Oct 2013 13:46:00 +0000 (14:46 +0100)]
Issue #19437: Fix get_filter() from _warnings, don't call PyObject_IsSubclass()
with an exception set

11 years agoNull merge for issue #19452
Eli Bendersky [Thu, 31 Oct 2013 12:55:31 +0000 (05:55 -0700)]
Null merge for issue #19452

It affects docs of 3.3 in a way that was fixed differently in 3.4

11 years agoIssue #19452: Clarify the documentation of iterparse w.r.t. events argument.
Eli Bendersky [Thu, 31 Oct 2013 12:53:39 +0000 (05:53 -0700)]
Issue #19452: Clarify the documentation of iterparse w.r.t. events argument.

In 3.3 iterparse accepts a tuple in events (the C accelerator enforces this).
This limitation was lifted in Python 3.4

11 years agoIssue #19437: Fix _pickle, don't call _Unpickler_SkipConsumed() with an
Victor Stinner [Thu, 31 Oct 2013 12:39:23 +0000 (13:39 +0100)]
Issue #19437: Fix _pickle, don't call _Unpickler_SkipConsumed() with an
exception set

11 years agocleanup _Unpickler_SkipConsumed(): remove 1 level of indentation
Victor Stinner [Thu, 31 Oct 2013 12:38:42 +0000 (13:38 +0100)]
cleanup _Unpickler_SkipConsumed(): remove 1 level of indentation

11 years agoIssue #19418 Fix some warnings on Win64
Tim Golden [Thu, 31 Oct 2013 10:25:47 +0000 (10:25 +0000)]
Issue #19418 Fix some warnings on Win64

11 years agomerge 3.3
Benjamin Peterson [Thu, 31 Oct 2013 05:21:06 +0000 (01:21 -0400)]
merge 3.3

11 years agomake string literal const
Benjamin Peterson [Thu, 31 Oct 2013 05:20:58 +0000 (01:20 -0400)]
make string literal const

11 years agoMerged documentation update from 3.3.
Vinay Sajip [Thu, 31 Oct 2013 01:11:17 +0000 (01:11 +0000)]
Merged documentation update from 3.3.

11 years agoCorrected some incorrect cross-references.
Vinay Sajip [Thu, 31 Oct 2013 01:10:30 +0000 (01:10 +0000)]
Corrected some incorrect cross-references.

11 years agoasyncio: Add new file (forgotten).
Guido van Rossum [Wed, 30 Oct 2013 21:56:49 +0000 (14:56 -0700)]
asyncio: Add new file (forgotten).

11 years agoasyncio: Add support for running subprocesses on Windows with the IOCP event loop...
Guido van Rossum [Wed, 30 Oct 2013 21:52:03 +0000 (14:52 -0700)]
asyncio: Add support for running subprocesses on Windows with the IOCP event loop (Richard Oudkerk).

11 years agoasyncio: Make the IOCP proactor support "waitable" handles (Richard Oudkerk).
Guido van Rossum [Wed, 30 Oct 2013 21:44:05 +0000 (14:44 -0700)]
asyncio: Make the IOCP proactor support "waitable" handles (Richard Oudkerk).

11 years agoasyncio: Update some comments.
Guido van Rossum [Wed, 30 Oct 2013 21:38:05 +0000 (14:38 -0700)]
asyncio: Update some comments.

11 years agoasyncio: When not closing the connection after receiving EOF, still remove the read...
Guido van Rossum [Wed, 30 Oct 2013 21:36:58 +0000 (14:36 -0700)]
asyncio: When not closing the connection after receiving EOF, still remove the read handler.

11 years agoIssue #19172: Add a get_map() method to selectors.
Charles-François Natali [Wed, 30 Oct 2013 19:31:04 +0000 (20:31 +0100)]
Issue #19172: Add a get_map() method to selectors.

11 years agoIssue #19437: Fix select.epoll.poll(), fix code handling PyMem_New() error
Victor Stinner [Wed, 30 Oct 2013 18:57:52 +0000 (19:57 +0100)]
Issue #19437: Fix select.epoll.poll(), fix code handling PyMem_New() error

The bug was introduced with the select.epoll module! So it's 5 years old :-)

11 years agoIssue #19437: Fix os.statvfs(), handle errors
Victor Stinner [Wed, 30 Oct 2013 17:55:24 +0000 (18:55 +0100)]
Issue #19437: Fix os.statvfs(), handle errors

11 years agoIssue #19424: Fix a compiler warning
Victor Stinner [Wed, 30 Oct 2013 17:27:13 +0000 (18:27 +0100)]
Issue #19424: Fix a compiler warning

memcmp() just takes raw pointers

11 years agomerge 3.3 (#19435)
Benjamin Peterson [Wed, 30 Oct 2013 16:51:16 +0000 (12:51 -0400)]
merge 3.3 (#19435)

11 years agomerge 3.2 (#19435)
Benjamin Peterson [Wed, 30 Oct 2013 16:50:18 +0000 (12:50 -0400)]
merge 3.2 (#19435)

11 years agomerge 3.1 (#19435)
Benjamin Peterson [Wed, 30 Oct 2013 16:48:59 +0000 (12:48 -0400)]
merge 3.1 (#19435)

11 years agouse the collapsed path in the run_cgi method (closes #19435)
Benjamin Peterson [Wed, 30 Oct 2013 16:43:09 +0000 (12:43 -0400)]
use the collapsed path in the run_cgi method (closes #19435)

11 years agomerge 3.3
Benjamin Peterson [Wed, 30 Oct 2013 02:25:55 +0000 (22:25 -0400)]
merge 3.3

11 years agoupdate comment
Benjamin Peterson [Wed, 30 Oct 2013 02:25:06 +0000 (22:25 -0400)]
update comment

11 years agoIssue #19442: Fix warnings emitted during Python shutdown
Victor Stinner [Tue, 29 Oct 2013 23:04:59 +0000 (00:04 +0100)]
Issue #19442: Fix warnings emitted during Python shutdown

Warnings may be emitted during Python shutdown, like "unclosed file XXX".
During shutdown, globals()['__main__'] may be None.

11 years agoIssue #19424: Fix test_warnings for locale encoding unable to encode
Victor Stinner [Tue, 29 Oct 2013 22:58:05 +0000 (23:58 +0100)]
Issue #19424: Fix test_warnings for locale encoding unable to encode
"\xe9\u20ac" characters

11 years agoIssue #19424: Fix the warnings module to accept filename containing surrogate
Victor Stinner [Tue, 29 Oct 2013 22:43:41 +0000 (23:43 +0100)]
Issue #19424: Fix the warnings module to accept filename containing surrogate
characters.

11 years agoIssue #19424: Optimize PyUnicode_CompareWithASCIIString()
Victor Stinner [Tue, 29 Oct 2013 22:31:50 +0000 (23:31 +0100)]
Issue #19424: Optimize PyUnicode_CompareWithASCIIString()

Use fast memcmp() instead of a loop using the slow PyUnicode_READ() macro.
strlen() is still necessary to check Unicode string containing null bytes.

11 years agoIssue #19373: Add Misc/NEWS entry.
Ned Deily [Tue, 29 Oct 2013 22:00:48 +0000 (15:00 -0700)]
Issue #19373: Add Misc/NEWS entry.