Commit graph

33129 commits

Author SHA1 Message Date
Brett Cannon
9ea8eda127 Issue #16803: test.test_importlib.source now tests frozen and source code 2013-11-08 14:25:37 -05:00
Charles-François Natali
3a4586a9f9 Issue #18923: Update subprocess to use the new selectors module. 2013-11-08 19:56:59 +01:00
Brett Cannon
2ce6c44ae4 Simplify test.test_importlib.__main__ 2013-11-08 13:35:34 -05:00
Brett Cannon
330f71b617 Issue #16803: test.test_importlib.import_ now tests frozen and source code 2013-11-08 13:34:59 -05:00
Brett Cannon
a3c6963467 Issue #16803: test.test_importlib.frozen now runs both frozen and source code 2013-11-08 11:10:41 -05:00
Guido van Rossum
d0293596b8 Remove redundant test_selectors.py from test_asyncio. 2013-11-07 09:25:36 -08:00
Ezio Melotti
a5b9599538 #17080: improve error message of float/complex when the wrong type is passed. 2013-11-07 19:18:34 +02:00
Guido van Rossum
d0786a1a50 Optimize BaseSelector.modify(). Patch by Arnaud Faure. 2013-11-07 08:39:28 -08:00
Ezio Melotti
b7038817fe #19480: merge with 3.3. 2013-11-07 18:35:27 +02:00
Ezio Melotti
7165d8b9ba #19480: HTMLParser now accepts all valid start-tag names as defined by the HTML5 standard. 2013-11-07 18:33:24 +02:00
Guido van Rossum
0b69fbc642 asyncio: Add close() back to Unix selector event loop, to remove all signal handlers. Should fix buildbot issues. 2013-11-06 20:25:50 -08:00
Nick Coghlan
95887b7e5b Remove incorrect comment from dis tests 2013-11-06 22:17:39 +10:00
Nick Coghlan
90b8e7d2bc Close #19378: address flaws in the new dis module APIs
- confusing line_offset parameter -> first_line parameter
- systematically test and fix new file parameter
- remove redundant Bytecode.show_info() API
- rename Bytecode.display_code() to Bytecode.dis() and have it
  return the multi-line string rather than printing it directly
- eliminated some not-so-helpful helpers from the bytecode_helper
  test support module

