Commit graph

38069 commits

Author SHA1 Message Date
Victor Stinner
3f7468507a test 2015-09-29 13:47:15 +02:00
Victor Stinner
c3713e9706 Optimize ascii/latin1+surrogateescape encoders
Issue #25227: Optimize ASCII and latin1 encoders with the ``surrogateescape``
error handler: the encoders are now up to 3 times as fast.

Initial patch written by Serhiy Storchaka.
2015-09-29 12:32:13 +02:00
Terry Jan Reedy
5fbeabcbb6 Merge with 3.5, Issue #24028: Add subsection about Idle calltips. 2015-09-29 01:56:54 -04:00
Terry Jan Reedy
e471ab3434 Merge with 3.4, Issue #24028: Add subsection about Idle calltips. 2015-09-29 01:56:35 -04:00
Terry Jan Reedy
37f81355b0 Issue #24028: Add subsection about Idle calltips. 2015-09-29 01:55:57 -04:00
Terry Jan Reedy
e0937ef754 IDLE NEWS. 2015-09-28 23:44:37 -04:00
Terry Jan Reedy
86e971ccb3 IDLE NEWS items. 2015-09-28 23:42:56 -04:00
Terry Jan Reedy
9af7fe76ff Add recent IDLE NEWS items. 2015-09-28 23:38:57 -04:00
Victor Stinner
e143c1f94f Fix test_regrtest.test_tools_buildbot_test()
Issue #25220: Fix test_regrtest.test_tools_buildbot_test() on release build (on
Windows), pass "+d" option to test.bat.
2015-09-29 01:02:37 +02:00
Victor Stinner
6b415101a2 Issue #25220: Add functional tests to test_regrtest
* test all available ways to run the Python test suite
* test many regrtest options: --slow, --coverage, -r, -u,  etc.

Note: python -m test --coverage doesn't work on Windows.
2015-09-28 23:16:17 +02:00
Guido van Rossum
174d059248 Issue #25233: Rewrite the guts of Queue to be more understandable and correct. (Merge 3.5->default.) 2015-09-28 13:35:54 -07:00
Guido van Rossum
d2f184652c Issue #25233: Rewrite the guts of Queue to be more understandable and correct. (Merge 3.4->3.5.) 2015-09-28 07:44:49 -07:00
Guido van Rossum
99f96c5451 Issue #25233: Rewrite the guts of Queue to be more understandable and correct. 2015-09-28 07:42:34 -07:00
Victor Stinner
ff6ee25102 Issue #25122: Remove verbose mode of test_eintr
"./python -m test -W test_eintr" wrote Lib/test/eintrdata/eintr_tester.py
output to stdout which was not expected.

Since test_eintr doesn't hang anymore, remove the verbose mode instead.
2015-09-28 15:04:11 +02:00
Berker Peksag
2cf2aacdcd Issue #25249: Remove unneeded mkstemp helper in test_subprocess
The helper was added in 76641824cf05 11 years ago and it can be
removed now since all supported Python versions have tempfile.mkstemp().

Patch by Nir Soffer.
2015-09-28 13:34:17 +03:00
Berker Peksag
636b83fdc5 Issue #25249: Remove unneeded mkstemp helper in test_subprocess
The helper was added in 76641824cf05 11 years ago and it can be
removed now since all supported Python versions have tempfile.mkstemp().

Patch by Nir Soffer.
2015-09-28 13:33:43 +03:00
Berker Peksag
16a1f28194 Issue #25249: Remove unneeded mkstemp helper in test_subprocess
The helper was added in 76641824cf05 11 years ago and it can be
removed now since all supported Python versions have tempfile.mkstemp().

