Commit Graph

81599 Commits

Author SHA1 Message Date
Serhiy Storchaka 32dfef81a2 Null merge 2013-11-02 18:53:39 +02:00
Serhiy Storchaka c2d1b567b8 Merge heads 2013-11-02 18:53:19 +02:00
Serhiy Storchaka 0aade6258c Merge heads 2013-11-02 18:53:06 +02:00
Serhiy Storchaka 59fe17f2d6 Null merge 2013-11-02 18:51:30 +02:00
Serhiy Storchaka 9788497e4b Issue #19085: Fixed some Tkinter tests on Windows. 2013-11-02 18:50:42 +02:00
Richard Oudkerk af630c5885 Merge. 2013-11-02 16:47:08 +00:00
Richard Oudkerk b8ec1e35a9 Relax timeout test. 2013-11-02 16:46:32 +00:00
Richard Oudkerk 2902b6d17a Relax test for process return code on Windows. 2013-11-02 16:38:58 +00:00
Ezio Melotti 1943c8a112 Merge test_htmlparser changes from 3.3. 2013-11-02 17:50:02 +02:00
Ezio Melotti 5028f4d461 Use unittest.main() in test_htmlparser. 2013-11-02 17:49:08 +02:00
Ezio Melotti 88ebfb129b #15114: The html.parser module now raises a DeprecationWarning when the strict argument of HTMLParser or the HTMLParser.error method are used. 2013-11-02 17:08:24 +02:00
Serhiy Storchaka 28f0beaff6 Issue #19085. Try to fix tkinter tests on Windows. 2013-11-02 16:41:23 +02:00
Serhiy Storchaka bf30c9f01a Issue #10734: Fix and re-enable test_ttk test_heading_callback. 2013-11-02 10:54:58 +02:00
Serhiy Storchaka 007c0477f5 Issue #10734: Fix and re-enable test_ttk test_heading_callback. 2013-11-02 10:54:31 +02:00
Serhiy Storchaka d58972c297 Merge heads 2013-11-02 10:47:57 +02:00
Serhiy Storchaka b2564ce085 Issue #19085: Added basic tests for all tkinter widget options. 2013-11-02 10:44:55 +02:00
Serhiy Storchaka 758c521ea8 Issue #19085: Added basic tests for all tkinter widget options. 2013-11-02 10:41:48 +02:00
Guido van Rossum 05c511f1ca asyncio: Slight rearrangement of tests for server_hostname=... 2013-11-01 14:24:28 -07:00
Guido van Rossum 28dff0d823 asyncio: Better-looking errors when ssl module cannot be imported. In part by Arnaud Faure. 2013-11-01 14:22:30 -07:00
Guido van Rossum a8d630a6e6 asyncio: Various style nits. 2013-11-01 14:20:55 -07:00
Guido van Rossum 3a703921a6 asyncio: Log a warning when eof_received() returns true and using ssl. 2013-11-01 14:19:35 -07:00
Guido van Rossum e3f52ef067 asyncio: Document EventLoop.close(). 2013-11-01 14:19:04 -07:00
Guido van Rossum 2b57016458 asyncio: Refactor ssl transport ready loop (Nikolay Kim). 2013-11-01 14:18:02 -07:00
Guido van Rossum 21c85a7124 asyncio: Add server_hostname as create_connection() argument, with secure default. 2013-11-01 14:16:54 -07:00
Guido van Rossum 2b430b8720 asyncio: Fold some long lines. 2013-11-01 14:13:30 -07:00
Guido van Rossum 3317a13253 asyncio: Pause accepting whenever accept() returns certain errors. Fixes asyncio issue #78. 2013-11-01 14:12:50 -07:00
Brett Cannon 2b8fc303ad Abstract out stat calls in importlib for easier experimentation. 2013-11-01 14:04:24 -04:00
Brett Cannon f6901c8baa 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.
2013-11-01 10:37:57 -04:00
Brett Cannon 2be28a6984 Silence a compiler warning about an unused function 2013-11-01 10:25:13 -04:00
Tim Golden 79f5e1f59a Issue #19464 Suppress compiler warnings during clean. Patch by Zachary Ware. 2013-11-01 13:12:17 +00:00
Eric Snow 4ae17f50ed Issue #19413: Disregard duplicate namespace portions during reload tests. 2013-10-31 23:44:31 -06:00
Eric Snow cdf601281f Issue #19413: Restore pre-3.3 reload() semantics of re-finding modules. 2013-10-31 22:22:15 -06:00
Victor Stinner dcdd05b0b4 Close #19442: warn_explicit() does nothing when called late during Python shutdown
After more tests, I now think that it is the safest option.
2013-11-01 00:55:30 +01:00
Vinay Sajip 6ec518bd8e Closes #19349: Merged fix from 3.3. 2013-10-31 18:44:48 +00:00
Vinay Sajip 0e6c66d48a Issue #19349: Corrected error message. 2013-10-31 18:44:04 +00:00
Guido van Rossum 61a2ced1c5 Close resources owned by subclass before calling super().close(). 2013-10-31 11:01:40 -07:00
Tim Golden 0160b5fae1 Null merge 2013-10-31 17:40:16 +00:00
Tim Golden 6374120750 Issue #19418 Fix some warnings on Win64 2013-10-31 17:38:24 +00:00
Victor Stinner 359fabc19f Issue #19437: Cleanup r_ref() of the marshal module 2013-10-31 17:09:01 +01:00
Victor Stinner d5cae6f143 Issue #19437: Fix r_object() of marshal module, handle PyDict_SetItem() failure
for TYPE_DICT and stop immedialty on first r_object() failure
2013-10-31 17:14:52 +01:00
Victor Stinner b1b7b1834b Issue #19437: Fix r_object() of marshal module, handle r_byte() failure for
TYPE_SMALL_TUPLE
2013-10-31 17:07:08 +01:00
Victor Stinner 763b0d19c9 Issue #19437: Fix r_PyLong() of marshal module, stop immediatly at first
failure, don't read any more data
2013-10-31 16:56:38 +01:00
Victor Stinner a9eb38f02a Issue #19437: Fix newPySSLSocket(), handle PyWeakref_NewRef() failure 2013-10-31 16:35:38 +01:00
Victor Stinner e75996a77c Issue #19437: Fix PyCFuncPtrType constructor, handle
_ctypes_alloc_format_string() failure
2013-10-31 16:34:08 +01:00
Victor Stinner a215002453 Issue #19437: Fix PyCArrayType constructor, raise MemoryError on PyMem_Malloc()
failure
2013-10-31 16:33:05 +01:00
Victor Stinner ba9be477b0 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.
2013-10-31 15:00:24 +01:00
Victor Stinner ae233eab5c Issue #19437: Fix show_warning() of _warnings, stop at the first error to not
call a Python function with an exception set
2013-10-31 14:51:38 +01:00
Victor Stinner 3cd04aa1b2 Issue #19437: Fix get_filter() from _warnings, don't call PyObject_IsSubclass()
with an exception set
2013-10-31 14:46:00 +01:00
Eli Bendersky db49bd6029 Null merge for issue #19452
It affects docs of 3.3 in a way that was fixed differently in 3.4
2013-10-31 05:55:31 -07:00
Eli Bendersky 2915dd7103 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
2013-10-31 05:53:39 -07:00