Also fixed a longstanding defect (worked around in the test suite)
where lines emitted by the dis module could include trailing white
space. That no longer happens, allowing the formatting tests to be
simplified to use plain string comparisons.
2013-11-06 22:08:36 +10:00
Serhiy Storchaka
24f125871b Revert wrong change in previous commit (issue #19085). 2013-11-05 22:02:17 +02:00
Serhiy Storchaka
7c934da0ff Revert wrong change in previous commit (issue #19085). 2013-11-05 22:01:46 +02:00
Serhiy Storchaka
96c01686aa Fix test_insertwidth Tkinter tests on Tk 8.5 with patchlevel >= 8.5.12 (issue #19085). 2013-11-05 21:06:05 +02:00
Serhiy Storchaka
8f9f5870d3 Fix test_insertwidth Tkinter tests on Tk 8.5 with patchlevel >= 8.5.12 (issue #19085). 2013-11-05 21:05:10 +02:00
Serhiy Storchaka
17972a746a Fix typo in tkinter tests (issue #19085). 2013-11-05 20:18:17 +02:00
Serhiy Storchaka
98555f3ac7 Fix typo in tkinter tests (issue #19085). 2013-11-05 20:17:50 +02:00
Tim Golden
607981402c Issue #10197 Tweak docs for subprocess.getstatusoutput and align the documentation, the module docstring, and the function docstring. 2013-11-05 12:57:25 +00:00
Terry Jan Reedy
c1bd2fef8b Merge with 3.3 2013-11-04 21:44:17 -05:00
Terry Jan Reedy
5c81164077 Issue #19397: test_pydoc now works with -S (help not added to builtins).
Patch by Serhiy Storchaka and Vajrasky Kok.
2013-11-04 21:43:26 -05:00
Guido van Rossum
0eaa5ac9b5 asyncio: Refactor SIGCHLD handling. By Anthony Baire. 2013-11-04 15:50:46 -08:00
Guido van Rossum
ccea08462b asyncio: Locks improvements by Arnaud Faure: better repr(), change Conditio\
n structure.
2013-11-04 13:18:19 -08:00
Serhiy Storchaka
b58d4a3209 Issue #19085: Fix running test_ttk_textonly on displayless host. 2013-11-04 23:06:51 +02:00
Serhiy Storchaka
2028e01313 Issue #19085: Fix running test_ttk_textonly on displayless host. 2013-11-04 23:05:37 +02:00
Serhiy Storchaka
20acaa7a0a Issue #19085: Fix Tkinter tests on Tk 8.5 with patchlevel < 8.5.12. 2013-11-04 22:11:43 +02:00
Serhiy Storchaka
8d8599ce0c Issue #19085: Fix Tkinter tests on Tk 8.5 with patchlevel < 8.5.12. 2013-11-04 22:11:12 +02:00
Nick Coghlan
3daaf5f89d Fix functools.partialmethod docs and __all__ 2013-11-04 23:32:16 +10:00
Serhiy Storchaka
43767638a9 Issue #18702: All skipped tests now reported as skipped. 2013-11-03 21:31:38 +02:00
Serhiy Storchaka
7908068627 Issue #18702: All skipped tests now reported as skipped. 2013-11-03 21:31:18 +02:00
R David Murray
af734963d1 Merge #19485: clarify get_param example. 2013-11-03 12:23:51 -05:00
R David Murray
0de4d3e3eb #19485: clarify get_param example.
Patch by Vajrasky Kok.
2013-11-03 12:23:23 -05:00
Serhiy Storchaka
9fe43f5ff3 Issue #19085: Fixed pixels rounding for last Tk patchlevels. 2013-11-03 18:25:17 +02:00
Serhiy Storchaka
b2817327b9 Issue #19085: Fixed pixels rounding for last Tk patchlevels. 2013-11-03 18:24:31 +02:00
Tim Golden
eb6392b0cb Issue #10197: merge heads 2013-11-03 14:21:29 +00:00
Tim Golden
49667f09a7 Issue #10197: merge heads 2013-11-03 14:20:23 +00:00
Tim Golden
ab7211f278 Issue #10197 Rework subprocess.get[status]output to use subprocess functionality and thus to work on Windows. Patch by Nick Coghlan. 2013-11-03 12:55:51 +00:00
Tim Golden
e004175c56 Issue #10197 Rework subprocess.get[status]output to use subprocess functionality and thus to work on Windows. Patch by Nick Coghlan. 2013-11-03 12:53:17 +00:00
Serhiy Storchaka
4babb9111f 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.
2013-11-03 14:34:25 +02:00
Serhiy Storchaka
0b9e815d8d Issue #6157: Fixed tkinter.Text.debug(). Original patch by Guilherme Polo. 2013-11-03 14:29:35 +02:00
Serhiy Storchaka
0de5362a40 Issue #6160: The bbox() method of tkinter.Spinbox now returns a tuple of
integers instead of a string.  Based on patch by Guilherme Polo.
2013-11-03 14:15:00 +02:00
Serhiy Storchaka
2849e0dfb7 Issue #6160: The bbox() method of tkinter.Spinbox now returns a tuple of
integers instead of a string.  Based on patch by Guilherme Polo.
2013-11-03 14:13:34 +02:00
Nick Coghlan
8e113b418d Close #19403: make contextlib.redirect_stdout reentrant 2013-11-03 17:00:51 +10:00
Nick Coghlan
4e641df09b Close #19439: execute embedding tests on Windows
Patch by Zachary Ware
2013-11-03 16:54:46 +10:00
Nick Coghlan
f4cb48a72b Issue #4331: Added functools.partialmethod
Initial patch by Alon Horev
2013-11-03 16:41:46 +10:00
Richard Oudkerk
df0b14dad2 Merge. 2013-11-02 17:08:01 +00:00
Richard Oudkerk
e943697750 Issue #19478: Make choice of semaphore prefix more flexible. 2013-11-02 17:05:07 +00:00
Jason R. Coombs
e71fb28519 Merge with 3.3 for Issue #19286. 2013-11-02 13:04:51 -04:00
Jason R. Coombs
ca9242f4f9 Merge with 3.2 for Issue #19286. 2013-11-02 13:01:46 -04:00