Patch by Nir Soffer.
2015-09-28 13:33:14 +03:00
Terry Jan Reedy
69158d56a0 Merge with 3.5 2015-09-28 04:53:12 -04:00
Terry Jan Reedy
bcb0c134cb Merge with 3.4 2015-09-28 04:53:01 -04:00
Terry Jan Reedy
d351706950 Issue #24972: New option is only valid in tk 8.5+. 2015-09-28 04:52:49 -04:00
Terry Jan Reedy
3a03a1cb00 Merge with 3.5 2015-09-28 04:16:56 -04:00
Terry Jan Reedy
0b6e6e1591 Merge with 3.4 2015-09-28 04:16:43 -04:00
Terry Jan Reedy
507a5c4b4e Issue #24972: Inactive selection background now matches active selection
background, as selected by user, on all systems.  This also fixes a problem
with found items not highlighted on Windows.  Initial patch by Mark Roseman.
Fix replaces workaround with obscure but proper configuration option.
2015-09-28 04:16:32 -04:00
Terry Jan Reedy
2122b62c2a Backed out changeset: 70c01dd35100 2015-09-27 22:50:54 -04:00
Terry Jan Reedy
7082cbce64 Issue #24972: Inactive selection background now matches active selection
background, as selected by user, on all systems.  This also fixes a problem
with found items not highlighted on Windows.  Initial patch by Mark Roseman.
Fix replaces workaround with obscure but proper configuration option.
2015-09-27 22:46:17 -04:00
Alexander Belopolsky
365ba8f6c1 Closes issue #23600: Wrong results from tzinfo.fromutc(). 2015-09-27 22:32:15 -04:00
Alexander Belopolsky
edc6885b3f Closes issue #23600: Wrong results from tzinfo.fromutc(). 2015-09-27 22:31:45 -04:00
Alexander Belopolsky
d19b5042ff Closes issue #23600: Wrong results from tzinfo.fromutc(). 2015-09-27 21:56:53 -04:00
Alexander Belopolsky
c58c2cb392 Closes issue #23600: Wrong results from tzinfo.fromutc(). 2015-09-27 21:56:09 -04:00
Alexander Belopolsky
c79447b267 Closes issue #23600: Wrong results from tzinfo.fromutc(). 2015-09-27 21:41:55 -04:00
Serhiy Storchaka
ab824222d1 Issue #25011: rlcomplete now omits private and special attribute names unless
the prefix starts with underscores.
2015-09-27 13:43:50 +03:00
Serhiy Storchaka
8ace8e99b3 Issue #25209: rlcomplete now can add a space or a colon after completed keyword. 2015-09-27 13:26:03 +03:00
Victor Stinner
36b3fbb0ee Issue #25220: Fix Lib/test/autotest.py 2015-09-27 11:19:08 +02:00
Terry Jan Reedy
89171f2078 Merge with 3.5 2015-09-27 04:40:34 -04:00
Terry Jan Reedy
6a9cee1510 Merge with 3.4 2015-09-27 04:40:23 -04:00
Terry Jan Reedy
28670d1ffa Issue #25198: When using the Idle dov TOC menu, put the section title at the
top of the window, unless it is too near the bottom to do do.
2015-09-27 04:40:08 -04:00
Terry Jan Reedy
0103af397f Merge with 3.5 2015-09-26 20:04:23 -04:00
Terry Jan Reedy
34a8047672 Merge with 3.4 2015-09-26 20:04:09 -04:00
Terry Jan Reedy
d2134c71a1 Issue #24570: Idle: make calltip and completion boxes appear on Macs
affected by a tk regression.  Initial patch by Mark Roseman.
2015-09-26 20:03:57 -04:00
Terry Jan Reedy
9c2982a25c Merge with 3.5 2015-09-26 18:50:58 -04:00
Terry Jan Reedy
df1fe78acb Merge with 3.4 2015-09-26 18:50:44 -04:00
Terry Jan Reedy
00e4ce3a36 Issue #24988: Idle ScrolledList context menus (used in debugger)
now work on Mac Aqua.  Patch by Mark Roseman.
2015-09-26 18:50:26 -04:00
Victor Stinner
3844fe5ed8 Issue #25220: Move most regrtest.py code to libregrtest 2015-09-26 10:38:01 +02:00
Victor Stinner
98de5340d4 Issue #25220: Create Lib/test/libregrtest/
Start to split regrtest.py into smaller parts with the creation of
Lib/test/libregrtest/cmdline.py: code to handle the command line, especially
parsing command line arguments. This part of the code is tested by
test_regrtest.
2015-09-26 09:43:45 +02:00
Benjamin Peterson
00d4442979 merge 3.5 (#25131) 2015-09-25 22:44:55 -07:00
Benjamin Peterson
58b53953f8 make opening brace of container literals and comprehensions correspond to the line number and col offset of the AST node (closes #25131) 2015-09-25 22:44:43 -07:00
Terry Jan Reedy
9cd90ccaae Merge with 3.5 2015-09-25 22:23:33 -04:00
Terry Jan Reedy
58b07a605d Merge with 3.4 2015-09-25 22:23:19 -04:00
Terry Jan Reedy
3be2e54adc Issue #25173: Replace 'master' with 'parent' in tkinter.messagebox calls.
This associates the message box with the widget and is better for Mac OSX.
Patch by Mark Roseman.
2015-09-25 22:22:55 -04:00
Martin Panter
0931ba2259 Issue #25211: Merge test_long from 3.5 2015-09-26 00:07:54 +00:00